[MDEV-3014] LP:828514 - Assertion `! is_set()' failed in Diagnostics_area::set_ok_status with derived table + subquery + concurrent DML Created: 2011-08-18 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: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
When executing concurrent queries such as: CREATE TABLE transforms.insert_select_16453 the server asserts as follows: mysqld: sql_class.cc:563: void Diagnostics_area::set_ok_status(THD*, ha_rows, ulonglong, const char*): Assertion `! is_set()' failed.
optimizer 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=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on bzr version-info: revision-id: <email address hidden> Reproducible with maria-5.3. Not reproducible with mysql-5.5, maria-5.2 and maria-5.3 before the derived table changes. |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2011-08-18 ] |
|
Re: Assertion `! is_set()' failed in Diagnostics_area::set_ok_status with derived table + subquery + concurrent DML $ bzr branch lp-randgen $ perl runall.pl - Please ignore all message from the RQG except for the final crash report. |
| Comment by Philip Stoev (Inactive) [ 2011-08-18 ] |
|
To reproduce with the RQG: $ bzr branch lp-randgen $ perl runall.pl - Please ignore all message from the RQG except for the final crash report. grammar file |
| Comment by Philip Stoev (Inactive) [ 2011-08-18 ] |
|
Re: Assertion `! is_set()' failed in Diagnostics_area::set_ok_status with derived table + subquery + concurrent DML |
| Comment by Philip Stoev (Inactive) [ 2011-08-18 ] |
|
core + binary + datadir |
| Comment by Philip Stoev (Inactive) [ 2011-08-18 ] |
|
Re: Assertion `! is_set()' failed in Diagnostics_area::set_ok_status with derived table + subquery + concurrent DML Notice that the concurrent workload creates innodb deadlock errors – CREATE ... SELECT may cause write locks on both participating tables? |
| Comment by Michael Widenius [ 2011-09-03 ] |
|
Re: Assertion `! is_set()' failed in Diagnostics_area::set_ok_status with derived table + subquery + concurrent DML |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-01 ] |
|
Launchpad bug id: 828514 |