[MDEV-2536] LP:901681 - Assertion join->best_read < ((double)1.79...e+308L) failed at bool greedy_search(JOIN*, table_map, uint, uint) with semijoin_with_cache=on and STRAIGHT_JOIN Created: 2011-12-08 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
mysqld: sql_select.cc:6050: bool greedy_search(JOIN*, table_map, uint, uint): Assertion `join->best_read < ((double)1.79769313486231570815e+308L)' failed. #6 0x00007fb9af92a235 in __assert_fail () from /lib64/libc.so.6 bzr version-info Not reproducible on 3315. Minimal switch: semijoin_with_cache=on (included into the test case) Full switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on t3 needs to be Aria or MyISAM, but not InnoDB. EXPLAIN also fails. Test case: SET optimizer_switch='semijoin_with_cache=on'; CREATE TABLE t1 ( a INT, UNIQUE KEY(a) ); SELECT * FROM t1 WHERE a IN ( SELECT b FROM t2 STRAIGHT_JOIN t3 ); |
| Comments |
| Comment by Igor Babaev [ 2011-12-12 ] |
|
Re: Assertion join->best_read < ((double)1.79...e+308L) failed at bool greedy_search(JOIN*, table_map, uint, uint) with semijoin_with_cache=on and STRAIGHT_JOIN |
| Comment by Igor Babaev [ 2011-12-12 ] |
|
Re: Assertion join->best_read < ((double)1.79...e+308L) failed at bool greedy_search(JOIN*, table_map, uint, uint) with semijoin_with_cache=on and STRAIGHT_JOIN |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 901681 |