mariadb/storage
Monty 04ef45cb5b Adding option to tell that cmp_ref handler call is expensive
- In Spider, calling cmp_ref() can be very expensive. In ha_partition.cc
  we don't anymore sort rows according to position for the Spider
  engine.
- Removed Spider specific call info(HA_EXTRA_STARTING_ORDERED_INDEX_SCAN)
  from handle_ordered_index_scan(). It's caused performance issues and
  does not change results for queries with ORDER BY.
- The visible effect of this patch is that for some storage engines,
  rows may be returned in a different order if there is no ORDER BY clause.

- Based in Spiral Patch 052:
  052_mariadb-10.2.0.add_partition_skip_pk_sort_for_non_clustered_index.diff
  MDEV-7748
- The major difference from original patch is that there is no variable to
  get the old behaviour.

- Other things:
  - Optimized ha_partition::cmp_ref() and cmp_part_ids() to make them
    simpler and faster.
  - Changed arguments to cmp_key_part_id() to be same as cmp_key_rowid_part_id
    to simplify code.

Original author: Kentoku SHIBA
First reviewer:  Jacob Mathew
Second reviewer: Michael Widenius
2017-09-28 16:39:43 +03:00
..
archive Merge branch '10.1' into 10.2 2017-07-08 09:56:28 +02:00
blackhole MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
cassandra Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
connect Merge 10.1 into 10.2 2017-08-29 10:07:33 +03:00
csv Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
example 5.5.40+ merge 2014-10-09 10:30:11 +02:00
federated Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
federatedx Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
heap Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
innobase Adjust the imported innodb.alter_crash test for MariaDB 2017-09-08 15:34:42 +03:00
maria Add ATTRIBUTE_NORETURN and ATTRIBUTE_COLD 2017-08-31 09:30:55 +03:00
mroonga Adding multi_range_read support to partitions 2017-09-09 15:16:01 +03:00
myisam Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
myisammrg MDEV 7701 Apply Spider patch 003_mariadb-10.0.15.vp.diff 2017-09-09 14:11:58 +03:00
oqgraph Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
perfschema Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
rocksdb MDEV-13585: RocksDB plugin fails to build on macOS because of unknown type timer_t etc. 2017-09-05 23:00:59 +05:30
sequence Fix several compile warnings on Windows 2017-03-17 08:56:57 +00:00
sphinx Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
spider Adding option to tell that cmp_ref handler call is expensive 2017-09-28 16:39:43 +03:00
test_sql_discovery store/show vcols as item->print() 2016-12-12 20:35:41 +01:00
tokudb Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
xtradb Merge 10.1 into 10.2 2017-09-07 12:12:31 +03:00