|
|
| version 1.25, 2002/09/18 08:52:49 | version 1.26, 2002/12/09 11:07:40 |
|---|---|
| Line 54 static void _double(Request& r, const St | Line 54 static void _double(Request& r, const St |
| } | } |
| #ifndef DOXYGEN | #ifndef DOXYGEN |
| class Void_sql_event_handlers : public SQL_Driver_query_event_handlers { | class Void_sql_event_handlers: public SQL_Driver_query_event_handlers { |
| public: | public: |
| Void_sql_event_handlers(Pool& apool, const String& astatement_string) : | Void_sql_event_handlers(Pool& apool, const String& astatement_string) : |
| pool(apool), statement_string(astatement_string) { | pool(apool), statement_string(astatement_string) { |
| Line 62 public: | Line 62 public: |
| void add_column(void *ptr, size_t size) { /* ignore */ } | void add_column(void *ptr, size_t size) { /* ignore */ } |
| void before_rows() { | void before_rows() { |
| // there are some result rows, which is wrong | // there are some result rows, which is wrong |
| throw Exception("parser.runtime", | throw SQL_Exception("parser.runtime", |
| &statement_string, | &statement_string, |
| "must return nothing"); | "must return nothing"); |
| } | } |