mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-31153 New methods Schema::make_item_func_* for REPLACE, SUBSTRING, TRIM
Adding virtual methods to class Schema: make_item_func_replace() make_item_func_substr() make_item_func_trim() This is a non-functional preparatory change for MDEV-27744.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user