[MDEV-28860] `set @@SQL_SELECT_LIMIT=...` will case the query gets stuck forever Created: 2022-06-16 Updated: 2022-08-02 Resolved: 2022-08-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | N/A |
| Affects Version/s: | 10.6.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Xiaoguang Wang | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian |
||
| Description |
|
And something more troublesome: I have many similar tables which are generated by archiver monthly, this bug ONLY occurs on two recent tables but not the old ones, although all these tables have exactly the same structure (all created by `CREATE TABLE LIKE`) and more or less the same amount data.
|
| Comments |
| Comment by Xiaoguang Wang [ 2022-06-16 ] |
|
Surprisingly, after I do the `create table like / insert into ... select ...` to create a new table, the problem disappears ........ |
| Comment by Elena Stepanova [ 2022-07-25 ] |
|
Did you try to run CHECK on the tables? Are there any errors in the error log? |
| Comment by Xiaoguang Wang [ 2022-07-26 ] |
|
Nothing in error log. I haven't tried CHECK. At that time, after the recreation of the table, I can not reproduce the bug. Feel free to close the issue if there is no more clue (ps: although I still think there is something wrong .... the single SELECT works but the WITH CTE query fails) |