summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2005-09-23 21:36:07 +0300
committerunknown <heikki@hundin.mysql.fi>2005-09-23 21:36:07 +0300
commitb9cc841b1060a90d9e9af8982bf33f44eec93f47 (patch)
tree1946acbe18de4693b47471e55a36e1be3de0b74f /innobase
parentb16c4cd74ac7e97a4ffb6cf503a987bc52f10ba6 (diff)
downloadmariadb-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.c3
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);