Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
11.2.3, 11.3.2
-
Windows x64
Description
I'm using a temporary table in stored function. It works fine on first call, but if I repeatedly call this stored function, the second call hangs at the open cursor statement whit "no such table" error.
Sample attached.
Repeated calls works fine on 11.1.2, but not on 11.2.3, 11.3.2.
Attachments
Issue Links
- is caused by
-
MDEV-31799 Unexpected ER_TRG_NO_SUCH_ROW_IN_TRG and server crash after ALTER TABLE
-
- Closed
-
- relates to
-
MDEV-5816 MySQL WL#4179 - Stored programs: validation of stored program statements
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Summary | Reuse temporary table | Recreate/reuse temporary table |
Affects Version/s | 11.2.3 [ 29521 ] |
Description |
I'm using a temporary table in stored function. It works fine on first call, but if I repeatedly call this stored function, the second call hangs at the open cursor statement whit "no such table" error.
Sample attached. This repeatedly calls works fine on 11.1.2, bur not works on 11.2.3, 11.3.2. |
I'm using a temporary table in stored function. It works fine on first call, but if I repeatedly call this stored function, the second call hangs at the open cursor statement whit "no such table" error.
Sample attached. This repeatedly calls works fine on 11.1.2, but not works on 11.2.3, 11.3.2. |
Attachment | temptable.sql [ 73188 ] |
Attachment | temptable.sql [ 73189 ] |
Fix Version/s | 11.2 [ 28603 ] | |
Fix Version/s | 11.3 [ 28565 ] |
Link |
This issue is caused by |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Assignee | Dmitry Shulga [ JIRAUSER47315 ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Dmitry Shulga [ JIRAUSER47315 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Component/s | Stored routines [ 13905 ] | |
Fix Version/s | 11.2.4 [ 29631 ] | |
Fix Version/s | 11.4.2 [ 29633 ] | |
Fix Version/s | 11.5.1 [ 29634 ] | |
Fix Version/s | 11.3 [ 28565 ] | |
Fix Version/s | 11.2 [ 28603 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Description |
I'm using a temporary table in stored function. It works fine on first call, but if I repeatedly call this stored function, the second call hangs at the open cursor statement whit "no such table" error.
Sample attached. This repeatedly calls works fine on 11.1.2, but not works on 11.2.3, 11.3.2. |
I'm using a temporary table in stored function. It works fine on first call, but if I repeatedly call this stored function, the second call hangs at the open cursor statement whit "no such table" error.
Sample attached. Repeated calls works fine on 11.1.2, but not on 11.2.3, 11.3.2. |
Thank you for the report! I repeated as described on 11.2-11.3
Regression after f329fe1c235ae0f29f465b464360d6c19c181959 commit (
MDEV-31799Unexpected ER_TRG_NO_SUCH_ROW_IN_TRG and server crash after ALTER TABLE )