Commit c41cb794 authored by gkodinov/kgeorge@magare.gmz's avatar gkodinov/kgeorge@magare.gmz
Browse files

Fixed a warning cased by the fix for bug 30468

parent bebbe454
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3861,7 +3861,8 @@ bool check_grant_all_columns(THD *thd, ulong want_access_arg,
  {
    const char* db_name; 
    GRANT_INFO *grant;
    GRANT_TABLE *grant_table;
    /* Initialized only to make gcc happy */
    GRANT_TABLE *grant_table= NULL;

    rw_rdlock(&LOCK_grant);