Details
Description
psergei's suggestion from MDEV-33704.
Attachments
Issue Links
- is blocked by
-
MDEV-33679 spider returns parsing failure on valid left join select by translating the on expression to ()
-
- Closed
-
- is duplicated by
-
MDEV-34003 ASAN: heap-use-after-free in memcpy from sql/protocol.cc on SELECT
-
- Closed
-
-
MDEV-34076 Spider: heap-use-after-free in my_convert on SELECT
-
- Closed
-
- relates to
-
MDEV-34003 ASAN: heap-use-after-free in memcpy from sql/protocol.cc on SELECT
-
- Closed
-
-
MDEV-34076 Spider: heap-use-after-free in my_convert on SELECT
-
- Closed
-
-
MDEV-34102 ASAN: heap-use-after-free in escape_string_for_mysql from spider_string::append_escape_string, UBSAN: runtime error: applying zero offset to null pointer in escape_string_for_mysql
-
- Confirmed
-
Hi psergei, ptal thanks:
upstream/bb-10.4-mdev-33742 ea6fc73758e38859bb2ad0dd9aedbf5b173b398e
MDEV-33742 Do not create spider group by handler when all tables are constant
Also removed a macro PARTITION_HAS_GET_CHILD_HANDLERS which is defined
in spd_environ.h, similar to MDEV-27658.
The test spider/bugfix.mdev_33679 covers a case where all tables are const, and spider/bugfix.mdev_26247 covers at least one case where some but not all tables are const.