summaryrefslogtreecommitdiff
path: root/sql/create_options.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2012-08-14 19:59:28 +0300
committerMichael Widenius <monty@askmonty.org>2012-08-14 19:59:28 +0300
commitb886cac7123bc37d055fecd49d9a30ce0c39da73 (patch)
treec20877daef97377e843fd3c821a58b6c90f08174 /sql/create_options.cc
parentc0f04fa31cd46c2507b2152eeeeb4950e0d5edc9 (diff)
downloadmariadb-git-b886cac7123bc37d055fecd49d9a30ce0c39da73.tar.gz
Fixed compiler errors
Updated test to also work on 32 bit mysql-test/suite/heap/heap.test: Updated test to also work on 32 bit
Diffstat (limited to 'sql/create_options.cc')
-rw-r--r--sql/create_options.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/create_options.cc b/sql/create_options.cc
index 9a6f6b5cf7c..e4881388688 100644
--- a/sql/create_options.cc
+++ b/sql/create_options.cc
@@ -137,7 +137,10 @@ static bool set_one_value(ha_create_table_option *opt,
my_option optp=
{ opt->name, 1, 0, (uchar **)val, 0, 0, GET_ULL,
- REQUIRED_ARG, opt->def_value, opt->min_value, opt->max_value,
+ REQUIRED_ARG,
+ (longlong) opt->def_value,
+ (longlong) opt->min_value,
+ opt->max_value,
0, (long) opt->block_size, 0};
ulonglong orig_val= strtoull(value->str, NULL, 10);