diff options
author | unknown <mikael/pappa@dator5.(none)> | 2006-09-19 02:56:02 -0400 |
---|---|---|
committer | unknown <mikael/pappa@dator5.(none)> | 2006-09-19 02:56:02 -0400 |
commit | 392c3122f6d7931c39d66062acfe4ea265b4ba5c (patch) | |
tree | 2f53555c5e7a34d20a1af2e5344759e5aa1c2dce /sql/ha_partition.h | |
parent | c690c11feb18e43b87cffb6d95d8e34a110d94d7 (diff) | |
download | mariadb-git-392c3122f6d7931c39d66062acfe4ea265b4ba5c.tar.gz |
BUG#22178: Scan ordered performed also on engines not supporting ordered scans
Scan of ranges without start key should not use ordered scans unless it
is requested.
sql/ha_partition.cc:
Scan of ranges without start key should not use ordered scans unless it
is requested.
sql/ha_partition.h:
Scan of ranges without start key should not use ordered scans unless it
is requested.
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 97086d7b632..d76591b7514 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -45,9 +45,10 @@ private: { partition_index_read= 0, partition_index_first= 1, - partition_index_last= 2, - partition_index_read_last= 3, - partition_no_index_scan= 4 + partition_index_first_unordered= 2, + partition_index_last= 3, + partition_index_read_last= 4, + partition_no_index_scan= 5 }; /* Data for the partition handler */ int m_mode; // Open mode |