forked from twitter-forks/mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG#27927:Partition pruning not optimal with TO_DAYS and YEAR functions
- Introduced val_int_endpoint() function which converts between func argument intervals and func value intervals for monotonic functions. - Made partition interval analyzer use part_expr->val_int_endpoint() to check if the edge values should be included. --BZR-- revision-id: [email protected] property-file-info: ld7:file_id73:sp1f-partition_pruning.re-20051222092851-tdvef3tnyhio2fj4ktnbr4ienfg7k5qr7:message84:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Testcase property-file-info: 4:path37:mysql-test/r/partition_pruning.resulted7:file_id73:sp1f-partition_pruning.te-20051222092851-w33h4bmtllkwolwe5birv6mwcwoe2uys7:message84:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Testcase property-file-info: 4:path35:mysql-test/t/partition_pruning.tested7:file_id60:sp1f-item.cc-19700101030959-u7hxqopwpfly4kf5ctlyk2dvrq4l3dhn7:message127:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Added Item_field::val_int_endpoint() implementation property-file-info: 4:path11:sql/item.cced7:file_id59:sp1f-item.h-19700101030959-rrkb43htudd62batmoteashkebcwykpa7:message208:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Added Item::val_int_endpoint() which converts intervals from argument property-file-info: space to function value space for unary monotonic functions. property-file-info: 4:path10:sql/item.hed7:file_id69:sp1f-item_timefunc.cc-19700101030959-rvvlgmw5b4ewpuuxuntrkiqimyrr5sw27:message132:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Added val_int_endpoint() for TO_DAYS and YEAR functions. property-file-info: 4:path20:sql/item_timefunc.cced7:file_id68:sp1f-item_timefunc.h-19700101030959-o34ypz6ggolzqmhgsjnqh6inkvgugi467:message132:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Added val_int_endpoint() for TO_DAYS and YEAR functions. property-file-info: 4:path19:sql/item_timefunc.hed7:file_id69:sp1f-partition_info.h-20060216163824-oojk3ek2w7xkojv2h6uztsuhocdplhmr7:message159:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Removed partition_info::range_analysis_include_bounds as it is no longer property-file-info: needed. property-file-info: 4:path20:sql/partition_info.hed7:file_id69:sp1f-sql_partition.cc-20050718113038-57h5bzswps6cel2y7k7qideue3ghbg3u7:message193:BUG#27927: Partition pruning not optimal with TO_DAYS and YEAR functions property-file-info: - Make partition interval analyzer use part_expr->val_int_endpoint() to property-file-info: check if the edge values should be included. property-file-info: 4:path20:sql/sql_partition.ccee property-sp1-file-info: ld9:commit_id76:[email protected]|mysql-test/r/partition_pruning.result|20070914101738|487337:file_id93:[email protected]|mysql-test/r/partition_pruning.result|20051222092851|01415|91706b543348e0c3ed9:commit_id74:[email protected]|mysql-test/t/partition_pruning.test|20070914101739|295477:file_id91:[email protected]|mysql-test/t/partition_pruning.test|20051222092851|57151|5e8e58a7c785d704ed9:commit_id50:[email protected]|sql/item.cc|20070914101739|349187:file_id52:BK|sql/item.cc|19700101030959|01725|b82371a0c68be6a6ed9:commit_id49:[email protected]|sql/item.h|20070914101740|625797:file_id51:BK|sql/item.h|19700101030959|01790|4946c5ca165e60e5ed9:commit_id59:[email protected]|sql/item_timefunc.cc|20070914101740|640397:file_id61:BK|sql/item_timefunc.cc|19700101030959|01731|bb3f949d4e7b8d00ed9:commit_id58:[email protected]|sql/item_timefunc.h|20070914101740|188337:file_id59:BK|sql/item_timefunc.h|19700101030959|01795|e0e87c0bf7ee9d0ed9:commit_id59:[email protected]|sql/partition_info.h|20070914101740|009797:file_id67:reggie@big_geek.|sql/partition_info.h|20060216163824|19530|a56054d6ed9:commit_id59:[email protected]|sql/sql_partition.cc|20070914101740|250667:file_id78:[email protected]|sql/sql_partition.cc|20050718113038|15074|f29678eaaeda46f8ee testament3-sha1: be3743672da609da20961869527745a13305ea49
- Loading branch information
1 parent
4826f07
commit b351445
Showing
8 changed files
with
182 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters