diff options
author | Eugene Kosov <claprix@yandex.ru> | 2018-01-23 11:57:54 +0300 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-01-23 14:45:37 +0400 |
commit | 3532a421f6e272c739f4c435e80a354ba13da824 (patch) | |
tree | 072f220a15e5a329848975009e31205a95224c94 /sql/sql_partition.cc | |
parent | a04b07eb342fa00f952e8fd60216ea781bc7c5d7 (diff) | |
download | mariadb-git-3532a421f6e272c739f4c435e80a354ba13da824.tar.gz |
fix build for recent clang
/home/kevg/work/mariadb/sql/sql_partition.cc:286:47: error: cannot initialize a parameter of type 'HA_CREATE_INFO *' (aka 'st_ha_create_information *') with an rvalue of type 'ulonglong' (aka 'unsigned long long')
(ulonglong)0, (uint)0);
^~~~~~~~~~~~
/home/kevg/work/mariadb/sql/partition_info.h:281:72: note: passing argument to parameter 'info' here
bool set_up_defaults_for_partitioning(handler *file, HA_CREATE_INFO *info,
^
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 01dcc7cc2ac..8e58c34162f 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -283,7 +283,7 @@ bool partition_default_handling(TABLE *table, partition_info *part_info, } } part_info->set_up_defaults_for_partitioning(table->file, - (ulonglong)0, (uint)0); + NULL, (uint)0); DBUG_RETURN(FALSE); } |