[freetds] Config or environment setting for toggling quoted i dentifiers setting
Lowden, James K
LowdenJK at bernstein.com
Tue Jun 24 17:16:45 EDT 2003
> From: Thompson, Bill D (London) [mailto:ThompBil at exchange.uk.ml.com]
> Sent: June 24, 2003 5:57 AM
> option_flag2 |= 0x02; /* client is an ODBC driver
> option_flag2 |= 0x01; /* change to initial language
> must succeed
I removed the above lines, added a field to TDSSOCKET that holds a default
value set by tds_alloc_socket() and is read by tds7_send_login().
tdsdbopen() turns off the ODBC bit immediately after calling
tds_alloc_socket(). db/is/set/clr/opt handles DBQUOTED_IDENTIFIER.
src/dblib/unittests/t0001.c requires dbisopt to return the right value
(OFF); if it reports OFF and is in fact ON, the insertions, using double
quotes, will fail (but the test will still pass, because this is really more
than t0001 is meant to accomplish).
Committed minutes ago.
That should do it. My thanks to Mark and Bill for their insights.
The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.
More information about the FreeTDS