[MDEV-3637] LP:680943 - Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed with subquery Created: 2010-11-24 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: | Major |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Assertion: mysqld: field.cc:3730: virtual longlong Field_long::val_int(): Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed. backtrace: #8 0x00a72d98 in __assert_fail () from /lib/libc.so.6 explain: id select_type table type possible_keys key key_len ref rows Extra test case: CREATE TABLE t1 (f1 int,f3 int) ; CREATE TABLE t2 (f1 int,f2 int,f3 int) ; SELECT f2 |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2010-11-25 ] |
|
Re: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed with subquery |
| Comment by Timour Katchaounov (Inactive) [ 2010-11-29 ] |
|
Re: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed with subquery http://bugs.mysql.com/bug.php?id=53830 |
| Comment by Timour Katchaounov (Inactive) [ 2010-11-30 ] |
|
Re: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed with subquery The problem lies in filesort.cc:find_all_keys(). When find_all_keys() is called for the outer query, it resets all However, in the loop for each current record the procedure calls |
| Comment by Igor Babaev [ 2012-01-13 ] |
|
Re: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed with subquery |
| Comment by Rasmus Johansson (Inactive) [ 2012-01-13 ] |
|
Launchpad bug id: 680943 |