|
|
| version 1.160, 2008/06/26 15:00:42 | version 1.161, 2008/07/03 09:17:57 |
|---|---|
| Line 479 const String* sql_result_string(Request& | Line 479 const String* sql_result_string(Request& |
| bind=vbind->get_hash(); | bind=vbind->get_hash(); |
| } | } |
| if(Value* vlimit=options->get(sql_limit_name)) { | if(Value* vlimit=options->get(sql_limit_name)) { |
| if(vlimit->is_defined()){ | valid_options++; |
| valid_options++; | limit=(ulong)r.process_to_value(*vlimit).as_double(); |
| limit=(ulong)r.process_to_value(*vlimit).as_double(); | |
| } else | |
| throw Exception(PARSER_RUNTIME, | |
| 0, | |
| "limit must be defined"); | |
| } | } |
| if(Value* voffset=options->get(sql_offset_name)) { | if(Value* voffset=options->get(sql_offset_name)) { |
| valid_options++; | valid_options++; |