Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
createStatement() used sql.contains("call") to force the binary protocol for stored-procedure calls (needed for OUT parameters), so queries like SELECT callback FROM t were misrouted. Replaced with a proper prefix check that skips leading whitespace/comments and matches a leading CALL keyword.
Reported and initially fixed by yunhobb (PR #92).