mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
WorkLog#1280 - Remove fixed table handler from lex/yacc
This commit is contained in:
parent
0a5af44480
commit
afc619f0a2
@@ -343,6 +343,26 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class sys_var_thd_table_type :public sys_var_thd
|
||||
{
|
||||
protected:
|
||||
ulong SV::*offset;
|
||||
public:
|
||||
sys_var_thd_table_type(const char *name_arg, ulong SV::*offset_arg)
|
||||
:sys_var_thd(name_arg), offset(offset_arg)
|
||||
{}
|
||||
bool check(THD *thd, set_var *var);
|
||||
SHOW_TYPE type() { return SHOW_CHAR; }
|
||||
bool check_update_type(Item_result type)
|
||||
{
|
||||
return type != STRING_RESULT; /* Only accept strings */
|
||||
}
|
||||
void set_default(THD *thd, enum_var_type type);
|
||||
bool update(THD *thd, set_var *var);
|
||||
byte *value_ptr(THD *thd, enum_var_type type, LEX_STRING *base);
|
||||
};
|
||||
|
||||
|
||||
class sys_var_thd_bit :public sys_var_thd
|
||||
{
|
||||
sys_update_func update_func;
|
||||
|
||||
Reference in New Issue
Block a user