mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-30310 Assertion failure in best_access_path upon IN exceeding IN_PREDICATE_CONVERSION_THRESHOLD, derived_with_keys=off
The bug was some old code that, without any explanation, reset PART_KEY_FLAG from fields in temporary tables. This caused join_tab->key_dependent to not be updated properly, which caused an assert.
This commit is contained in:
@ -130,7 +130,7 @@ mysql_stmt_next_result(): 0; field_count: 0
|
||||
# cat MYSQL_TMP_DIR/test_mdev26145.out.log
|
||||
# ------------------------------------
|
||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
||||
def MAX(a) MAX(a) 3 11 0 Y 32768 0 63
|
||||
def MAX(a) MAX(a) 3 11 0 Y 49152 0 63
|
||||
# ------------------------------------
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user