Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
22.08
-
None
-
MXS-SPRINT-172
Description
Currently the statement
SET STATEMENT max_statement_time = 60 FOR SELECT 1
|
is classified like QUERY_TYPE_READ|QUERY_TYPE_GSYSVAR_WRITE, which will cause it to be sent to all servers. However, as the variable changes caused by SET STATEMENT are effective only for the duration of the specified statement, they should simply be ignored and the whole statement classified as QUERY_TYPE_READ.