Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 Corrected handling of reserved words in MySQLi and MS-SQL

open
nobody
None
5
2005-10-25
2005-10-25
Clifton
No

The MySQLi driver has a reserved word delimiter in it,
but it is only applied to fields with spaces in them. This
fix applies the delimiter to all fields so that you can use
and retrieve reserved word fields without having to write
custom SQL for the AutoExecute.
The fix also includes a method for including a
nameQuote for drivers that need a left and right
nameQuote, like MS-SQL.
$nameQuote = array("[","]");
I only wrote in the left and right quotes for MS-SQL as
its the only DB I am familiar with outside of MySQL.

Discussion

  • Clifton
    Clifton
    2005-10-25

    ADOdb 4.66 patch to nameQuote

     
    Attachments