Bug #59651 Assertion `table_ref->has_record' failed with join_cache_level=3
| Submitted: | 21 Jan 2011 10:31 | Modified: | 26 Apr 2011 15:43 |
|---|---|---|---|
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S1 (Critical) |
| Version: | 5.6.2-debug | OS: | Any |
| Assigned to: | Guilhem Bichot | CPU Architecture: | Any |
| Tags: | join_cache_level, optimizer_switch, regression | ||
[21 Jan 2011 10:31]
Shane Bester
[21 Jan 2011 10:32]
Shane Bester
testcase. import into debug build
Attachment: bug59651.sql (, text), 9.64 KiB.
[21 Jan 2011 16:04]
Valeriy Kravchuk
With current mysql-trunk (5.6.2-m5-debug, built with BUILD/compile-pentium-debug-max, not with valgrind) since revno 3511 on Mac OS X I get: macbook-pro:trunk openxs$ bin/mysql -uroot test < ~/Downloads/bug59651.sql ERROR 1062 (23000) at line 30: Duplicate entry '00' for key 'PRIMARY' and no assertion failure.
[21 Jan 2011 16:42]
Valeriy Kravchuk
Verified finally: Version: '5.6.2-m5-debug' socket: '/tmp/mysql.sock' port: 3306 Source distribution Assertion failed: (table_ref->has_record), function join_read_key2, file /Users/openxs/bzr2/mysql-trunk-work/sql/sql_select.cc, line 18067. 110121 18:41:10 - mysqld got signal 6 ; ... One has to source test case in mysql to get this assertion failure.
[22 Jan 2011 7:30]
Øystein Grøvlen
Error only happens with join_cache_level==3.
(Succeeds for join_cache_level=={0,1,2,4})
[26 Apr 2011 15:43]
Paul DuBois
Noted in 5.6.3 changelog. Setting join_cache_level=3 caused an assertion to be raised for some queries. CHANGESET - http://lists.mysql.com/commits/136078
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.