diff options
author | unknown <mskold@mysql.com> | 2006-06-08 16:12:38 +0200 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2006-06-08 16:12:38 +0200 |
commit | 20e54ae6c579167c38ae9183e465f19ef0e60169 (patch) | |
tree | 1691889ea4d2b9b2210bdc28239c30042ad3df27 /sql/ha_ndbcluster.h | |
parent | 22e3b0c66f695e18269e2fc221461611fa5132c3 (diff) | |
download | mariadb-git-20e54ae6c579167c38ae9183e465f19ef0e60169.tar.gz |
Fix for Bug #18184 SELECT ... FOR UPDATE does not work..: implemented ha_ndblcuster::unlock_row() and explicitly lock all rows that are not being unlocked
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 83d9d87777a..313e497f9b5 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -120,6 +120,7 @@ class ha_ndbcluster: public handler int extra_opt(enum ha_extra_function operation, ulong cache_size); int reset(); int external_lock(THD *thd, int lock_type); + void unlock_row(); int start_stmt(THD *thd); const char * table_type() const; const char ** bas_ext() const; @@ -223,6 +224,7 @@ class ha_ndbcluster: public handler char m_tabname[FN_HEADLEN]; ulong m_table_flags; THR_LOCK_DATA m_lock; + bool m_lock_tuple; NDB_SHARE *m_share; NDB_INDEX_DATA m_index[MAX_KEY]; // NdbRecAttr has no reference to blob |