mariadb/dict
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
..
dict0boot.c branches/zip: Non-functional change: 2008-09-22 06:59:58 +00:00
dict0crea.c branches/zip: Do not release the data dictionary latch while holding locks 2008-10-08 08:54:16 +00:00
dict0dict.c branches/zip: Simplify the autoinc initialization code. This removes the 2008-10-04 06:24:56 +00:00
dict0load.c branches/zip: When creating an index in innodb_strict_mode, check that 2008-09-18 12:31:17 +00:00
dict0mem.c branches/zip: Merge revisions 2702:2722 from branches/5.1: 2008-10-04 03:22:36 +00:00