summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-01-19 15:36:41 +0100
committerunknown <knielsen@mysql.com>2006-01-19 15:36:41 +0100
commitde9318556774688e36ff2b9800ead04ed7b71093 (patch)
treee12237d07ab5c2fd97e57642c8f6c8548fda6f32 /sql/mysqld.cc
parent8de1e4a8475855e737fb0b5ac1819bfd5665bded (diff)
downloadmariadb-git-de9318556774688e36ff2b9800ead04ed7b71093.tar.gz
Fix option type error, crashes on 64-bit big endian.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index f738bb7cee1..7f835c0e8e0 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -4825,7 +4825,7 @@ Disable with --skip-innodb-doublewrite.", (gptr*) &innobase_use_doublewrite,
"Set to 0 (write and flush once per second), 1 (write and flush at each commit) or 2 (write at commit, flush once per second).",
(gptr*) &srv_flush_log_at_trx_commit,
(gptr*) &srv_flush_log_at_trx_commit,
- 0, GET_UINT, OPT_ARG, 1, 0, 2, 0, 0, 0},
+ 0, GET_ULONG, OPT_ARG, 1, 0, 2, 0, 0, 0},
{"innodb_flush_method", OPT_INNODB_FLUSH_METHOD,
"With which method to flush data.", (gptr*) &innobase_unix_file_flush_method,
(gptr*) &innobase_unix_file_flush_method, 0, GET_STR, REQUIRED_ARG, 0, 0, 0,