Changeset 42387 for trunk/ippTools/src/pzgetexp.c
- Timestamp:
- Feb 8, 2023, 12:14:39 PM (3 years ago)
- Location:
- trunk/ippTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/ippTools (added) merged: 42166,42193,42195-42197,42205-42207,42213,42258,42367
- Property svn:mergeinfo changed
-
trunk/ippTools/src
- Property svn:ignore
-
old new 49 49 fftool 50 50 remotetool 51 51 fpcamtool
-
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20220316/ippTools/src (added) merged: 42166,42195-42197,42205,42207,42258,42367
- Property svn:ignore
-
trunk/ippTools/src/pzgetexp.c
r31038 r42387 136 136 psFree(cmdOutput); 137 137 if (!newSummitExps) { 138 // XXX not ne ssicarily an error138 // XXX not necessarily an error? 139 139 psError(PS_ERR_UNKNOWN, true, "no new fileSet/exp IDs"); 140 140 return false; … … 145 145 return true; 146 146 } 147 // If we supply an unknown last_fileset (exposure name) to the summit datastore, 148 // it will return all filesets it knows about. This can cause problems (table overflow) 149 // if this is too large a number. Raise an error and let the user fix the underlying 150 // problem (last exposure not known to the summit datastore) 151 // Do we need to be able to configure this number? 152 if (psArrayLength(newSummitExps) > 10000) { 153 psError(PS_ERR_UNKNOWN, true, "too many new fileSet/exp IDs? unknown exposure? problem with summitExp table?"); 154 return false; 155 } 147 156 148 157 // start a transaction so it's all rows or nothing … … 153 162 } 154 163 155 // increase memory table size limits; deafult is 16MB 156 { 164 // increase memory table size limits; default is 16MB, but our current (2022) config 165 // in /etc/mysql/my.cnf sets to default to 1024M. 166 // This command sets the max_heap_table_size within the transaction, and does not 167 // apparently stick. But this is not really needed, so we are deactivating it. 168 if (0) { 157 169 // 512MB 158 170 char *query = "SET max_heap_table_size = 1024*1024*512";
Note:
See TracChangeset
for help on using the changeset viewer.
