diff options
author | Mattias Jonsson <mattias.jonsson@oracle.com> | 2012-08-20 09:55:54 +0200 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@oracle.com> | 2012-08-20 09:55:54 +0200 |
commit | 091e4b192efa69ad7a1a4502f1a52e4cca3149df (patch) | |
tree | f8264f37ea82cac8eeafb8f2cb40901dcc88d13e /sql/ha_partition.h | |
parent | 404cce0ff82402c24c869a75606f329bfe9da9e9 (diff) | |
parent | 1ffecedfc3e6ecdfa068c01a588cbe1ceca14ec2 (diff) | |
download | mariadb-git-091e4b192efa69ad7a1a4502f1a52e4cca3149df.tar.gz |
merge
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 2142fd27a7f..294e9f8adf6 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -518,23 +518,6 @@ private: int partition_scan_set_up(uchar * buf, bool idx_read_flag); int handle_unordered_next(uchar * buf, bool next_same); int handle_unordered_scan_next_partition(uchar * buf); - uchar *queue_buf(uint part_id) - { - uint16 *part_id_map= (uint16*) m_ordered_rec_buffer; - /* Offset to the partition's record buffer in number of partitions. */ - uint offset= part_id_map[part_id]; - /* - Return the pointer to the partition's record buffer. - First skip the partition id map, and then add the offset. - */ - return (m_ordered_rec_buffer + m_tot_parts * PARTITION_BYTES_IN_POS + - (offset * (m_rec_length + PARTITION_BYTES_IN_POS))); - } - uchar *rec_buf(uint part_id) - { - return (queue_buf(part_id) + - PARTITION_BYTES_IN_POS); - } int handle_ordered_index_scan(uchar * buf, bool reverse_order); int handle_ordered_next(uchar * buf, bool next_same); int handle_ordered_prev(uchar * buf); |