Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.2.9
-
None
Description
The following text protocol prepared statement cannot be parsed.
SET @sql='SELECT 1'; |
PREPARE a FROM @sql; |
This causes uses of the prepared statement to fail.
An adequate solution would be to classify these as either unknown types or writes, both of which would cause the query to be routed to the master.