1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

variables.result, sp-error.result:

fix up test result.
This commit is contained in:
paul@kite-hub.kitebird.com
2004-06-16 00:46:26 -05:00
parent 877d44dae9
commit 23fa7987e0
2 changed files with 7 additions and 7 deletions

View File

@ -97,13 +97,13 @@ insert into test.t1 values (x)|
create function f(x int) returns int create function f(x int) returns int
return x+42| return x+42|
call p()| call p()|
ERROR 42000: Wrong number of arguments for PROCEDURE p, expected 1, got 0 ERROR 42000: Incorrect number of arguments for PROCEDURE p; expected 1, got 0
call p(1, 2)| call p(1, 2)|
ERROR 42000: Wrong number of arguments for PROCEDURE p, expected 1, got 2 ERROR 42000: Incorrect number of arguments for PROCEDURE p; expected 1, got 2
select f()| select f()|
ERROR 42000: Wrong number of arguments for FUNCTION f, expected 1, got 0 ERROR 42000: Incorrect number of arguments for FUNCTION f; expected 1, got 0
select f(1, 2)| select f(1, 2)|
ERROR 42000: Wrong number of arguments for FUNCTION f, expected 1, got 2 ERROR 42000: Incorrect number of arguments for FUNCTION f; expected 1, got 2
drop procedure p| drop procedure p|
drop function f| drop function f|
create procedure p(val int, out res int) create procedure p(val int, out res int)
@ -219,7 +219,7 @@ fetch c into x;
close c; close c;
end| end|
call p()| call p()|
ERROR HY000: Wrong number of FETCH variables ERROR HY000: Incorrect number of FETCH variables
drop procedure p| drop procedure p|
create procedure p() create procedure p()
begin begin
@ -232,7 +232,7 @@ fetch c into x, y, z;
close c; close c;
end| end|
call p()| call p()|
ERROR HY000: Wrong number of FETCH variables ERROR HY000: Incorrect number of FETCH variables
drop procedure p| drop procedure p|
create procedure p(in x int, x char(10)) create procedure p(in x int, x char(10))
begin begin

View File

@ -364,7 +364,7 @@ set sql_log_bin=1;
set sql_log_off=1; set sql_log_off=1;
set sql_log_update=1; set sql_log_update=1;
Warnings: Warnings:
Note 1308 The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored. Note 1308 The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored
set sql_low_priority_updates=1; set sql_low_priority_updates=1;
set sql_max_join_size=200; set sql_max_join_size=200;
select @@sql_max_join_size,@@max_join_size; select @@sql_max_join_size,@@max_join_size;