[unixODBC-support] Can't initialize SQL_OV_ODBC3_80 version.

Frank A. U. fau at email.com
Thu Aug 1 20:50:26 BST 2013


The version is:

odbcinst -j
unixODBC 2.3.1
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
FILE DATA SOURCES..: /etc/ODBCDataSources
USER DATA SOURCES..: /home/fau/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8

 
On Thu, 2013-08-01 at 20:38 +0100, Nick Gorham wrote:
> On 01/08/13 19:11, Frank A. U. wrote:
> > Hello,
> >
> > I'm trying to initialize the ODBC-3.8 version.
> >
> > I get an environment handle successfully:
> > [ODBC][1882][1375380557.851563][__handles.c][460]
> > 		Exit:[SQL_SUCCESS]
> > 			Environment = 0x7fffec000a00
> >
> > Setting the version fails:
> > [ODBC][1882][1375380559.541307][SQLSetEnvAttr.c][189]
> > 		Entry:
> > 			Environment = 0x7fffec000a00
> > 			Attribute = SQL_ATTR_ODBC_VERSION
> > 			Value = 0x17c
> > 			StrLen = 0
> > [ODBC][1882][1375380559.541408][SQLSetEnvAttr.c][256]Error: HY024
> >
> > I can initialize the ODBC-3.0 version though.  Any idea what I might be
> > doing wrong?
> >
> > Regards,
> > Frank
> 
> Will try and reproduce.
> 
> What version are you using?
> 




More information about the unixODBC-support mailing list