Changeset 34197
- Timestamp:
- Jul 24, 2012, 3:27:58 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxtools.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxtools.c
r32565 r34197 301 301 PXOPT_LOOKUP_STR(note, config->args, "-set_note", false, false); 302 302 303 #ifdef DISALLOW_CHANGE_TO_UPDATE 304 // Back in the days of magic we didn't allow state changes of Run's 305 // to update because the interaction with destreaking was problematic 306 // With the death of magic we can allow this now. 303 307 if ((state)&&(!strcmp(state, "update"))) { 304 308 fprintf(stderr, "'-updaterun -set_state update' is not supported."); … … 310 314 exit(1); 311 315 } 312 316 #endif 313 317 psString dist_group = NULL; 314 318 if (has_dist_group) { … … 350 354 psString joinHook = psStringCopy(""); 351 355 psString fileWhere = NULL; 356 357 #ifdef DISALLOW_CHANGE_TO_UPDATE 352 358 if (state && !strcmp(state, "update")) { 353 359 psStringAppend(&joinHook, "\n JOIN %s USING(%s)", fileTable, idColumn); … … 355 361 psStringAppend(&fileWhere, "AND %s.data_state = 'cleaned'", fileTable); 356 362 } 363 #endif 357 364 358 365 psString whereClause = psDBGenerateWhereSQL(where, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
