summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorjani@ua141d10.elisa.omakaista.fi <>2004-02-03 18:10:45 +0000
committerjani@ua141d10.elisa.omakaista.fi <>2004-02-03 18:10:45 +0000
commita3dc5449e95d6c62c983ce7139d8e09a96f2e29e (patch)
tree5f93e274b0973de3168e0acdedbc204786e89ce9 /sql/unireg.cc
parent6a4e32d089f7bfb5c5c3dfc0371452828e02015d (diff)
downloadmariadb-git-a3dc5449e95d6c62c983ce7139d8e09a96f2e29e.tar.gz
Added new option --sync-frm / --skip-sync-frm
Marked --bdb-no-sync as deprecated Added --sync-bdb-logs / --disable-sync-bdb-logs as a synonym / alternative.
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index ff42bfae0f0..955e5cfda8a 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -150,7 +150,7 @@ int rea_create_table(my_string file_name,
my_free((gptr) screen_buff,MYF(0));
my_afree((gptr) keybuff);
- if (my_sync(file, MYF(MY_WME)))
+ if (opt_sync_frm && my_sync(file, MYF(MY_WME)))
goto err2;
if (my_close(file,MYF(MY_WME)) ||
ha_create_table(file_name,create_info,0))