mariadb/storage/spider
Yuchen Pei 0a4315509b
MDEV-36723 Fix an MSAN caused by memcmp going over a string boundary
When spider tries to find a partition matching a name passed from the
sql layer, it construct the partition name with NORMAL_PART_NAME.
However, the name passed from the sql layer could be constructed with
other types of name, such as TEMP_PART_NAME, which is a longer string.
Spider does handle TEMP_PART_NAME in other places of
spider_get_partition_info, but overall it is not able to handle
partition changes involving redistributing data to partitions which
can result in TEMP_PART_NAME. That is a more involved issue. In this
patch, we simply follow the existing intended logic and fix the MSAN
complaint.
2025-09-05 11:03:49 +10:00
..
mysql-test/spider MDEV-32907 Spider: do not create gbh if encountering Item_aggregate_ref 2025-07-14 11:24:20 +10:00
CMakeLists.txt Merge branch '10.5' into 10.6 2024-10-15 16:00:44 +11:00
configure.in MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
ha_spider.cc MDEV-36723 Fix an MSAN caused by memcmp going over a string boundary 2025-09-05 11:03:49 +10:00
ha_spider.h MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_conn.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_conn.h MDEV-28526 Spider: remove conn_kind member variables 2025-01-22 11:20:06 +11:00
spd_copy_tables.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10: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-32907 Spider: do not create gbh if encountering Item_aggregate_ref 2025-07-14 11:24:20 +10:00
spd_db_conn.h Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01:00
spd_db_include.cc Merge branch '10.5' into 10.6 2024-09-11 15:49:16 +10:00
spd_db_include.h MDEV-30264 Remove unused method spider_db_result::fetch_row_from_tmp_table 2025-07-14 11:23:28 +10:00
spd_db_mysql.cc MDEV-32907 Spider: do not create gbh if encountering Item_aggregate_ref 2025-07-14 11:24:20 +10:00
spd_db_mysql.h MDEV-30264 Remove unused method spider_db_result::fetch_row_from_tmp_table 2025-07-14 11:23:28 +10:00
spd_direct_sql.cc Merge branch '10.5' into '10.6' 2025-02-27 04:02:33 +01:00
spd_direct_sql.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
spd_err.h Merge 10.5 into 10.6 2024-06-07 10:03:51 +03:00
spd_group_by_handler.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_group_by_handler.h MDEV-26345 Spider GBH should execute original queries on the data node 2024-10-15 15:36:12 +11:00
spd_i_s.cc Merge branch '10.5' into 10.6 2024-09-11 15:49:16 +10:00
spd_include.h MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_init_query.h Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
spd_malloc.cc Merge branch '10.5' into 10.6 2024-09-11 15:49:16 +10:00
spd_malloc.h MDEV-20179 Server hangs on shutdown during installation of Spider (#1368) 2019-07-30 06:16:48 +09:00
spd_param.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_param.h MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_ping_table.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_ping_table.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
spd_sys_table.cc Merge branch '10.5' into 10.6 2024-10-15 16:00:44 +11:00
spd_sys_table.h Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
spd_table.cc MDEV-36723 Fix an MSAN caused by memcmp going over a string boundary 2025-09-05 11:03:49 +10:00
spd_table.h MDEV-30436 Spider: deduplicate some sts/crd code. 2025-07-14 11:23:57 +10:00
spd_trx.cc MDEV-27474 Spider: remove #WITH_PARTITION_STORAGE_ENGINE 2025-07-14 11:23:51 +10:00
spd_trx.h MDEV-35807 Removed an unused function spider_cmp_trx_alter_table 2025-02-26 15:46:04 +11:00
spd_udf.cc MDEV-35735: UBSAN: spider udf functions mismatch with UDF defination 2025-01-12 13:40:18 +11:00
spd_udf.def MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00
spd_udf.h MDEV-35735: UBSAN: spider udf functions mismatch with UDF defination 2025-01-12 13:40:18 +11:00
spider.cnf Unify config syntax in default files 2020-08-01 10:31:41 +10:00