diff options
author | Monty <monty@mariadb.org> | 2018-05-15 12:30:32 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-05-15 13:12:35 +0300 |
commit | b050df4fd3ee5f2377a814fd24ac3774d1458f99 (patch) | |
tree | cd4b05e9e20c6dfe6f9f9d42a402cf934ec7c583 /mysql-test/t | |
parent | 197bf0fe35efb148c4e751e1b695786d61238e8e (diff) | |
download | mariadb-git-b050df4fd3ee5f2377a814fd24ac3774d1458f99.tar.gz |
MDEV-14943 Alter table ORDER BY bug
Problem was that if copy_data_between_tables() didn't do proper
clean up in case of failures:
- copy object was not properly freed
- end_bulk_insert() was not called
- mysql_trans_prepare_alter_copy_data() set THD->transaction.on to
false which was not properly restored
The last part caused a crash in Aria as Aria depends on that THD
is correct.
Other things:
- Reset info->switched_transactional after usage (safety)
- Reset bulk_insert_single_undo (safety)
Diffstat (limited to 'mysql-test/t')
0 files changed, 0 insertions, 0 deletions