|
|
| version 1.156, 2007/08/28 09:28:00 | version 1.157, 2007/11/14 09:45:21 |
|---|---|
| Line 535 static void _sql(Request& r, MethodParam | Line 535 static void _sql(Request& r, MethodParam |
| static void _replace(Request& r, MethodParams& params) { | static void _replace(Request& r, MethodParams& params) { |
| const String& src=GET_SELF(r, VString).string(); | const String& src=GET_SELF(r, VString).string(); |
| Table* table=params.as_no_junction(0, "parameter must not be code").get_table(); | Table* table=params.as_no_junction(0, PARAM_MUST_NOT_BE_CODE).get_table(); |
| if(!table) | if(!table) |
| throw Exception(PARSER_RUNTIME, | throw Exception(PARSER_RUNTIME, |
| 0, | 0, |