summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authormalff@lambda.hsd1.co.comcast.net. <>2007-11-27 08:56:43 -0700
committermalff@lambda.hsd1.co.comcast.net. <>2007-11-27 08:56:43 -0700
commit352e59b37b652bccedd8fb15eb02eb044e1c02c2 (patch)
treec7ade707b0ce4031c86b16897a8429f2da921aad /sql/sql_parse.cc
parent3cf2733086e5c655632541495ffdab3e20000c6f (diff)
parentf035f5e05df4b0128962f1a459218768564ced1c (diff)
downloadmariadb-git-352e59b37b652bccedd8fb15eb02eb044e1c02c2.tar.gz
Merge lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-base
into lambda.hsd1.co.comcast.net.:/home/malff/TREE/mysql-5.0-rt-merge
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 16a64c48cdd..fc134cad297 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -7070,7 +7070,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;