|
|
| version 1.179, 2003/04/14 13:58:16 | version 1.181, 2003/04/25 12:32:31 |
|---|---|
| Line 77 static Table::Action_options get_action_ | Line 77 static Table::Action_options get_action_ |
| return result; | return result; |
| } | } |
| static check_option_param(bool options_defined, | static void check_option_param(bool options_defined, |
| const String& method_name, MethodParams *params, | const String& method_name, MethodParams *params, |
| int next_param_index, | int next_param_index, |
| const char *msg) { | const char *msg) { |
| Line 643 static void _join(Request& r, const Stri | Line 643 static void _join(Request& r, const Stri |
| if(const Array *dest_columns=dest.columns()) { // dest is named | if(const Array *dest_columns=dest.columns()) { // dest is named |
| int saved_src_current=src.current(); | int saved_src_current=src.current(); |
| int m=src.size()-o.offset; | int m=src.size()-o.offset; |
| if(!o.limit || o.limit>m) | if(o.limit<0 || o.limit>m) |
| o.limit=m; | o.limit=m; |
| int end=o.offset+o.limit; | int end=o.offset+o.limit; |
| for(int src_row=o.offset; src_row<end; src_row++) { | for(int src_row=o.offset; src_row<end; src_row++) { |