• unknown's avatar
    Fix for bug #13399 Crash when executing PS/SP which should activate trigger · d518f702
    unknown authored
    which is now dropped" and bug #12329 "Bogus error msg when executing PS with
    stored procedure after SP was re-created".
    
    
    mysql-test/r/sp-error.result:
      Added test for bug #12329 "Bogus error msg when executing PS with stored
      procedure after SP was re-created".
    mysql-test/r/trigger.result:
      Added test for bug #13399 Crash when executing PS/SP which should activate
      trigger which is now dropped".
    mysql-test/t/sp-error.test:
      Added test for bug #12329 "Bogus error msg when executing PS with stored
      procedure after SP was re-created".
    mysql-test/t/trigger.test:
      Added test for bug #13399 Crash when executing PS/SP which should activate
      trigger which is now dropped".
    sql/sp_head.cc:
      sp_head::add_used_tables_to_table_list():
        We have to copy database/table names and alias to PS/SP memory since current
        instance of sp_head object can pass away before next execution of PS/SP for
        which tables are added to prelocking list.
        This will be fixed by introducing of proper invalidation mechanism once new
        TDC is ready.
    d518f702
sp_head.cc 75.4 KB