[MDEV-32037] The select result is incorrect Created: 2023-08-29 Updated: 2023-08-30 Resolved: 2023-08-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.11.6 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | csfuzz | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
Reproduce step: docker run --restart=always --name mariadb -p 3318:3306 -e MYSQL_ROOT_PASSWORD=123456 -d quay.io/mariadb-foundation/mariadb-devel:latest-lts And then in mariadb,
first execution run the SQL query in select_query.sql second execution run
and the SQL query in select_query.sql You will find that the results of the two runs are completely different. |
| Comments |
| Comment by Alice Sherepa [ 2023-08-30 ] |
|
The query does not have ORDER BY clause, so results are not sorted. So both results are correct, simply in different order. |