• unknown's avatar
    Fix calls to free_underlaid_joins() in INSERT, DELETE, and UPDATE · ab597139
    unknown authored
    handling so that indexes are closed before trying to commit the
    transaction. (Bug #15536)
    
    
    mysql-test/r/bdb.result:
      Add new results
    mysql-test/t/bdb.test:
      Add new test
    sql/sql_delete.cc:
      Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
    sql/sql_insert.cc:
      Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
    sql/sql_update.cc:
      Move call to free_underlaid_joins() to before ha_autocommit_or_rollback().
    ab597139
sql_insert.cc 55.6 KB