1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Merge endora.local:/Users/davi/mysql/bugs/32528-5.0

into  endora.local:/Users/davi/mysql/mysql-5.1-runtime
This commit is contained in:
davi@endora.local
2007-11-22 10:32:34 -02:00
3 changed files with 49 additions and 1 deletions

View File

@@ -6412,7 +6412,7 @@ bool reload_acl_and_cache(THD *thd, ulong options, TABLE_LIST *tables,
for (; lock_p < end_p; lock_p++)
{
if ((*lock_p)->type == TL_WRITE)
if ((*lock_p)->type >= TL_WRITE_ALLOW_WRITE)
{
my_error(ER_LOCK_OR_ACTIVE_TRANSACTION, MYF(0));
return 1;