summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2016-03-08 00:35:03 +0200
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2016-03-08 16:55:17 +0200
commit9c6fd420c1f1d7809e53f906b50f8775c88ef07f (patch)
treebdb84ad5dcb2c3accef2f1535c56bd980291a587 /sql/sql_acl.cc
parent5e873141a57fcf8e0f5bc8dd4e5434073e78f43f (diff)
downloadmariadb-git-9c6fd420c1f1d7809e53f906b50f8775c88ef07f.tar.gz
[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
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 1ee9d62f71e..cd446737e6d 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -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);