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.h | |
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.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 2a1d51724d4..4bda78cf234 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -501,7 +501,7 @@ class ha_ndbcluster: public handler int extra(enum ha_extra_function operation); int extra_opt(enum ha_extra_function operation, ulong cache_size); int external_lock(THD *thd, int lock_type); - int start_stmt(THD *thd); + int start_stmt(THD *thd, thr_lock_type lock_type); const char * table_type() const; const char ** bas_ext() const; ulong table_flags(void) const; |