summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-10-14 15:36:55 +0400
committerAlexander Nozdrin <alik@sun.com>2009-10-14 15:36:55 +0400
commit6b684c5806e0728b42c5c0ab7ae9939ab9dfec93 (patch)
tree049b7373511d6970d58fb06d12c2cf4cdc532269
parentc30d924dd5485f24818264d8e533820bcf1bcba0 (diff)
downloadmariadb-git-6b684c5806e0728b42c5c0ab7ae9939ab9dfec93.tar.gz
Fix test results after the latest merge.
-rw-r--r--mysql-test/r/func_str.result4
-rw-r--r--mysql-test/r/signal.result38
-rw-r--r--mysql-test/r/signal_demo3.result60
3 files changed, 51 insertions, 51 deletions
diff --git a/mysql-test/r/func_str.result b/mysql-test/r/func_str.result
index 39d11aa3e2c..779a125c5cc 100644
--- a/mysql-test/r/func_str.result
+++ b/mysql-test/r/func_str.result
@@ -2566,7 +2566,7 @@ SELECT format(12345678901234567890.123, 3, NULL);
format(12345678901234567890.123, 3, NULL)
12,345,678,901,234,567,890.123
Warnings:
-Warning 1647 Unknown locale: 'NULL'
+Warning 1649 Unknown locale: 'NULL'
SELECT format(12345678901234567890.123, 3, 'ar_AE');
format(12345678901234567890.123, 3, 'ar_AE')
12,345,678,901,234,567,890.123
@@ -2686,5 +2686,5 @@ SELECT format(123, 1, 'Non-existent-locale');
format(123, 1, 'Non-existent-locale')
123.0
Warnings:
-Warning 1647 Unknown locale: 'Non-existent-locale'
+Warning 1649 Unknown locale: 'Non-existent-locale'
End of 5.4 tests
diff --git a/mysql-test/r/signal.result b/mysql-test/r/signal.result
index 56140733c33..e20c6ee7455 100644
--- a/mysql-test/r/signal.result
+++ b/mysql-test/r/signal.result
@@ -580,7 +580,7 @@ SIGNAL foo;
ERROR 42000: Undefined CONDITION: foo
SIGNAL SQLSTATE '01000';
Warnings:
-Warning 1640 Unhandled user-defined warning condition
+Warning 1642 Unhandled user-defined warning condition
SIGNAL SQLSTATE '02000';
ERROR 02000: Unhandled user-defined not found condition
SIGNAL SQLSTATE '23000';
@@ -694,7 +694,7 @@ SIGNAL warn;
end $$
call test_signal() $$
Warnings:
-Warning 1640 Unhandled user-defined warning condition
+Warning 1642 Unhandled user-defined warning condition
drop procedure test_signal $$
create procedure test_signal()
begin
@@ -704,7 +704,7 @@ SIGNAL warn;
end $$
call test_signal() $$
Warnings:
-Warning 1640 Unhandled user-defined warning condition
+Warning 1642 Unhandled user-defined warning condition
drop procedure test_signal $$
create procedure test_signal()
begin
@@ -853,7 +853,7 @@ SIGNAL warn SET MESSAGE_TEXT = "Something bad happened";
end $$
call test_signal() $$
Warnings:
-Warning 1640 Something bad happened
+Warning 1642 Something bad happened
drop procedure test_signal $$
create procedure test_signal()
begin
@@ -878,7 +878,7 @@ SIGNAL something SET MESSAGE_TEXT = _utf8 "This is a UTF8 text";
end $$
call test_signal() $$
Warnings:
-Warning 1640 This is a UTF8 text
+Warning 1642 This is a UTF8 text
drop procedure test_signal $$
create procedure test_signal()
begin
@@ -887,7 +887,7 @@ SIGNAL something SET MESSAGE_TEXT = "";
end $$
call test_signal() $$
Warnings:
-Warning 1640
+Warning 1642
drop procedure test_signal $$
create procedure test_signal()
begin
@@ -896,10 +896,10 @@ SIGNAL warn SET MESSAGE_TEXT = "á a";
end $$
call test_signal() $$
Warnings:
-Warning 1640 á a
+Warning 1642 á a
show warnings $$
Level Code Message
-Warning 1640 á a
+Warning 1642 á a
drop procedure test_signal $$
#
# Test SET complex expressions
@@ -1162,17 +1162,17 @@ MYSQL_ERRNO = 10000;
end $$
call test_signal() $$
Warnings:
-Warning 1645 Data truncated for condition item 'CLASS_ORIGIN'
-Warning 1645 Data truncated for condition item 'SUBCLASS_ORIGIN'
-Warning 1645 Data truncated for condition item 'CONSTRAINT_CATALOG'
-Warning 1645 Data truncated for condition item 'CONSTRAINT_SCHEMA'
-Warning 1645 Data truncated for condition item 'CONSTRAINT_NAME'
-Warning 1645 Data truncated for condition item 'CATALOG_NAME'
-Warning 1645 Data truncated for condition item 'SCHEMA_NAME'
-Warning 1645 Data truncated for condition item 'TABLE_NAME'
-Warning 1645 Data truncated for condition item 'COLUMN_NAME'
-Warning 1645 Data truncated for condition item 'CURSOR_NAME'
-Warning 1645 Data truncated for condition item 'MESSAGE_TEXT'
+Warning 1647 Data truncated for condition item 'CLASS_ORIGIN'
+Warning 1647 Data truncated for condition item 'SUBCLASS_ORIGIN'
+Warning 1647 Data truncated for condition item 'CONSTRAINT_CATALOG'
+Warning 1647 Data truncated for condition item 'CONSTRAINT_SCHEMA'
+Warning 1647 Data truncated for condition item 'CONSTRAINT_NAME'
+Warning 1647 Data truncated for condition item 'CATALOG_NAME'
+Warning 1647 Data truncated for condition item 'SCHEMA_NAME'
+Warning 1647 Data truncated for condition item 'TABLE_NAME'
+Warning 1647 Data truncated for condition item 'COLUMN_NAME'
+Warning 1647 Data truncated for condition item 'CURSOR_NAME'
+Warning 1647 Data truncated for condition item 'MESSAGE_TEXT'
Warning 10000 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111112222222222222222222288888888
drop procedure test_signal $$
create procedure test_signal()
diff --git a/mysql-test/r/signal_demo3.result b/mysql-test/r/signal_demo3.result
index fea41ec2ef9..aa769659e51 100644
--- a/mysql-test/r/signal_demo3.result
+++ b/mysql-test/r/signal_demo3.result
@@ -78,15 +78,15 @@ ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
Error 1051 Unknown table 'oops_it_is_not_here'
-Error 1642 Oops in proc_9
-Error 1642 Oops in proc_8
-Error 1642 Oops in proc_7
-Error 1642 Oops in proc_6
-Error 1642 Oops in proc_5
-Error 1642 Oops in proc_4
-Error 1642 Oops in proc_3
-Error 1642 Oops in proc_2
-Error 1642 Oops in proc_1
+Error 1644 Oops in proc_9
+Error 1644 Oops in proc_8
+Error 1644 Oops in proc_7
+Error 1644 Oops in proc_6
+Error 1644 Oops in proc_5
+Error 1644 Oops in proc_4
+Error 1644 Oops in proc_3
+Error 1644 Oops in proc_2
+Error 1644 Oops in proc_1
SET @@session.max_error_count = 5;
SELECT @@session.max_error_count;
@@session.max_error_count
@@ -95,11 +95,11 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
-Error 1642 Oops in proc_5
-Error 1642 Oops in proc_4
-Error 1642 Oops in proc_3
-Error 1642 Oops in proc_2
-Error 1642 Oops in proc_1
+Error 1644 Oops in proc_5
+Error 1644 Oops in proc_4
+Error 1644 Oops in proc_3
+Error 1644 Oops in proc_2
+Error 1644 Oops in proc_1
SET @@session.max_error_count = 7;
SELECT @@session.max_error_count;
@@session.max_error_count
@@ -108,13 +108,13 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
-Error 1642 Oops in proc_7
-Error 1642 Oops in proc_6
-Error 1642 Oops in proc_5
-Error 1642 Oops in proc_4
-Error 1642 Oops in proc_3
-Error 1642 Oops in proc_2
-Error 1642 Oops in proc_1
+Error 1644 Oops in proc_7
+Error 1644 Oops in proc_6
+Error 1644 Oops in proc_5
+Error 1644 Oops in proc_4
+Error 1644 Oops in proc_3
+Error 1644 Oops in proc_2
+Error 1644 Oops in proc_1
SET @@session.max_error_count = 9;
SELECT @@session.max_error_count;
@@session.max_error_count
@@ -123,15 +123,15 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
-Error 1642 Oops in proc_9
-Error 1642 Oops in proc_8
-Error 1642 Oops in proc_7
-Error 1642 Oops in proc_6
-Error 1642 Oops in proc_5
-Error 1642 Oops in proc_4
-Error 1642 Oops in proc_3
-Error 1642 Oops in proc_2
-Error 1642 Oops in proc_1
+Error 1644 Oops in proc_9
+Error 1644 Oops in proc_8
+Error 1644 Oops in proc_7
+Error 1644 Oops in proc_6
+Error 1644 Oops in proc_5
+Error 1644 Oops in proc_4
+Error 1644 Oops in proc_3
+Error 1644 Oops in proc_2
+Error 1644 Oops in proc_1
drop database demo;
SET @@global.max_error_count = @start_global_value;
SELECT @@global.max_error_count;