• Igor Babaev's avatar
    MDEV-25206 Crash with CREATE VIEW .. SELECT with non-existing field · aba78841
    Igor Babaev authored
               in ON condition
    
    The fix of the bug MDEV-25002 for 10.4 turned out to be incomplete. It
    caused crashes when executing CREATE VIEW, CREATE TABLE .. SELECT,
    INSERT .. SELECT statements if their SELECTs contained references to
    non-existing fields.
    This patch complements the fix for MDEV-25002 in order to avoid such
    crashes.
    
    Approved by Oleksandr Byelkin <sanja@mariadb.com>
    aba78841
view.test 168 KB