ODBC in CVS head: SQL_DATETIME?
vorlon at netexpress.net
Sat Nov 24 14:30:36 EST 2001
As of revision 1.2 of src/odbc/odbc.c (which includes a changelog entry
reading 'fixed SQL_DATE things in ODBC'), this file contains a reference
to a SQL_DATETIME constant. However, I've been unable to locate this
macro in either the iODBC headers or the unixodbc 2.0.8 headers, and its
abence naturally causes compilation of the ODBC driver to fail. I have
found one reference to SQL_DATETIME in the unixodbc 2.0.11 headers, so
compilation against unixodbc is possible. But how should this be
handled so that people who only have iODBC installed can still compile
I see SQL_DATE used elsewhere in the source, and SQL_DATE and
SQL_DATETIME both have the same value in unixodbc 2.0.11. Is it
acceptable to s/SQL_DATETIME/SQL_DATE/ on the source and call it good,
or is this just a coincidence?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20011124/05364b86/attachment.bin
More information about the FreeTDS