diff options
author | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2012-05-10 10:18:31 +0530 |
---|---|---|
committer | Annamalai Gurusami <annamalai.gurusami@oracle.com> | 2012-05-10 10:18:31 +0530 |
commit | 391ea219c21a66e24ea9985ca2581f75bbd7c8f5 (patch) | |
tree | 580214744faf4f74ab2647bd5e28f971bba9107f /plugin/daemon_example/NEWS | |
parent | 074ce71e9022246fa466bbe28f6d15941a3d4cf3 (diff) | |
download | mariadb-git-391ea219c21a66e24ea9985ca2581f75bbd7c8f5.tar.gz |
Bug #14007649 65111: INNODB SOMETIMES FAILS TO UPDATE ROWS INSERTED
BY A CONCURRENT TRANSACTIO
The member function QUICK_RANGE_SELECT::init_ror_merged_scan() performs
a table handler clone. Innodb does not provide a clone operation.
The ha_innobase::clone() is not there. The handler::clone() does not
take care of the ha_innobase->prebuilt->select_lock_type. Because of
this what happens is that for one index we do a locking read, and
for the other index we were doing a non-locking (consistent) read.
The patch introduces ha_innobase::clone() member function.
It is implemented similar to ha_myisam::clone(). It calls the
base class handler::clone() and then does any additional operation
required. I am setting the ha_innobase->prebuilt->select_lock_type
correctly.
rb://1060 approved by Marko
Diffstat (limited to 'plugin/daemon_example/NEWS')
0 files changed, 0 insertions, 0 deletions