diff options
author | mskold@mysql.com <> | 2005-06-09 13:28:29 +0200 |
---|---|---|
committer | mskold@mysql.com <> | 2005-06-09 13:28:29 +0200 |
commit | 39fba6c556908723447a718ba4cca490272034c7 (patch) | |
tree | 0dea33a3dba28e65aaa9c4fdb1438ed906ab170e /sql/ha_ndbcluster.cc | |
parent | 6cc77486b7862f0ef47a021fe2bc92c5e5754448 (diff) | |
download | mariadb-git-39fba6c556908723447a718ba4cca490272034c7.tar.gz |
Disallow TL_WRITE_ALLOW_READ being transformed into TL_WRITE_ALLOW_WRITE
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index a0080af1dfb..97c40f03d93 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -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; |