diff options
author | unknown <serg@serg.mylan> | 2005-05-28 01:28:18 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-05-28 01:28:18 +0200 |
commit | 260bfacaa9104290c77f9742a9fa871a643a922c (patch) | |
tree | 80915f4cb7be15d9964fb93e81281b658ce0961c /innobase/row | |
parent | b4859c59d51baa12e6ee9f6950c024af3ef2a6fd (diff) | |
parent | 755d2018ada199005b70b4836f6fbb56e2e7b892 (diff) | |
download | mariadb-git-260bfacaa9104290c77f9742a9fa871a643a922c.tar.gz |
merged
innobase/row/row0mysql.c:
Auto merged
sql/hash_filo.h:
Auto merged
Diffstat (limited to 'innobase/row')
-rw-r--r-- | innobase/row/row0mysql.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index fd720046e31..fafbef4c999 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -3151,6 +3151,7 @@ row_drop_table_for_mysql( foreign = UT_LIST_GET_FIRST(table->referenced_list); while (foreign && foreign->foreign_table == table) { + check_next_foreign: foreign = UT_LIST_GET_NEXT(referenced_list, foreign); } @@ -3179,6 +3180,10 @@ row_drop_table_for_mysql( goto funct_exit; } + if (foreign && trx->check_foreigns) { + goto check_next_foreign; + } + if (table->n_mysql_handles_opened > 0) { ibool added; |