mariadb/storage/spider
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
..
hs_client Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mysql-test/spider Adding support for auto_increment in the partition engine. 2017-09-28 16:39:43 +03:00
scripts MDEV-5499 install_spider.sql tries to create tables with DEFAULT clause for TEXT columns 2014-02-06 16:25:40 +01:00
CMakeLists.txt MDEV-6284: Remove CMakeLists.txt hack that mangled the server install file 2016-10-27 18:42:16 +03:00
configure.in MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
ha_spider.cc Adding option to tell that cmp_ref handler call is expensive 2017-09-28 16:39:43 +03:00
ha_spider.h Add direct aggregates 2017-09-28 16:39:42 +03:00
Makefile.am MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
spd_conn.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_conn.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_copy_tables.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_copy_tables.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_db_conn.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_db_conn.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_db_handlersocket.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_db_handlersocket.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_include.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_mysql.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_db_mysql.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_db_oracle.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_db_oracle.h MDEV-8954 unnecessary fetch of entire table 2017-05-01 16:04:47 -07:00
spd_direct_sql.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_direct_sql.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_environ.h Adding support for auto_increment in the partition engine. 2017-09-28 16:39:43 +03:00
spd_err.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_i_s.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_include.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_malloc.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_malloc.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_param.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_param.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_ping_table.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_ping_table.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_sys_table.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_sys_table.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_table.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_table.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_trx.cc Add direct aggregates 2017-09-28 16:39:42 +03:00
spd_trx.h Correct FSF address 2017-03-10 18:21:29 +01:00
spd_udf.cc Correct FSF address 2017-03-10 18:21:29 +01:00
spd_udf.def MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
spd_udf.h Correct FSF address 2017-03-10 18:21:29 +01:00