Skip to Content.
Sympa Menu

freetds - RE: [freetds] Config or environment setting for toggling quoted i dentifiers setting

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Config or environment setting for toggling quoted i dentifiers setting
  • Date: Tue, 24 Jun 2003 17:16:45 -0400

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

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






Archive powered by MHonArc 2.6.24.

Top of Page