1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge branch '10.4' into 10.5

This commit is contained in:
Sergei Golubchik
2023-12-01 13:43:58 +01:00
511 changed files with 26233 additions and 3853 deletions

View File

@ -19,6 +19,9 @@
#include "mysqld.h"
#include "lex_string.h"
class Lex_ident_sys;
class Create_func;
class Schema
{
LEX_CSTRING m_name;
@ -34,6 +37,24 @@ public:
return src;
}
/**
Find a native function builder, return an error if not found,
build an Item otherwise.
*/
Item *make_item_func_call_native(THD *thd,
const Lex_ident_sys &name,
List<Item> *args) const;
/**
Find the native function builder associated with a given function name.
@param thd The current thread
@param name The native function name
@return The native function builder associated with the name, or NULL
*/
virtual Create_func *find_native_function_builder(THD *thd,
const LEX_CSTRING &name)
const;
// Builders for native SQL function with a special syntax in sql_yacc.yy
virtual Item *make_item_func_replace(THD *thd,
Item *subj,
@ -67,5 +88,6 @@ public:
extern Schema mariadb_schema;
extern const Schema &oracle_schema_ref;
#endif // SQL_SCHEMA_H_INCLUDED