Hi Mariano > No. I ALWAYS have the error "option type out of range" (translated from > spanish to english). The problem seems to be: > > -2719: Option type out of range > > ODBC Error. A function was called with an invalid value for the argument > fOption (e.g. the functions SQLSetConnectOption() or SQLTransact()). > > The problem is odbc_odbx_bind, where you do: > > gen->err = SQLSetConnectAttr( gen->conn, SQL_DEFAULT_TXN_ISOLATION, > (SQLPOINTER) SQL_TXN_READ_COMMITTED, SQL_IS_UINTEGER ); > if( !SQL_SUCCEEDED( gen->err ) ) > { > return -ODBX_ERR_BACKEND; > }
I've tested myself and got the same error with MinGW odbc.dll. The problem is that it doesn't seem to support the "read commited" isolation level. Furthermore, it doesn't seem to support another option as well. I have to do some investigations to see how we can work around this. Thanks for your excellent debugging :-) Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ libopendbx-devel mailing list libopendbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX