|
|
| version 1.109, 2002/04/22 14:25:41 | version 1.110, 2002/04/23 10:30:03 |
|---|---|
| Line 335 const String* sql_result_string(Request& | Line 335 const String* sql_result_string(Request& |
| if(Value *voffset=(Value *)options->get(*sql_offset_name)) | if(Value *voffset=(Value *)options->get(*sql_offset_name)) |
| offset=(ulong)r.process_to_value(*voffset).as_double(); | offset=(ulong)r.process_to_value(*voffset).as_double(); |
| if(default_code=(Value *)options->get(*sql_default_name)) { | if(default_code=(Value *)options->get(*sql_default_name)) { |
| if(!default_code->get_junction()) | if(Junction *default_junction=default_code->get_junction()) |
| default_junction->change_context(statement.get_junction()); | |
| else | |
| throw Exception("parser.runtime", | throw Exception("parser.runtime", |
| &method_name, | &method_name, |
| "default option must be code"); | "default option must be code"); |