mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
separated an assertion from the assignment (bug 30468)
This commit is contained in:
@@ -3888,7 +3888,8 @@ bool check_grant_all_columns(THD *thd, ulong want_access_arg,
|
||||
grant->version= grant_version; /* purecov: inspected */
|
||||
}
|
||||
|
||||
DBUG_ASSERT ((grant_table= grant->grant_table) != NULL);
|
||||
grant_table= grant->grant_table;
|
||||
DBUG_ASSERT (grant_table);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user