• Oleksandr Byelkin's avatar
    MDEV-7765: Crash (Assertion `!table || (!table->write_set ||... · 6b614c62
    Oleksandr Byelkin authored
    MDEV-7765: Crash (Assertion `!table || (!table->write_set || bitmap_is_set(table->write_set, field_index) || bitmap_is_set(table->vcol_set, field_index))' fails) on using function over not created table
    
    Problem was that created table was not marked as used (not set query_id) and so opening tables for stored function pick it up (as opened place holder for it) and used changing TABLE internals.
    6b614c62
sql_insert.cc 142 KB