Changeset 18698
- Timestamp:
- Jul 23, 2008, 4:33:23 PM (18 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 2 edited
-
share/magictool_definebyquery_insert.sql (modified) (1 diff)
-
src/magictool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/magictool_definebyquery_insert.sql
r18697 r18698 7 7 FROM magicBestDiffs 8 8 WHERE 9 exp_id = '%s'9 exp_id = @EXP_ED@ -- Update this with the appropriate exp_id -
trunk/ippTools/src/magictool.c
r18697 r18698 266 266 // Create a suitable insertion query for this run 267 267 psString thisInsert = psStringCopy(insert); 268 psString idString = NULL; 269 psStringAppend(&idString, "%" PRId64, magic_id); 270 psStringSubstitute(&thisInsert, idString, "@MAGIC_ID@"); 271 psFree(idString); 268 { 269 psString idString = NULL; 270 psStringAppend(&idString, "%" PRId64, magic_id); 271 psStringSubstitute(&thisInsert, idString, "@MAGIC_ID@"); 272 psFree(idString); 273 } 274 { 275 psString idString = NULL; 276 psStringAppend(&idString, "%" PRId64, exp_id); 277 psStringSubstitute(&thisInsert, idString, "@EXP_ID@"); 278 psFree(idString); 279 } 272 280 273 281 if (!p_psDBRunQuery(config->dbh, thisInsert, magic_id, exp_id)) {
Note:
See TracChangeset
for help on using the changeset viewer.
