• Vicențiu Ciorbaru's avatar
    MDEV-7122: Assertion `0' failed in subselect_hash_sj_engine::init · 775cccca
    Vicențiu Ciorbaru authored
    The select mentioned in the bug attempted to create a temporary table
    using the maria storage engine. The table needs to have primary keys such that
    duplicates can be removed. Unfortunately this use case has a longer
    than allowed key and the tmp table got created without a temporary key.
    We must not allow materialization for the subquery if the total key
    length and key parts is greater than what the storage engine supports.
    775cccca
subselect.test 197 KB