[MDEV-493] Assertion thd->transaction.stmt.is_empty() in prepared statement when MEMORY table implicitly dropped after server restart Created: 2012-08-27 Updated: 2012-09-06 Resolved: 2012-09-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.25 |
| Fix Version/s: | 5.5.28 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Oleksandr Byelkin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I get the following assertion when using ./mtr --ps-protocol in 5.5:
Here is a full test case, remember it only causes assertion/crash if run with
The situation is the following. We have a MEMORY table. We restart the server, We then access the table with a prepared statement. As a side effect an In this situation, we hit this assertion in sql_prepare.cc: /* No need to commit statement transaction, it's not started. */ |
| Comments |
| Comment by Sergei Golubchik [ 2012-09-06 ] |
|
Fixed as |