diff options
author | unknown <serg@serg.mylan> | 2005-09-30 20:20:10 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-09-30 20:20:10 +0200 |
commit | 8f842e8fc9f304e4f95d81df3c222bab11ced391 (patch) | |
tree | b141dda4cc321d6df0ee276762ac7bdbfa33b17c /sql/ha_ndbcluster.cc | |
parent | 60ee93262bb7412c6f592b9b3152fbf3035a2037 (diff) | |
download | mariadb-git-8f842e8fc9f304e4f95d81df3c222bab11ced391.tar.gz |
Bug#11238
"SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
Do not discard lock_type information as handler::start_stmt() may require knowledge.
(fixed by Antony)
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 709a7ed14e0..e22f0ecfbc2 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -3400,7 +3400,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type) startTransaction for each transaction/statement. */ -int ha_ndbcluster::start_stmt(THD *thd) +int ha_ndbcluster::start_stmt(THD *thd, thr_lock_type lock_type) { int error=0; DBUG_ENTER("start_stmt"); |