diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-05-26 06:17:35 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-05-26 09:49:13 +0400 |
commit | 9f23f8e59807f8ebc6a45e176332f33e2ac09d6c (patch) | |
tree | b459d361418a73d3e274a73d4122bf6e4cf6575b /sql/sql_lex.h | |
parent | ac93d7d674cd9955c940055d9777e98a1fbaf1cd (diff) | |
download | mariadb-git-9f23f8e59807f8ebc6a45e176332f33e2ac09d6c.tar.gz |
MDEV-19599 Change db_name, table_name to LEX_CSTRING in Item_ident and Send_field
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index b205207f64d..c24dfd16dff 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -3826,11 +3826,13 @@ public: return create_item_qualified_asterisk(thd, &a, &b); } - Item *create_item_ident_field(THD *thd, const char *db, const char *table, - const Lex_ident_sys_st *name); + Item *create_item_ident_field(THD *thd, + const Lex_ident_sys_st &db, + const Lex_ident_sys_st &table, + const Lex_ident_sys_st &name); Item *create_item_ident_nosp(THD *thd, Lex_ident_sys_st *name) { - return create_item_ident_field(thd, NullS, NullS, name); + return create_item_ident_field(thd, Lex_ident_sys(), Lex_ident_sys(), *name); } Item *create_item_ident_sp(THD *thd, Lex_ident_sys_st *name, const char *start, const char *end); |