|
|
| version 1.377, 2024/12/11 03:22:23 | version 1.378, 2024/12/11 15:46:38 |
|---|---|
| Line 1567 static void _select(Request& r, MethodPa | Line 1567 static void _select(Request& r, MethodPa |
| if(r.check_skip_break()) | if(r.check_skip_break()) |
| break; | break; |
| if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result | if(condition && ++appended > (size_t)offset && source_table.valid(row)) // ...condition is true, adding to the result |
| result_table+=source_table[row]; | result_table+=source_table[row]; |
| if(row==0) break; | if(row==0) break; |
| } | } |
| Line 1580 static void _select(Request& r, MethodPa | Line 1580 static void _select(Request& r, MethodPa |
| if(r.check_skip_break()) | if(r.check_skip_break()) |
| break; | break; |
| if(condition && ++appended > (size_t)offset) // ...condition is true, adding to the result | if(condition && ++appended > (size_t)offset && source_table.valid(row)) // ...condition is true, adding to the result |
| result_table+=source_table[row]; | result_table+=source_table[row]; |
| } | } |
| } | } |