Commit fa7f615a authored by unknown's avatar unknown

variables.result, sp-error.result:

  fix up test result.


mysql-test/r/sp-error.result:
  fix up test result.
mysql-test/r/variables.result:
  fix up test result.
parent fe2211b6
...@@ -97,13 +97,13 @@ insert into test.t1 values (x)| ...@@ -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; ...@@ -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; ...@@ -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
......
...@@ -364,7 +364,7 @@ set sql_log_bin=1; ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment