[MCOL-652] Derived tables in a join subquery cause error Created: 2017-03-31 Updated: 2017-04-05 Resolved: 2017-04-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | 1.0.8, 1.1.0 |
| Fix Version/s: | 1.0.9, 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrew Hutchings (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-6, 2017-7 |
| Description |
|
When using a join with a derived table you get the error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'USE INDEX () join (select 1 AS `dummy`,count(test.vehicle.id) AS `total_vehicles' at line 1 We add USE INDEX() as part of |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-03-31 ] |
|
Pull request open for 1.0 and develop server trees |
| Comment by Daniel Lee (Inactive) [ 2017-04-04 ] |
|
Build tested: 1.0.9-1 (branch develop-1.0) Reproduced the issue in 1.0.8-1 (1um2pm stack) with just one procedure call Verified 1.0.9-1. Called 10 times without causing the error. |
| Comment by Daniel Lee (Inactive) [ 2017-04-05 ] |
|
Build verified: 1.1.0-1 (GitHub develop branch) Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. Did the same test as for 1.0.9-1 |