List:Bugs« Previous MessageNext Message »
From:Michael Widenius Date:November 16 2000 2:59pm
Subject:Re: user-defined integer function doesn't work via myodbc
View as plain text  
Hi!

>>>>> "Peter" == Peter Duffy <peter@stripped> writes:

Peter> Hi Monty,
Peter> Thanks very much for clarifying this: I thought it looked like a type
Peter> incompatibility/overflow problem.

Peter> Do you happen to know if there are any other ODBC managers for Linux
Peter> other than libiodbc, which might conceivably support 64-bit integers?

Sorry no;

On the other hand, it should be almost trivial to add support for
SQL_BIGINT to libiodbc;  If you know a little C, you should be able to
do that within one hour or so (you need to add a new define SQL_C_LONGLONG)

Another option is to add 16384 to the OPTIONS flag in the ~/.odbc.ini
file.  In this case MyODBC will return SQL_INTEGER instead of
SQL_BIGINT for longlong fields.

Regards,
Monty


Thread
user-defined integer function doesn't work via myodbcPeter Duffy14 Nov
  • Re: user-defined integer function doesn't work via myodbcPeter Duffy15 Nov
  • user-defined integer function doesn't work via myodbcMichael Widenius16 Nov
  • Re: user-defined integer function doesn't work via myodbcPeter Duffy16 Nov
    • Re: user-defined integer function doesn't work via myodbcMichael Widenius16 Nov