mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Merge mysql.com:/opt/local/work/mysql-4.1-root
into mysql.com:/media/sda1/mysql/mysql-5.0-merge mysql-test/r/select.result: Auto merged sql/mysql_priv.h: Auto merged sql/set_var.cc: Auto merged sql/sql_select.cc: Auto merged mysql-test/r/ps.result: Manual merge (again). mysql-test/t/ps.test: Manual merge (again). mysql-test/t/select.test: Manual merge (again). sql/item_func.cc: Manual merge (again). sql/item_func.h: Manual merge (again). sql/set_var.h: Manual merge (again).
This commit is contained in:
commit
40efb3622d
10 changed files with 150 additions and 48 deletions
|
|
@ -1199,6 +1199,29 @@ public:
|
|||
};
|
||||
|
||||
|
||||
/* A system variable */
|
||||
|
||||
class Item_func_get_system_var :public Item_func
|
||||
{
|
||||
sys_var *var;
|
||||
enum_var_type var_type;
|
||||
LEX_STRING component;
|
||||
public:
|
||||
Item_func_get_system_var(sys_var *var_arg, enum_var_type var_type_arg,
|
||||
LEX_STRING *component_arg, const char *name_arg,
|
||||
size_t name_len_arg);
|
||||
bool fix_fields(THD *thd, TABLE_LIST *tables, Item **ref);
|
||||
/*
|
||||
Stubs for pure virtual methods. Should never be called: this
|
||||
item is always substituted with a constant in fix_fields().
|
||||
*/
|
||||
double val() { DBUG_ASSERT(0); return 0.0; }
|
||||
longlong val_int() { DBUG_ASSERT(0); return 0; }
|
||||
String* val_str(String*) { DBUG_ASSERT(0); return 0; }
|
||||
void fix_length_and_dec() { DBUG_ASSERT(0); }
|
||||
};
|
||||
|
||||
|
||||
class Item_func_inet_aton : public Item_int_func
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue