freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: mgrosman AT pathcom.com
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] SQL_ATTR_TRACE option doesn't work
- Date: Thu, 01 Apr 2010 18:10:23 -0400
Hi,
I'm calling this API:
::SQLSetConnectAttr(
hdbc,
SQL_ATTR_TRACE,
(SQLPOINTER)sitrace,
0 );
where sitrace is one of SQL_OPT_TRACE_ON or SQL_OPT_TRACE_OFF
and get this error back:
HY092, Native error: 0, Msg: [FreeTDS][SQL Server]Invalid option;
I checked the source code in odbc.c and found that unless TDS_NO_DM is defined the driver doesn't understand this option.
Is it safe if I remove the corresponding #ifdef TDS_NO_DM and recompile the FreeTDS ODBC driver?
Thanks,
Mike
-
[freetds] SQL_TXN_ISOLATION_OPTION,
mgrosman, 04/01/2010
- Re: [freetds] SQL_TXN_ISOLATION_OPTION, Frediano Ziglio, 04/01/2010
-
[freetds] SQL_ATTR_TRACE option doesn't work,
mgrosman, 04/01/2010
-
[freetds] bulk copy API,
mgrosman, 04/06/2010
-
Re: [freetds] bulk copy API,
Frediano Ziglio, 04/07/2010
-
Re: [freetds] bulk copy API,
mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
jklowden, 04/07/2010
- Re: [freetds] bulk copy API, mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
jklowden, 04/07/2010
-
Re: [freetds] bulk copy API,
mgrosman, 04/07/2010
-
Re: [freetds] bulk copy API,
Frediano Ziglio, 04/07/2010
-
Re: [freetds] SQL_ATTR_TRACE option doesn't work,
James K. Lowden, 04/07/2010
- Re: [freetds] SQL_ATTR_TRACE option doesn't work, Mikhail Grosman, 04/07/2010
-
[freetds] bulk copy API,
mgrosman, 04/06/2010
Archive powered by MHonArc 2.6.24.