mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Fixed a warning cased by the fix for bug 30468
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user