mariadb/storage/spider
Nayuta Yanagisawa 0f6e170c34 MDEV-25985 Spider handle ">=" as ">" in some cases
The function spider_db_append_key_where_internal() converts
HA_READ_AFTER_KEY to '>'. The conversion seems to be correct for
single-column indexes because HA_READ_AFTER_KEY means "read the
key after the provided value."

However, how about multi-column indexes? Assume that there is a
multi-column index on c1 and c2 and we search with the condition
'c1 >= 100 AND c2 > 200'. The key_range.flag corresponds to the
search condition could be HA_READ_AFTER_KEY. In such a case,
we could not simply convert HA_READ_AFTER_KEY to '>'.

The correct conversion is to convert HA_READ_AFTER_KEY to '>'
only for the last column in key_part_map and to convert
HA_READ_AFTER_KEY to '>=' for the other column.

The similar discussion also applies to the conversion from
key_range.flag to a sign of inequality.
2021-07-14 12:08:37 +00:00
..
hs_client Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mysql-test/spider MDEV-25985 Spider handle ">=" as ">" in some cases 2021-07-14 12:08:37 +00:00
scripts Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
CMakeLists.txt
configure.in
ha_spider.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
ha_spider.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
Makefile.am
spd_conn.cc MDEV-7098 spider/bg.spider_fixes failed in buildbot with safe_mutex: Trying to unlock mutex conn->mta_conn_mutex that wasn't locked at storage/spider/spd_db_conn.cc, line 671 2020-09-07 10:18:43 +09:00
spd_conn.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_copy_tables.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_copy_tables.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_db_conn.cc MDEV-25985 Spider handle ">=" as ">" in some cases 2021-07-14 12:08:37 +00:00
spd_db_conn.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_db_handlersocket.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_db_handlersocket.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_db_include.h MDEV-17508 Fix bug for spider when using "not like" 2019-11-25 15:40:01 +01:00
spd_db_mysql.cc MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-08 16:04:29 +10:00
spd_db_mysql.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_db_oracle.cc MDEV-7098 spider/bg.spider_fixes failed in buildbot with safe_mutex: Trying to unlock mutex conn->mta_conn_mutex that wasn't locked at storage/spider/spd_db_conn.cc, line 671 2020-09-07 10:18:43 +09:00
spd_db_oracle.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_direct_sql.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_direct_sql.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_err.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_i_s.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_include.h MDEV-7098 spider/bg.spider_fixes failed in buildbot with safe_mutex: Trying to unlock mutex conn->mta_conn_mutex that wasn't locked at storage/spider/spd_db_conn.cc, line 671 2020-09-07 10:18:43 +09:00
spd_malloc.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_malloc.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_param.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_param.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_ping_table.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_ping_table.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_sys_table.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_sys_table.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_table.cc MDEV-7098 spider/bg.spider_fixes failed in buildbot with safe_mutex: Trying to unlock mutex conn->mta_conn_mutex that wasn't locked at storage/spider/spd_db_conn.cc, line 671 2020-09-07 10:18:43 +09:00
spd_table.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_trx.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
spd_trx.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_udf.cc Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_udf.def
spd_udf.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00