Changeset 9001 for trunk/MagicSoft/Mars
- Timestamp:
- 07/16/08 20:38:09 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9000 r9001 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/07/16 Thomas Bretz 22 23 * msql/MSQLMagic.[h,cc]: 24 - the wehere clause can now be omitted in Update 25 26 20 27 21 28 2008/07/14 Thomas Bretz -
trunk/MagicSoft/Mars/msql/MSQLMagic.cc
r8996 r9001 269 269 query += " SET "; 270 270 query += vars; 271 query += " WHERE "; 272 query += where; 271 272 if (!TString(where).IsNull()) 273 { 274 query += " WHERE "; 275 query += where; 276 } 273 277 274 278 // Check for dummy mode -
trunk/MagicSoft/Mars/msql/MSQLMagic.h
r8996 r9001 47 47 48 48 Int_t Insert(const char *table, const char *vars, const char *where=0); 49 Int_t Update(const char *table, const char *vars, const char *where );49 Int_t Update(const char *table, const char *vars, const char *where=0); 50 50 Int_t Delete(const char *table, const char *where); 51 51 Int_t InsertUpdate(const char *table, const char *col, const char *val, const char *vars);
Note:
See TracChangeset
for help on using the changeset viewer.