Changeset 28766
- Timestamp:
- Jul 29, 2010, 11:27:55 AM (16 years ago)
- Location:
- tags/ipp-20100701/ippTools
- Files:
-
- 2 edited
-
share/magictool_definebyquery_select.sql (modified) (3 diffs, 1 prop)
-
src/magictool.c (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20100701/ippTools/share/magictool_definebyquery_select.sql
- Property svn:mergeinfo set to
r28039 r28766 4 4 MAX(diffWarps.diff_id) AS diff_id, 5 5 -- The following trick pulls out the 'inverse' value for the maximum diff_id 6 CONVERT(SUBSTRING_INDEX(GROUP_CONCAT(diffWarps.inverse ORDER BY diffWarps.diff_id), ',', 1), UNSIGNED) AS inverse 6 CONVERT(SUBSTRING_INDEX(GROUP_CONCAT(diffWarps.inverse ORDER BY diffWarps.diff_id), ',', 1), UNSIGNED) AS inverse, 7 diff_data_group 7 8 FROM ( 8 9 -- Forward diffs … … 10 11 diffRun.diff_id, 11 12 warp1 AS warp_id, 12 0 AS inverse 13 0 AS inverse, 14 diffRun.data_group AS diff_data_group 13 15 FROM diffRun 14 16 JOIN diffInputSkyfile USING(diff_id) … … 22 24 diffRun.diff_id, 23 25 warp2 AS warp_id, 24 1 AS inverse 26 1 AS inverse, 27 diffRun.data_group AS diff_data_group 25 28 FROM diffRun 26 29 JOIN diffInputSkyfile USING(diff_id) -
tags/ipp-20100701/ippTools/src/magictool.c
- Property svn:mergeinfo set to
r28516 r28766 246 246 psS64 diff_id = psMetadataLookupS64(NULL, row, "diff_id"); // difference identifier 247 247 bool inverse = psMetadataLookupU64(NULL, row, "inverse"); // Inverse subtraction? Note types! 248 psString diff_data_group = psMetadataLookupStr(NULL, row, "diff_data_group"); 248 249 249 250 // create a new magicRun for this group … … 256 257 "dirty", // workdir_state 257 258 label, 258 data_group ? data_group : label,259 data_group ? data_group : (diff_data_group ? diff_data_group : label), 259 260 dvodb, 260 261 registered,
Note:
See TracChangeset
for help on using the changeset viewer.
