mariadb/row
marko a9a21fb983 branches/zip: Do not release the data dictionary latch while holding locks
to the data dictionary records.  This should fix Issue #83.

row_drop_table_for_mysql_no_commit(): Rename back to
row_drop_table_for_mysql().  Commit the transaction if the data
dictionary was not locked when the function was called.  Otherwise,
neither commit the transaction nor unlock the data dictionary.

row_merge_drop_table(): Let row_drop_table_for_mysql() take care of
locking the data dictionary.

dict_create_or_check_foreign_constraint_tables(),
trx_rollback_active(), row_create_table_for_mysql(),
row_create_index_for_mysql(), row_table_add_foreign_constraints():
Explicitly commit the transaction, because row_drop_table_for_mysql()
would no longer commit it, given that the data dictionary will be
locked during the calls.

Approved by Sunny (over IM). rb://23
2008-10-08 08:54:16 +00:00
..
row0ext.c branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
row0ins.c branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
row0merge.c branches/zip: Do not release the data dictionary latch while holding locks 2008-10-08 08:54:16 +00:00
row0mysql.c branches/zip: Do not release the data dictionary latch while holding locks 2008-10-08 08:54:16 +00:00
row0purge.c branches/zip: row_purge_remove_sec_if_poss_low(): Add a const qualifier. 2008-09-24 09:39:48 +00:00
row0row.c branches/zip: fixes issue# 36 2008-06-18 22:20:53 +00:00
row0sel.c branches/zip: 2008-08-21 14:23:46 +00:00
row0uins.c branches/zip: In the rollback of incomplete transactions after crash 2008-08-06 08:48:34 +00:00
row0umod.c branches/zip: row_undo_mod_del_unmark_sec_and_undo_update(): 2008-09-24 10:47:45 +00:00
row0undo.c branches/zip: Introduce UNIV_INTERN, a linkage specifier for InnoDB-global 2008-02-06 14:17:36 +00:00
row0upd.c branches/zip: row_upd_index_replace_new_col_val(): Fix the function 2008-03-13 13:26:23 +00:00
row0vers.c branches/zip issue# 33 2008-07-29 17:06:18 +00:00