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

[MDEV-7978] Post review fixes and cleanups.

* Maintain coding style in sql_yacc.yy in regards to optional clauses.
* Remove unused variable from sql_acl.cc.
* Update test case
This commit is contained in:
Vicențiu Ciorbaru
2016-03-08 00:35:03 +02:00
parent 5e873141a5
commit 9c6fd420c1
4 changed files with 37 additions and 12 deletions

View File

@ -7829,7 +7829,6 @@ bool mysql_show_create_user(THD *thd, LEX_USER *lex_user)
hostname= thd->security_ctx->priv_host;
}
String field_name(buff, sizeof(buff), system_charset_info);
List<Item> field_list;
strxmov(buff, "CREATE USER for ", username, "@", hostname, NullS);
Item_string *field = new (thd->mem_root) Item_string_ascii(thd, "", 0);