mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
MDEV-16708: Fixed ths issue with handling of ERR packet received by mysqltest
on response to COM_STMT_EXECUTE
The test cases like the following one
delimiter |;
CREATE PROCEDURE SP001()
BEGIN
DECLARE C1 CURSOR FOR SELECT 1;
OPEN C1;
SELECT 1;
CLOSE C1;
CLOSE C1;
END|
delimiter ;|
--error 1326
call SP001();
are failed since processing of ERR packet was missed by mysqltest
in case it is run with --ps-protocol
Additionally, the test sp-error was changed to don't run multi-statements
since they are not supported by PS protocol
This commit is contained in:
committed by
Sergei Golubchik
parent
a72098421c
commit
fc71746a6a
@@ -3711,7 +3711,7 @@ DROP PROCEDURE IF EXISTS p2;
|
||||
|
||||
delimiter |;
|
||||
|
||||
SET sql_mode = '';
|
||||
SET sql_mode = ''|
|
||||
CREATE PROCEDURE p1()
|
||||
BEGIN
|
||||
DECLARE var1 INTEGER DEFAULT 'string';
|
||||
@@ -3721,7 +3721,7 @@ END|
|
||||
--echo
|
||||
CALL p1()|
|
||||
--echo
|
||||
SET sql_mode = DEFAULT;
|
||||
SET sql_mode = DEFAULT|
|
||||
|
||||
CREATE PROCEDURE p2()
|
||||
BEGIN
|
||||
|
||||
Reference in New Issue
Block a user