mariadb/storage/spider
Nayuta Yanagisawa e4cffc92c7 MDEV-27172 Prefix indices on Spider tables may lead to wrong query results
Spider converts HA_READ_KEY_EXACT to the equality (=) in the
function spider_db_append_key_where_internal() but the conversion
is not necessarily correct for tables with prefix indices.

We fix the bug by converting HA_READ_KEY_EXACT to 'LIKE "foo%"' when
a target key is a prefix key. The fix is partly inspired by FEDERATED.
See ha_federated::create_where_from_key() for more details.
2022-09-01 18:32:40 +09:00
..
hs_client
mysql-test/spider MDEV-27172 Prefix indices on Spider tables may lead to wrong query results 2022-09-01 18:32:40 +09:00
scripts
CMakeLists.txt
configure.in
ha_spider.cc
ha_spider.h
Makefile.am
spd_conn.cc
spd_conn.h
spd_copy_tables.cc
spd_copy_tables.h
spd_db_conn.cc MDEV-27172 Prefix indices on Spider tables may lead to wrong query results 2022-09-01 18:32:40 +09:00
spd_db_conn.h
spd_db_handlersocket.cc
spd_db_handlersocket.h
spd_db_include.cc
spd_db_include.h MDEV-27172 Prefix indices on Spider tables may lead to wrong query results 2022-09-01 18:32:40 +09:00
spd_db_mysql.cc MDEV-27172 Prefix indices on Spider tables may lead to wrong query results 2022-09-01 18:32:40 +09:00
spd_db_mysql.h MDEV-27172 Prefix indices on Spider tables may lead to wrong query results 2022-09-01 18:32:40 +09:00
spd_db_oracle.cc
spd_db_oracle.h
spd_direct_sql.cc
spd_direct_sql.h
spd_environ.h
spd_err.h
spd_group_by_handler.cc
spd_group_by_handler.h
spd_i_s.cc
spd_include.h
spd_malloc.cc
spd_malloc.h
spd_param.cc
spd_param.h
spd_ping_table.cc
spd_ping_table.h
spd_sys_table.cc
spd_sys_table.h
spd_table.cc
spd_table.h
spd_trx.cc
spd_trx.h
spd_udf.cc
spd_udf.def
spd_udf.h