Menu

#1 AddQuoteCharToObjectName does not check for supplied quote

CVS
open-postponed
5
2003-02-12
2003-02-12
No

The AddQuoteCharToObjectName function in SQLExpr.pas is
supplied the quote character used by any given driver
and is supposed to add that quote to the object name in
a SQL express if the object name is not already quoted.
Although it is supplied the quote character to use, it
does not test for it in its test to see if the object
name is already quoted. It tests explicitely for the
double quote char " instead.

This has the effect of causing any SQLClientDataSet
query to fail if the dataset is in ctTable mode and the
driver it is attached to (either directly or through a
connetion object) returns anything other than the
double quote character as that driver's quote character
of choice. This is most noticable in the dbxoodbc driver.

Discussion

  • Kurt Fitzner

    Kurt Fitzner - 2003-02-12

    Logged In: YES
    user_id=252234

    The fix for this needs to wait until the DB components are
    updated to K3.

     
  • Kurt Fitzner

    Kurt Fitzner - 2003-02-12
    • status: open --> open-postponed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.