Ignore:
Timestamp:
2008-06-04T14:14:48+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Adding a "sqlite_safe()" function for escaping any single quotes in values going into SQL statements, and applied this everywhere it might be required.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/sqlitedbclass.h

    r15836 r15849  
    6969  sqlite3* sqlitefile;
    7070
     71  text_t sqlite_safe (const text_t &value_arg);
     72
    7173  bool sqlexec (const text_t &sql_cmd);
    7274  bool sqlgetarray (const text_t &sql_cmd, vector<text_tmap> &sql_results);
Note: See TracChangeset for help on using the changeset viewer.