mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0-kt sql/item.cc: Auto merged sql/item.h: Auto merged sql/sql_acl.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.cc: Auto merged tests/mysql_client_test.c: Auto merged
This commit is contained in:
commit
3e085bd882
17 changed files with 375 additions and 70 deletions
22
sql/item.h
22
sql/item.h
|
|
@ -1134,6 +1134,28 @@ public:
|
|||
bool any_privileges);
|
||||
};
|
||||
|
||||
|
||||
class Item_ident_for_show :public Item
|
||||
{
|
||||
public:
|
||||
Field *field;
|
||||
const char *db_name;
|
||||
const char *table_name;
|
||||
|
||||
Item_ident_for_show(Field *par_field, const char *db_arg,
|
||||
const char *table_name_arg)
|
||||
:field(par_field), db_name(db_arg), table_name(table_name_arg)
|
||||
{}
|
||||
|
||||
enum Type type() const { return FIELD_ITEM; }
|
||||
double val_real() { return field->val_real(); }
|
||||
longlong val_int() { return field->val_int(); }
|
||||
String *val_str(String *str) { return field->val_str(str); }
|
||||
my_decimal *val_decimal(my_decimal *dec) { return field->val_decimal(dec); }
|
||||
void make_field(Send_field *tmp_field);
|
||||
};
|
||||
|
||||
|
||||
class Item_equal;
|
||||
class COND_EQUAL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue