summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/query_cache.result8
-rw-r--r--mysql-test/r/sel000100.result4
-rw-r--r--mysql-test/r/sp-error.result2
-rw-r--r--mysql-test/r/symlink.result2
-rw-r--r--mysql-test/r/variables.result2
-rw-r--r--mysql-test/t/sel000100.test4
-rw-r--r--mysql-test/t/sp-error.test42
7 files changed, 31 insertions, 33 deletions
diff --git a/mysql-test/r/query_cache.result b/mysql-test/r/query_cache.result
index b8b4f243ac4..664943157c1 100644
--- a/mysql-test/r/query_cache.result
+++ b/mysql-test/r/query_cache.result
@@ -1248,10 +1248,10 @@ Variable_name Value
Qcache_queries_in_cache 0
show status like "Qcache_inserts";
Variable_name Value
-Qcache_inserts 41
+Qcache_inserts 1
show status like "Qcache_hits";
Variable_name Value
-Qcache_hits 13
+Qcache_hits 1
/**/ select * from t1;
a
/**/ select * from t1;
@@ -1261,8 +1261,8 @@ Variable_name Value
Qcache_queries_in_cache 1
show status like "Qcache_inserts";
Variable_name Value
-Qcache_inserts 42
+Qcache_inserts 2
show status like "Qcache_hits";
Variable_name Value
-Qcache_hits 14
+Qcache_hits 2
drop table t1;
diff --git a/mysql-test/r/sel000100.result b/mysql-test/r/sel000100.result
index 3ffa4004b84..39600b755c1 100644
--- a/mysql-test/r/sel000100.result
+++ b/mysql-test/r/sel000100.result
@@ -29,10 +29,10 @@ drop table t1,t2;
CREATE TABLE t1 (
html varchar(5) default NULL,
rin int(11) default '0',
-out int(11) default '0'
+rout int(11) default '0'
) TYPE=MyISAM;
INSERT INTO t1 VALUES ('1',1,0);
-SELECT DISTINCT html,SUM(out)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
+SELECT DISTINCT html,SUM(rout)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
html prod
1 0.00
drop table t1;
diff --git a/mysql-test/r/sp-error.result b/mysql-test/r/sp-error.result
index 11935e4b137..95fe8edf321 100644
--- a/mysql-test/r/sp-error.result
+++ b/mysql-test/r/sp-error.result
@@ -35,7 +35,7 @@ call foo();
ERROR HY000: PROCEDURE foo does not exist
drop procedure if exists foo;
Warnings:
-Warning 1272 PROCEDURE foo does not exist
+Warning 1275 PROCEDURE foo does not exist
create procedure foo()
foo: loop
leave bar;
diff --git a/mysql-test/r/symlink.result b/mysql-test/r/symlink.result
index 216fb4d6124..4469ca36941 100644
--- a/mysql-test/r/symlink.result
+++ b/mysql-test/r/symlink.result
@@ -46,8 +46,6 @@ alter table t8 rename t7;
rename table t7 to t9;
drop table t1;
Got one of the listed errors
-Warnings:
-Note 1008 Can't drop database 'test_mysqltest'; database doesn't exist
Got one of the listed errors
Got one of the listed errors
Got one of the listed errors
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 1e1aeb365c1..8bbe773ed01 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -311,7 +311,7 @@ set sql_log_bin=1;
set sql_log_off=1;
set sql_log_update=1;
Warnings:
-Note 1282 The update log is deprecated and replaced by the binary log. SET SQL_LOG_UPDATE has been ignored.
+Note 1285 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_max_join_size=200;
select @@sql_max_join_size,@@max_join_size;
diff --git a/mysql-test/t/sel000100.test b/mysql-test/t/sel000100.test
index c9923d178c6..8c673566847 100644
--- a/mysql-test/t/sel000100.test
+++ b/mysql-test/t/sel000100.test
@@ -38,11 +38,11 @@ drop table t1,t2;
CREATE TABLE t1 (
html varchar(5) default NULL,
rin int(11) default '0',
- out int(11) default '0'
+ rout int(11) default '0'
) TYPE=MyISAM;
INSERT INTO t1 VALUES ('1',1,0);
-SELECT DISTINCT html,SUM(out)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
+SELECT DISTINCT html,SUM(rout)/(SUM(rin)+1) as 'prod' FROM t1 GROUP BY rin;
drop table t1;
diff --git a/mysql-test/t/sp-error.test b/mysql-test/t/sp-error.test
index 448a571fa11..01e05246d3e 100644
--- a/mysql-test/t/sp-error.test
+++ b/mysql-test/t/sp-error.test
@@ -32,18 +32,18 @@ create function func1() returns int
return 42|
# Can't create recursively
---error 1270
+--error 1273
create procedure foo()
create procedure bar() set @x=3|
---error 1270
+--error 1273
create procedure foo()
create function bar() returns double return 2.3|
# Already exists
---error 1271
+--error 1274
create procedure proc1()
set @x = 42|
---error 1271
+--error 1274
create function func1() returns int
return 42|
@@ -51,32 +51,32 @@ drop procedure proc1|
drop function func1|
# Does not exist
---error 1272
+--error 1275
alter procedure foo|
---error 1272
+--error 1275
alter function foo|
---error 1272
+--error 1275
drop procedure foo|
---error 1272
+--error 1275
drop function foo|
---error 1272
+--error 1275
call foo()|
drop procedure if exists foo|
# LEAVE/ITERATE with no match
---error 1275
+--error 1278
create procedure foo()
foo: loop
leave bar;
end loop|
---error 1275
+--error 1278
create procedure foo()
foo: loop
iterate bar;
end loop|
# Redefining label
---error 1276
+--error 1279
create procedure foo()
foo: loop
foo: loop
@@ -85,14 +85,14 @@ foo: loop
end loop foo|
# End label mismatch
---error 1277
+--error 1280
create procedure foo()
foo: loop
set @x=2;
end loop bar|
# Referring to undef variable
---error 1278
+--error 1281
create procedure foo(out x int)
begin
declare y int;
@@ -106,17 +106,17 @@ begin
select name from mysql.proc;
select type from mysql.proc;
end|
---error 1279
+--error 1282
call foo()|
drop procedure foo|
# RETURN in FUNCTION only
---error 1280
+--error 1283
create procedure foo()
return 42|
# Doesn't allow queries in FUNCTIONs (for now :-( )
---error 1281
+--error 1284
create function foo() returns int
begin
declare x int;
@@ -130,13 +130,13 @@ create procedure p(x int)
create function f(x int) returns int
return x+42|
---error 1285
+--error 1288
call p()|
---error 1285
+--error 1288
call p(1, 2)|
---error 1285
+--error 1288
select f()|
---error 1285
+--error 1288
select f(1, 2)|
drop procedure p|