From b886cac7123bc37d055fecd49d9a30ce0c39da73 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Tue, 14 Aug 2012 19:59:28 +0300 Subject: 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 --- sql/create_options.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sql/create_options.cc') 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); -- cgit v1.2.1