Fixed a warning cased by the fix for bug 30468

parent bebbe454
...@@ -3861,7 +3861,8 @@ bool check_grant_all_columns(THD *thd, ulong want_access_arg, ...@@ -3861,7 +3861,8 @@ bool check_grant_all_columns(THD *thd, ulong want_access_arg,
{ {
const char* db_name; const char* db_name;
GRANT_INFO *grant; GRANT_INFO *grant;
GRANT_TABLE *grant_table; /* Initialized only to make gcc happy */
GRANT_TABLE *grant_table= NULL;
rw_rdlock(&LOCK_grant); rw_rdlock(&LOCK_grant);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment