• konstantin@mysql.com's avatar
    Fixes for bug#8115 "Server Crash with prepared statement" · fe2d63a0
    konstantin@mysql.com authored
     and bug#8849 "problem with insert statement with table alias's": 
    make equality propagation work in stored procedures and prepared 
    statements.
    Equality propagation can change AND/OR structure of ON expressions,
    so the fix is to provide each execution of PS/SP with it's own
    copy of AND/OR tree. We have been doing that already for WHERE clauses,
    now ON clauses are also copied.
    fe2d63a0
mysql_priv.h 53.8 KB