-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Description
Hi,
when using the odbc driver with an Oracle database my program crashed with an exception ("Type 3 not supported").
I could fix this by adding a case to the switch statement in line: 922 of file drivers/odbcddbc.d:
case SQL_DECIMAL: return readValue!(char[]);I'm not experienced with SQL (i want to use ddbc for a sql course at my university) so maybe i miss some subtle issue with this.
It also works to convert it to double like this,
case SQL_DECIMAL: return readValue!double;but in my case the decimal type is used to store user IDs and converting to a floating point type would make no sense...
Reactions are currently unavailable