separated an assertion from the assignment (bug 30468)

This commit is contained in:
gkodinov/kgeorge@magare.gmz 2007-09-27 14:29:46 +03:00
parent bbe1d37089
commit bebbe4542f

View file

@ -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);
}
}