|
|
| version 1.206, 2004/07/29 18:02:38 | version 1.209, 2005/07/28 11:23:01 |
|---|---|
| Line 21 static const char * const IDENT_TABLE_C= | Line 21 static const char * const IDENT_TABLE_C= |
| class MTable: public Methoded { | class MTable: public Methoded { |
| public: // VStateless_class | public: // VStateless_class |
| Value* create_new_value(Pool&) { return new VTable(); } | Value* create_new_value(Pool&, HashStringValue&) { return new VTable(); } |
| public: | public: |
| MTable(); | MTable(); |
| Line 658 static void _hash(Request& r, MethodPara | Line 658 static void _hash(Request& r, MethodPara |
| int saved_current=self_table.current(); | int saved_current=self_table.current(); |
| self_table.for_each(table_row_to_hash, &info); | self_table.for_each(table_row_to_hash, &info); |
| self_table.set_current(saved_current); | self_table.set_current(saved_current); |
| result.extract_default(); | |
| } | } |
| } | } |
| r.write_no_lang(result); | r.write_no_lang(result); |
| Line 979 static void _sql(Request& r, MethodParam | Line 981 static void _sql(Request& r, MethodParam |
| #endif | #endif |
| r.connection()->query( | r.connection()->query( |
| statement_cstr, | statement_cstr, |
| 0, 0, | placeholders_count, placeholders, |
| offset, limit, | offset, limit, |
| handlers, | handlers, |
| statement_string); | statement_string); |