Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.8, 1.1.0
-
Component/s: MariaDB Server
-
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 MCOL-424 but we only need to do this for real tables, not derived.