[MDEV-10216] Assertion `strcmp(share->unique_file_name,filename) || share->last_version' failed in myisam/mi_open.c:67: test_if_reopen Created: 2016-06-12 Updated: 2016-08-09 Resolved: 2016-08-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.2-1 | ||||||||
| Description |
|
|
| Comments |
| Comment by Nirbhay Choubey (Inactive) [ 2016-06-15 ] |
|
svoj Could you please review this patch? http://lists.askmonty.org/pipermail/commits/2016-June/009452.html |
| Comment by Michael Widenius [ 2016-06-21 ] |
|
This related issue with ALTER TABLE ... RENAME also fails: create temporary table t1 (a int) engine=aria; This fails in 10.2 with this assert: DBUG_ASSERT(thd->mdl_context.is_lock_owner(MDL_key::TABLE, table->db, As temporary tables are created with random internally names, any rename of these should not try to rename the table in the handler but instead just alter the name in the TABLE object, to make the sql level see the new name. |
| Comment by Nirbhay Choubey (Inactive) [ 2016-06-21 ] |
|
http://lists.askmonty.org/pipermail/commits/2016-June/009477.html |
| Comment by Nirbhay Choubey (Inactive) [ 2016-08-09 ] |
|
Approved by Monty on IRC. |