Commit 53bc68c
Mattias Jonsson
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).
--BZR--
revision-id: [email protected]
property-branch-nick: b54483-51-bt_2
property-file-info: ld7:file_id69:sp1f-partition.result-20050718113029-xlmjyugiq5h2b5wjp236ipsmkmej7i627:message14:Updated result4:path29:mysql-test/r/partition.resulted7:file_id73:sp1f-partition_error.resu-20050720124221-iacosg62tkflqhizuvhtiem5oeicwjit7:message14:Updated result4:path35:mysql-test/r/partition_error.resulted7:file_id73:sp1f-partition_supported_-20070206122235-d4lujt63rfn3kiaeuhhhj2d3oggxxewh7:message41:disabled test with not allowed arguments.4:path60:mysql-test/suite/parts/inc/part_supported_sql_funcs_main.inced7:file_id73:sp1f-partition_supported_-20070206122237-o7rr33pphmqy4asfttem5wxdgba7z3e57:message14:Updated result4:path62:mysql-test/suite/parts/r/part_supported_sql_func_innodb.resulted7:file_id73:sp1f-partition_supported_-20070206122237-dm76phwsi4svmc4msli2bdj6ltdtofnw7:message14:Updated result4:path62:mysql-test/suite/parts/r/part_supported_sql_func_myisam.resulted7:file_id67:sp1f-partition.test-20050718113034-pbo3ht3bf4gfa3mz44on3sqafyctwo357:message72:Fixed typo in bug number and removed non allowed function (bad argument)4:path27:mysql-test/t/partition.tested7:file_id73:sp1f-partition_error.test-20050720124214-od2aou4vzloggrqktgmbjzvuhajiukpm7:message47:Added tests to verify correct type of argument.4:path33:mysql-test/t/partition_error.tested7:file_id59:sp1f-item.h-19700101030959-rrkb43htudd62batmoteashkebcwykpa7:message57:Renamed processor since it is no longer only for timezone4:path10:sql/item.hed7:file_id64:sp1f-item_func.h-19700101030959-fbjcbwkg66qubbzptqwh5w5evhnpukze7:message63:Added help functions for checking date/time/datetime arguments.4:path15:sql/item_func.hed7:file_id68:sp1f-item_timefunc.h-19700101030959-o34ypz6ggolzqmhgsjnqh6inkvgugi467:message41:Added processors for argument correctness4:path19:sql/item_timefunc.hed7:file_id69:sp1f-sql_partition.cc-20050718113038-57h5bzswps6cel2y7k7qideue3ghbg3u7:message45:renamed the processor for checking arguments.4:path20:sql/sql_partition.ccee
testament3-sha1: 13fc4192acde2db3fba98d6ce41daa66538574db1 parent 7ba7817 commit 53bc68c
File tree
11 files changed
+4637
-7286
lines changed- mysql-test
- r
- suite/parts
- inc
- r
- t
- sql
11 files changed
+4637
-7286
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
1781 | | - | |
| 1781 | + | |
1782 | 1782 | | |
1783 | 1783 | | |
1784 | 1784 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 26 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
142 | | - | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
| 188 | + | |
185 | 189 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
195 | 199 | | |
196 | 200 | | |
197 | 201 | | |
| |||
0 commit comments