|
|
| version 1.335, 2016/10/04 13:23:46 | version 1.336, 2016/10/04 22:05:28 |
|---|---|
| Line 1495 static void _select(Request& r, MethodPa | Line 1495 static void _select(Request& r, MethodPa |
| for(size_t row=size-1; result_table.count() < (size_t)limit; row--) { | for(size_t row=size-1; result_table.count() < (size_t)limit; row--) { |
| source_table.set_current(row); | source_table.set_current(row); |
| bool condition=r.process(vcondition, false/*don't intercept string*/).as_bool(); | bool condition=r.process(vcondition).as_bool(); |
| if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result | if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result |
| result_table+=source_table[row]; | result_table+=source_table[row]; |
| Line 1505 static void _select(Request& r, MethodPa | Line 1505 static void _select(Request& r, MethodPa |
| for(size_t row=0; row < size && result_table.count() < (size_t)limit; row++) { | for(size_t row=0; row < size && result_table.count() < (size_t)limit; row++) { |
| source_table.set_current(row); | source_table.set_current(row); |
| bool condition=r.process(vcondition, false/*don't intercept string*/).as_bool(); | bool condition=r.process(vcondition).as_bool(); |
| if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result | if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result |
| result_table+=source_table[row]; | result_table+=source_table[row]; |