On Thu, Oct 15, 2009 at 5:03 PM, Norbert Sendetzky <norb...@linuxnetworks.de
> wrote:

> 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.


I don't think it is a MinGW odbc.dll problem. I tested in a clean PC without
MinGW (just the opendbx dlls) and same results. I just tried to connect to a
SQL Server database using the odbc driver that comes with Windows, and I got
the same results.


> 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
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to