summaryrefslogtreecommitdiff
path: root/sql/ha_partition.h
diff options
context:
space:
mode:
authorMattias Jonsson <mattias.jonsson@sun.com>2008-12-16 12:44:18 +0100
committerMattias Jonsson <mattias.jonsson@sun.com>2008-12-16 12:44:18 +0100
commitbd2629b439cac0a338c93ff93867109a8027d63b (patch)
treed9ef4bd6fe6d08f63bfacc3b96869d01f947d0c9 /sql/ha_partition.h
parentc0301ac03e568742a67426ea405ec7a87910343e (diff)
downloadmariadb-git-bd2629b439cac0a338c93ff93867109a8027d63b.tar.gz
post push fix for bug#40595
Addition of hander function was_semi_consistent_read
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r--sql/ha_partition.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index dd06d8d647b..bae2d03a8ce 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -112,7 +112,7 @@ private:
uint m_reorged_parts; // Number of reorganised parts
uint m_tot_parts; // Total number of partitions;
uint m_no_locks; // For engines like ha_blackhole, which needs no locks
- uint m_last_part; // Last file that we update,write
+ uint m_last_part; // Last file that we update,write,read
int m_lock_type; // Remembers type of last
// external_lock
part_id_range m_part_spec; // Which parts to scan
@@ -326,6 +326,10 @@ public:
*/
virtual void unlock_row();
/*
+ Check if semi consistent read
+ */
+ virtual bool was_semi_consistent_read();
+ /*
Call to hint about semi consistent read
*/
virtual void try_semi_consistent_read(bool);