Changeset 29485
- Timestamp:
- Oct 19, 2010, 3:12:12 PM (16 years ago)
- Location:
- trunk/ippMonitor
- Files:
-
- 2 edited
-
def/autocode.php (modified) (2 diffs)
-
scripts/generate (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/autocode.php
r26456 r29485 25 25 $restricted = 0; 26 26 27 // define restrictio snto the queries27 // define restrictions to the queries 28 28 // ** TABLE RESTRICTIONS ** 29 29 … … 33 33 } 34 34 } 35 36 // Add GROUP BY statements if any 37 // ** GROUP RESTRICTIONS ** 35 38 36 39 // get the result table count -
trunk/ippMonitor/scripts/generate
r28969 r29485 227 227 } 228 228 229 # fill in GROUP BY 230 if ($line =~ m|// \*\* GROUP RESTRICTIONS \*\*|) { 231 &write_group_by; 232 } 233 229 234 # fill in table restricts 230 235 if ($line =~ m|// \*\* BUTTON RESTRICTIONS \*\*|) { … … 331 336 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max', 1.0);\n"; 332 337 } 338 # print FILE "\$WHERE = check_ordering ('$GROUPS', \$WHERE);\n"; 339 } 340 341 # Generate GROUP BY statement if any 342 sub write_group_by { 333 343 print FILE "\$WHERE = check_ordering ('$GROUPS', \$WHERE);\n"; 334 344 }
Note:
See TracChangeset
for help on using the changeset viewer.
