|
|
| version 1.45, 2009/07/07 05:47:43 | version 1.47, 2010/10/21 15:06:29 |
|---|---|
| Line 26 extern String sql_bind_name; | Line 26 extern String sql_bind_name; |
| class MVoid: public Methoded { | class MVoid: public Methoded { |
| public: | public: |
| MVoid(); | MVoid(); |
| public: // Methoded | |
| bool used_directly() { return true; } | |
| }; | }; |
| // global variable | // global variable |
| Line 108 static void _sql(Request& r, MethodParam | Line 106 static void _sql(Request& r, MethodParam |
| bind=vbind->get_hash(); | bind=vbind->get_hash(); |
| } | } |
| if(valid_options!=options->count()) | if(valid_options!=options->count()) |
| throw Exception(PARSER_RUNTIME, | throw Exception(PARSER_RUNTIME, 0, CALLED_WITH_INVALID_OPTION); |
| 0, | |
| "called with invalid option"); | |
| } else | } else |
| throw Exception(PARSER_RUNTIME, | throw Exception(PARSER_RUNTIME, 0, OPTIONS_MUST_BE_HASH); |
| 0, | |
| "options must be hash"); | |
| } | } |
| SQL_Driver::Placeholder* placeholders=0; | SQL_Driver::Placeholder* placeholders=0; |