summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@sun.com>2008-11-10 21:13:24 +0100
committerMattias Jonsson <mattias.jonsson@sun.com>2008-11-10 21:13:24 +0100
commita891c0e8f4309ea34605745e9332e57fcdd7ac64 (patch)
tree9eee015db5a1b006de00a010ba12ff505f5bcea5 /sql/ha_partition.h
parent0d2cbe95f64df353c065774f51cafc87c5e272c7 (diff)
downloadmariadb-git-a891c0e8f4309ea34605745e9332e57fcdd7ac64.tar.gz
Bug#40595: Non-matching rows not released with READ-COMMITTED
on tables with partitions Problem was that the handler function try_semi_consistent_read was not propagated to the innodb handler. Solution was to implement that function in the partitioning handler.
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 78cf47dd1aa..dd06d8d647b 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -325,6 +325,10 @@ public:
Call to unlock rows not to be updated in transaction
*/
virtual void unlock_row();
+ /*
+ Call to hint about semi consistent read
+ */
+ virtual void try_semi_consistent_read(bool);
/*
-------------------------------------------------------------------------