Skip to content

Commit 3532a42

Browse files
kevgssvoj
authored andcommitted
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, ^
1 parent a04b07e commit 3532a42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_partition.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ bool partition_default_handling(TABLE *table, partition_info *part_info,
283283
}
284284
}
285285
part_info->set_up_defaults_for_partitioning(table->file,
286-
(ulonglong)0, (uint)0);
286+
NULL, (uint)0);
287287
DBUG_RETURN(FALSE);
288288
}
289289

0 commit comments

Comments
 (0)