[MDEV-22556] Incorrect result for window function when using encrypt-tmp-files=ON Created: 2020-05-14 Updated: 2020-10-02 Resolved: 2020-05-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Optimizer |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.5.4, 10.4.14 |
| Type: | Bug | Priority: | Major |
| Reporter: | Varun Gupta (Inactive) | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | binlog_index, reinit_io_cache | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Here is the mtr test case:
and the opt file used is
The result of the query is
Now lets run the query with encrypt-tmp-files=OFF
and re run the query
The result returned with encrypt-tmp-files=OFF is correct. The table t1 has 5k rows. |
| Comments |
| Comment by Varun Gupta (Inactive) [ 2020-05-14 ] |
|
Had a discussion with serg He said: Further observation, not directly related to this issue but why is lseek used to change end_of_file (related to
|
| Comment by Varun Gupta (Inactive) [ 2020-05-14 ] |
|
Patch |