[MDEV-8796] Delete with sub query with information_schema.TABLES deletes too many rows Created: 2015-09-14 Updated: 2015-10-09 Resolved: 2015-10-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Delete |
| Affects Version/s: | 10.0.21, 5.5, 10.1 |
| Fix Version/s: | 5.5.46, 10.0.22, 10.1.8 |
| Type: | Bug | Priority: | Critical |
| Reporter: | P.R. Water | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
CentOS 7 Linux or-dev02 3.10.0-123.9.2.el7.x86_64 |
||
| Description |
|
The following statements show that a delete with sub query with information_schema.TABLES deletes too many rows.
The code above works fine on Percona Server 5.6.25, MariaDB 10.0.19, but fails on MariaDB 10.0.20 and MariaDB 10.0.21. The following work-a-round works fine:
|
| Comments |
| Comment by Elena Stepanova [ 2015-09-16 ] | |||||
|
Thanks for the report and the test case. The problem appeared with this commit on 5.5 tree:
|