Changeset 11736
- Timestamp:
- Feb 9, 2007, 12:40:16 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptool.c
r11731 r11736 921 921 } 922 922 923 char *query = "UPDATE p4Run SET state = '%s' WHERE det_id = '%s'";923 char *query = "UPDATE p4Run SET state = '%s' WHERE p4_id = '%s'"; 924 924 if (!p_psDBRunQuery(config->dbh, query, state, p4_id)) { 925 925 psError(PS_ERR_UNKNOWN, false, 926 "failed to change state for det_id %s", p4_id);926 "failed to change state for p4_id %s", p4_id); 927 927 return false; 928 928 } … … 938 938 // check that state is a valid string value 939 939 if (!( 940 (strncmp(mode, "master", 7) == 0) 941 || (strncmp(mode, "verify", 7) == 0) 940 (strncmp(mode, "warp", 5) == 0) 941 || (strncmp(mode, "diff", 5) == 0) 942 || (strncmp(mode, "stack", 6) == 0) 943 || (strncmp(mode, "magic", 6) == 0) 942 944 ) 943 945 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
