[MDEV-19491] update query stopped working after mariadb upgrade 10.2.23 -> 10.2.24 Created: 2019-05-16 Updated: 2020-08-25 Resolved: 2019-06-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update |
| Affects Version/s: | 10.1, 10.2.24, 10.3.15, 10.2, 10.3, 10.4 |
| Fix Version/s: | 10.2.25, 5.5.65, 10.1.41, 10.3.16, 10.4.6 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Daniel Gavrila | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 4 |
| Labels: | None | ||
| Environment: |
Linux ip-10-202-100-10 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux Debian 9.9 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Update query that was working on mariadb 10.2.23 stopped working after upgrade to 10.2.24.
The following steps can be taken to replicate the issue:
The above UPDATE query fails with:
General log output:
No error log entries |
| Comments |
| Comment by Alice Sherepa [ 2019-05-16 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks! Repeatable on 10.1-10.4:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alice Sherepa [ 2019-05-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Test case from
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrien Crivelli [ 2019-05-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Yet another use-case involving a procedure. The trigger try to call the procedure, but it will fail if the trigger was triggered by a query including a JOIN. Removing the JOIN will make it work, but in our real-world use-case it does not match our business requirements.
Expected result of the last SELECT command is:
But actual result is:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2019-05-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
just FYI, this issue has a Blocker priority, meaning it will be in the next MariaDB release of whatever major version you're using. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Gavrila [ 2019-05-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you, much appreciated. |