diff options
author | unknown <heikki@hundin.mysql.fi> | 2005-09-23 21:36:07 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2005-09-23 21:36:07 +0300 |
commit | b9cc841b1060a90d9e9af8982bf33f44eec93f47 (patch) | |
tree | 1946acbe18de4693b47471e55a36e1be3de0b74f /innobase | |
parent | b16c4cd74ac7e97a4ffb6cf503a987bc52f10ba6 (diff) | |
download | mariadb-git-b9cc841b1060a90d9e9af8982bf33f44eec93f47.tar.gz |
row0ins.c:
Fix a compilation error: Visual C++ does not seem to allow variable declaration in the middle of a program block
innobase/row/row0ins.c:
Fix a compilation error: Visual C++ does not seem to allow variable declaration in the middle of a program block
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/row/row0ins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/row/row0ins.c b/innobase/row/row0ins.c index 60d7a640f9a..db871a53c42 100644 --- a/innobase/row/row0ins.c +++ b/innobase/row/row0ins.c @@ -1253,9 +1253,10 @@ run_again: if (check_table == NULL || check_table->ibd_file_missing) { if (check_ref) { + FILE* ef = dict_foreign_err_file; + row_ins_set_detailed(trx, foreign); - FILE* ef = dict_foreign_err_file; mutex_enter(&dict_foreign_err_mutex); rewind(ef); ut_print_timestamp(ef); |