#At file:///Users/mattiasj/mysql-bzr/b54483-51-bt_2/ based on revid:sven.sandberg@stripped
3530 Mattias Jonsson 2010-12-22
Bug#54483: valgrind errors when making warnings for multiline inserts into partition
Bug#57071: EXTRACT(WEEK from date_col) cannot be allowed as partitioning function
There were functions allowed as partitioning functions
that implicit allowed cast. That could result in unacceptable
behaviour.
Solution was to check that the arguments of date and time functions
have allowed types (field and date/datetime/time depending on function).
@ mysql-test/r/partition.result
Updated result
@ mysql-test/r/partition_error.result
Updated result
@ mysql-test/suite/parts/inc/part_supported_sql_funcs_main.inc
disabled test with not allowed arguments.
@ mysql-test/suite/parts/r/part_supported_sql_func_innodb.result
Updated result
@ mysql-test/suite/parts/r/part_supported_sql_func_myisam.result
Updated result
@ mysql-test/t/partition.test
Fixed typo in bug number and removed non allowed function (bad argument)
@ mysql-test/t/partition_error.test
Added tests to verify correct type of argument.
@ sql/item.h
Renamed processor since it is no longer only for timezone
@ sql/item_func.h
Added help functions for checking date/time/datetime arguments.
@ sql/item_timefunc.h
Added processors for argument correctness
@ sql/sql_partition.cc
renamed the processor for checking arguments.
modified:
mysql-test/r/partition.result
mysql-test/r/partition_error.result
mysql-test/suite/parts/inc/part_supported_sql_funcs_main.inc
mysql-test/suite/parts/r/part_supported_sql_func_innodb.result
mysql-test/suite/parts/r/part_supported_sql_func_myisam.result
mysql-test/t/partition.test
mysql-test/t/partition_error.test
sql/item.h
sql/item_func.h
sql/item_timefunc.h
sql/sql_partition.cc
Diff too large for email (16279 lines, the limit is 10000).
No bundle (reason: no diff => no bundle).
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (mattias.jonsson:3530) Bug#54483Bug#57071 | Mattias Jonsson | 22 Dec |