diff options
Diffstat (limited to 'sql/sql_schema.h')
-rw-r--r-- | sql/sql_schema.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/sql_schema.h b/sql/sql_schema.h index 37f8ceb7250..0258ff2dc97 100644 --- a/sql/sql_schema.h +++ b/sql/sql_schema.h @@ -33,6 +33,17 @@ public: { return src; } + + // Builders for native SQL function with a special syntax in sql_yacc.yy + virtual Item *make_item_func_replace(THD *thd, + Item *subj, + Item *find, + Item *replace) const; + virtual Item *make_item_func_substr(THD *thd, + const Lex_substring_spec_st &spec) const; + + virtual Item *make_item_func_trim(THD *thd, const Lex_trim_st &spec) const; + /* For now we have *hard-coded* compatibility schemas: schema_mariadb, schema_oracle, schema_maxdb. |