Commit b1d3192f authored by marko's avatar marko

branches/zip: row_merge_drop_temp_indexes(): Use COMMIT WORK instead of

trx_commit_for_mysql().
parent a877fffc
...@@ -1824,6 +1824,7 @@ row_merge_drop_temp_indexes(void) ...@@ -1824,6 +1824,7 @@ row_merge_drop_temp_indexes(void)
"\t\tDELETE FROM SYS_INDEXES WHERE CURRENT OF c;\n" "\t\tDELETE FROM SYS_INDEXES WHERE CURRENT OF c;\n"
"\tEND LOOP;\n" "\tEND LOOP;\n"
"\tCLOSE c;\n" "\tCLOSE c;\n"
"\tCOMMIT WORK;\n"
"END;\n"; "END;\n";
trx = trx_allocate_for_background(); trx = trx_allocate_for_background();
...@@ -1834,7 +1835,6 @@ row_merge_drop_temp_indexes(void) ...@@ -1834,7 +1835,6 @@ row_merge_drop_temp_indexes(void)
ut_a(err == DB_SUCCESS); ut_a(err == DB_SUCCESS);
row_mysql_unlock_data_dictionary(trx); row_mysql_unlock_data_dictionary(trx);
trx_commit_for_mysql(trx);
trx_free_for_background(trx); trx_free_for_background(trx);
} }
......
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