1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-16708: fix in test failures caused by missing warnings received in prepare response packet

This commit is contained in:
Dmitry Shulga
2021-06-09 23:03:34 +07:00
committed by Sergei Golubchik
parent b126c3f3fa
commit ccb0504fb0
11 changed files with 34 additions and 6 deletions

View File

@@ -247,6 +247,7 @@ CALL comment();
CALL comment;
DROP PROCEDURE comment;
enable_prepare_warnings;
DELIMITER /;
CREATE FUNCTION comment RETURN INT COMMENT 'test' AS
BEGIN
@@ -254,7 +255,6 @@ BEGIN
END;
/
DELIMITER ;/
enable_prepare_warnings;
SELECT test.comment() FROM DUAL;
disable_prepare_warnings;
DROP FUNCTION comment;
@@ -570,8 +570,8 @@ call p1(1,2);
drop procedure p1;
delimiter //;
set sql_mode=ORACLE;
delimiter //;
create or replace procedure p1(id int, dt int) as
begin
while (1)