Allow mysqltest to run COMMIT statement under --ps-protocol
Fix the regular expression that determines which statements can use the Prepared Statement API, when --ps-protocol is used. The current regular expression allows COMMIT only if it is followed by a whitespace. Meaning that statement "COMMIT ;" is allowed to run with prepared statements, while "COMMIT;" is not. Fix the filter so that both are allowed. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
This commit is contained in:
parent
85bcc7d263
commit
c772344510
@ -9620,7 +9620,7 @@ void init_re(void)
|
||||
//"[[:space:]]*CALL[[:space:]]|" // XXX run_query_stmt doesn't read multiple result sets
|
||||
"[[:space:]]*CHANGE[[:space:]]|"
|
||||
"[[:space:]]*CHECKSUM[[:space:]]|"
|
||||
"[[:space:]]*COMMIT[[:space:]]|"
|
||||
"[[:space:]]*COMMIT[[:space:]]*|"
|
||||
"[[:space:]]*COMPOUND[[:space:]]|"
|
||||
"[[:space:]]*CREATE[[:space:]]+DATABASE[[:space:]]|"
|
||||
"[[:space:]]*CREATE[[:space:]]+INDEX[[:space:]]|"
|
||||
|
Loading…
x
Reference in New Issue
Block a user