[MDEV-17167] InnoDB: Failing assertion: table->get_ref_count() == 0 upon truncating a temporary table Created: 2018-09-10 Updated: 2019-05-14 Resolved: 2018-10-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Temporary, Prepared Statements, Storage Engine - InnoDB |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.3.10, 10.4.0, 10.2.25 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Elena Stepanova | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | affects-tests, regression | ||
| Issue Links: |
|
||||||||
| Description |
|
Note: I have no idea why PREPARE is important in the scenario below, but it doesn't crash without it.
The failure starting happening in 10.3 from this commit:
|
| Comments |
| Comment by Marko Mäkelä [ 2018-09-10 ] |
|
The test seems to work without crashes on the 10.2-based branch that I merged to 10.3, but it does crash in 10.3. |
| Comment by Sergey Vojtovich [ 2018-09-12 ] |
|
serg, please review fix for this bug. I'm not completely sure on replication and LOCK TABLES impact, however basic tests passed. Patch: https://github.com/MariaDB/server/commit/e11e0e6c8b9a85ca7f16c6b9b28fb505d464a96e |