Commit 39fba6c5 authored by mskold@mysql.com's avatar mskold@mysql.com

Disallow TL_WRITE_ALLOW_READ being transformed into TL_WRITE_ALLOW_WRITE

parent 6cc77486
......@@ -3106,7 +3106,7 @@ THR_LOCK_DATA **ha_ndbcluster::store_lock(THD *thd,
/* Since NDB does not currently have table locks
this is treated as a ordinary lock */
if ((lock_type >= TL_WRITE_ALLOW_WRITE &&
if ((lock_type >= TL_WRITE_CONCURRENT_INSERT &&
lock_type <= TL_WRITE) && !thd->in_lock_tables)
lock_type= TL_WRITE_ALLOW_WRITE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment