• Igor Babaev's avatar
    MDEV-21673 Calling stored procedure twice in the same session causes MariaDB to crash · 21b87437
    Igor Babaev authored
    This bug could happen only with a stored procedure containing queries with
    more than one reference to a CTE that used local variables / parameters.
    
    This bug was the result of an incomplete merge of the fix for the bug
    MDEV-17154. The merge covered usage of parameter markers occurred in a CTE
    that was referenced more than once, but missed coverage of local variables.
    21b87437
sql_lex.cc 240 KB