• davi@mysql.com/endora.local's avatar
    Bug#32890 Crash after repeated create and drop of tables and views · 0e914618
    davi@mysql.com/endora.local authored
    The problem is that CREATE VIEW statements inside prepared statements
    weren't being expanded during the prepare phase, which leads to objects
    not being allocated in the appropriate memory arenas.
    
    The solution is to perform the validation of CREATE VIEW statements
    during the prepare phase of a prepared statement. The validation
    during the prepare phase assures that transformations of the parsed
    tree will use the permanent arena of the prepared statement.
    0e914618
sql_prepare.cc 87.1 KB