|
|
| version 1.35, 2002/02/08 08:30:10 | version 1.36, 2002/03/27 15:30:34 |
|---|---|
| Line 57 public: | Line 57 public: |
| } | } |
| void before_rows() { | void before_rows() { |
| if(columns.size()<=1) | if(columns.size()<=1) |
| throw Exception(0, 0, | throw Exception("parser.runtime", |
| &method_name, | &method_name, |
| "column count must be more than 1 to create a hash"); | "column count must be more than 1 to create a hash"); |
| } | } |
| Line 210 static void _sql(Request& r, const Strin | Line 210 static void _sql(Request& r, const Strin |
| if(Value *voffset=(Value *)options->get(*sql_offset_name)) | if(Value *voffset=(Value *)options->get(*sql_offset_name)) |
| offset=(ulong)r.process(*voffset).as_double(); | offset=(ulong)r.process(*voffset).as_double(); |
| } else | } else |
| throw Exception(0, 0, | throw Exception("parser.runtime", |
| &method_name, | &method_name, |
| "options must be hash"); | "options must be hash"); |
| } | } |