Commit 1531d732 authored by marko's avatar marko

branches/zip: Restore the transaction commit that was removed in r1583.

ha_innobase::add_index(): Do commit the transaction, because the error
handler (label err1) in mysql_alter_table() won't commit it as of now.
This was detected in a failure of type_bit_innodb.
parent 8b40a79c
......@@ -8361,6 +8361,7 @@ error_handling:
func_exit:
mem_heap_free(heap);
innobase_commit_low(trx);/* work around a bug in mysql_alter_table() */
/* There might be work for utility threads.*/
srv_active_wake_master_thread();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment