1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown b5c0cf454d BUG#32772: partition crash 1: enum column
The bug was that for ordered index scans, ha_partition::index_init() did
not put index columns into table->read_set if the underlying storage 
engine did not have HA_PARTIAL_COLUMN_READ flag. 
This was causing assertion failure when handle_ordered_index_scan() tried
to sort the records according to index order.

Fixed by making ha_partition::index_init() put index columns into table->read_set
for all ordered scans. 


mysql-test/r/partition.result:
  BUG#32772: partition crash 1: enum column
  - Testcase
mysql-test/t/partition.test:
  BUG#32772: partition crash 1: enum column
  - Testcase
sql/ha_partition.cc:
  BUG#32772: partition crash 1: enum column
  - Make ha_partition::index_init() include index columns in the read_set
    whenever an ordered scan is initialized, no matter if
    HA_PARTIAL_COLUMN_READ is set or not.
2007-11-28 03:02:05 +03:00
..
2007-07-30 21:05:56 +05:00
2007-08-07 05:35:20 -04:00
2007-08-02 12:45:56 -07:00
2007-07-23 23:35:43 -07:00
2007-06-28 16:03:01 -07:00
2007-06-28 16:03:01 -07:00
2007-11-01 12:30:03 -07:00
2007-07-06 11:35:10 -07:00
2007-09-26 12:45:08 +02:00
2007-11-24 15:02:23 +04:00
2007-07-11 18:45:35 -07:00
2007-11-05 13:19:56 +02:00
2007-06-20 14:21:48 +05:00
2007-11-02 13:40:34 +03:00
2007-08-31 16:59:07 +05:00
2007-08-31 16:59:07 +05:00
2007-11-20 20:15:20 +04:00
2007-06-13 17:28:59 +02:00
2007-11-13 09:41:59 +04:00
2007-10-23 19:28:47 +05:00
2007-06-01 17:49:01 +04:00
2007-09-24 12:42:44 +02:00
2007-11-26 22:21:46 +03:00
2007-11-26 22:21:46 +03:00
2007-07-15 21:51:36 +04:00
2007-06-03 14:46:09 +04:00