|
|
| version 1.254, 2024/09/13 04:01:22 | version 1.255, 2024/09/28 14:37:53 |
|---|---|
| Line 390 static void _match(Request& r, MethodPar | Line 390 static void _match(Request& r, MethodPar |
| if(vregex){ | if(vregex){ |
| if(options && options->is_defined()) | if(options && options->is_defined()) |
| throw Exception(PARSER_RUNTIME, 0, "you can not specify regex-object and options together"); | throw Exception(PARSER_RUNTIME, 0, "you cannot specify regex-object and options together"); |
| } else { | } else { |
| vregex=new VRegex(r.charsets.source(), ®exp.as_string(), (options) ? (&options->as_string()) : 0); | vregex=new VRegex(r.charsets.source(), ®exp.as_string(), (options) ? (&options->as_string()) : 0); |
| vregex->study(); | vregex->study(); |
| Line 486 public: | Line 486 public: |
| bool add_row(SQL_Error& /*error*/) { /* ignore */ return false; } | bool add_row(SQL_Error& /*error*/) { /* ignore */ return false; } |
| bool add_row_cell(SQL_Error& error, const char* str, size_t) { | bool add_row_cell(SQL_Error& error, const char* str, size_t) { |
| if(got_cell) { | if(got_cell) { |
| error=SQL_Error("result must not contain more then one row"); | error=SQL_Error("result must contain no more than one row"); |
| return true; | return true; |
| } | } |
| try { | try { |