[MCOL-793] ORDER BY NULL breaks subsequent query Created: 2017-06-28 Updated: 2017-07-13 Resolved: 2017-07-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 1.0.9 |
| Fix Version/s: | 1.0.10, 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | MG | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-14 |
| Description |
|
After an error, WHERE and LIMIT is ignored for Columnstore table |
| Comments |
| Comment by MG [ 2017-06-28 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-06-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi MG, I keep trying to reply to your IRC messages, but you are gone by the time I wake up. Interestingly this is only after an "ORDER BY NULL" and not any other invalid column. My guess is the server is setting a flag which doesn't get used due to the error and it gets used on the subsequent query. The ORDER BY is actually getting ignored too. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-07-11 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pull requests in 1.0 and 1.1. Patch stops ORDER BY NULL falling through and thinking that NULL is a column name. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2017-07-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Builds verified: Github source for 1.0.10 and 1.1.0 1.0.10-1 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show 1.1.0-1 [root@localhost mariadb-columnstore-server]# git show [root@localhost mariadb-columnstore-engine]# git show |