Merge heikki@build.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.0
This commit is contained in:
commit
92a66fc11f
@ -3687,6 +3687,10 @@ innobase_drop_database(
|
||||
trx->mysql_thd = current_thd;
|
||||
trx->mysql_query_str = &((*current_thd).query);
|
||||
|
||||
if (current_thd->options & OPTION_NO_FOREIGN_KEY_CHECKS) {
|
||||
trx->check_foreigns = FALSE;
|
||||
}
|
||||
|
||||
error = row_drop_database_for_mysql(namebuf, trx);
|
||||
|
||||
/* Flush the log to reduce probability that the .frm files and
|
||||
|
Loading…
x
Reference in New Issue
Block a user