mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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.
This commit is contained in:
parent
f29addba49
commit
9b2a9caf47
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue