mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
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
This commit is contained in:
parent
22e3b0c66f
commit
20e54ae6c5
10 changed files with 269 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue