Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ccf22b80
Commit
ccf22b80
authored
Dec 12, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix: Adjust message codes in results
parent
a285e680
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
67 additions
and
67 deletions
+67
-67
mysql-test/r/commit_1innodb.result
mysql-test/r/commit_1innodb.result
+1
-1
mysql-test/r/create_drop_binlog.result
mysql-test/r/create_drop_binlog.result
+1
-1
mysql-test/r/create_drop_view.result
mysql-test/r/create_drop_view.result
+1
-1
mysql-test/r/drop.result
mysql-test/r/drop.result
+4
-4
mysql-test/r/get_diagnostics.result
mysql-test/r/get_diagnostics.result
+1
-1
mysql-test/r/grant.result
mysql-test/r/grant.result
+1
-1
mysql-test/r/profiling.result
mysql-test/r/profiling.result
+1
-1
mysql-test/r/signal.result
mysql-test/r/signal.result
+17
-17
mysql-test/r/signal_demo3.result
mysql-test/r/signal_demo3.result
+21
-21
mysql-test/r/sp-error.result
mysql-test/r/sp-error.result
+2
-2
mysql-test/r/sp-group.result
mysql-test/r/sp-group.result
+1
-1
mysql-test/r/sp.result
mysql-test/r/sp.result
+2
-2
mysql-test/r/view.result
mysql-test/r/view.result
+1
-1
mysql-test/r/warnings.result
mysql-test/r/warnings.result
+1
-1
mysql-test/suite/funcs_1/r/innodb_views.result
mysql-test/suite/funcs_1/r/innodb_views.result
+3
-3
mysql-test/suite/funcs_1/r/memory_views.result
mysql-test/suite/funcs_1/r/memory_views.result
+3
-3
mysql-test/suite/funcs_1/r/myisam_views-big.result
mysql-test/suite/funcs_1/r/myisam_views-big.result
+3
-3
mysql-test/suite/rpl/r/rpl_create_drop_view.result
mysql-test/suite/rpl/r/rpl_create_drop_view.result
+1
-1
mysql-test/suite/rpl/r/rpl_sp.result
mysql-test/suite/rpl/r/rpl_sp.result
+2
-2
No files found.
mysql-test/r/commit_1innodb.result
View file @
ccf22b80
...
...
@@ -230,7 +230,7 @@ insert into t2 (a) values (1023);
do (f2(23));
Warnings:
Error 1062 Duplicate entry '23' for key 'a'
Note 409
3
At line 4 in test.f2
Note 409
4
At line 4 in test.f2
select * from t2;
a
1023
...
...
mysql-test/r/create_drop_binlog.result
View file @
ccf22b80
...
...
@@ -160,7 +160,7 @@ Note 1050 Table 'v1' already exists
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
SHOW BINLOG EVENTS;
Log_name Pos Event_type Server_id End_log_pos Info
# # Format_desc 1 # VER
...
...
mysql-test/r/create_drop_view.result
View file @
ccf22b80
...
...
@@ -55,5 +55,5 @@ id
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
DROP TABLE t1;
mysql-test/r/drop.result
View file @
ccf22b80
...
...
@@ -209,10 +209,10 @@ Note 1051 Unknown table 'test.table1'
Note 1051 Unknown table 'test.table2'
DROP VIEW IF EXISTS view1,view2,view3,view4;
Warnings:
Note 409
1
Unknown VIEW: 'test.view1'
Note 409
1
Unknown VIEW: 'test.view2'
Note 409
1
Unknown VIEW: 'test.view3'
Note 409
1
Unknown VIEW: 'test.view4'
Note 409
2
Unknown VIEW: 'test.view1'
Note 409
2
Unknown VIEW: 'test.view2'
Note 409
2
Unknown VIEW: 'test.view3'
Note 409
2
Unknown VIEW: 'test.view4'
# Test error message when trigger does not find table
CREATE TABLE table1(a int);
...
...
mysql-test/r/get_diagnostics.result
View file @
ccf22b80
...
...
@@ -590,7 +590,7 @@ DROP PROCEDURE p1;
SHOW WARNINGS;
Level Code Message
Error 54321 MESSAGE_TEXT text
Note 409
3
At line 16 in test.p1
Note 409
4
At line 16 in test.p1
CREATE PROCEDURE p1()
BEGIN
DECLARE var INT;
...
...
mysql-test/r/grant.result
View file @
ccf22b80
...
...
@@ -1428,7 +1428,7 @@ Warnings:
Note 1305 FUNCTION test.test_function does not exist
drop view if exists v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
create table test (col1 varchar(30));
create function test_function() returns varchar(30)
begin
...
...
mysql-test/r/profiling.result
View file @
ccf22b80
...
...
@@ -415,7 +415,7 @@ select @@profiling;
drop table if exists t1, t2, t3;
drop view if exists v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
drop function if exists f1;
set session profiling = OFF;
set global profiling_history_size= @start_value;
...
...
mysql-test/r/signal.result
View file @
ccf22b80
...
...
@@ -1715,7 +1715,7 @@ show warnings $$
Level Code Message
Warning 1012 Raising a warning
Error 5555 RESIGNAL to not found
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1740,7 +1740,7 @@ show warnings $$
Level Code Message
Warning 1012 Raising a warning
Error 5555 RESIGNAL to error
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1789,7 +1789,7 @@ show warnings $$
Level Code Message
Error 1012 Raising a not found
Error 5555 RESIGNAL to not found
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1814,7 +1814,7 @@ show warnings $$
Level Code Message
Error 1012 Raising a not found
Error 5555 RESIGNAL to error
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1863,7 +1863,7 @@ show warnings $$
Level Code Message
Error 1012 Raising an error
Error 5555 RESIGNAL to not found
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1888,7 +1888,7 @@ show warnings $$
Level Code Message
Error 1012 Raising an error
Error 5555 RESIGNAL to error
Note 409
3
At line 9 in test.test_resignal
Note 409
4
At line 9 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1931,7 +1931,7 @@ show warnings $$
Level Code Message
Warning 1264 Out of range value for column 'a' at row 1
Error 5555 RESIGNAL to a not found
Note 409
3
At line 8 in test.test_resignal
Note 409
4
At line 8 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -1953,7 +1953,7 @@ show warnings $$
Level Code Message
Warning 1264 Out of range value for column 'a' at row 1
Error 5555 RESIGNAL to an error
Note 409
3
At line 8 in test.test_resignal
Note 409
4
At line 8 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -2004,7 +2004,7 @@ show warnings $$
Level Code Message
Error 1329 No data - zero rows fetched, selected, or processed
Error 5555 RESIGNAL to a not found
Note 409
3
At line 10 in test.test_resignal
Note 409
4
At line 10 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -2030,7 +2030,7 @@ show warnings $$
Level Code Message
Error 1329 No data - zero rows fetched, selected, or processed
Error 5555 RESIGNAL to an error
Note 409
3
At line 10 in test.test_resignal
Note 409
4
At line 10 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -2073,7 +2073,7 @@ show warnings $$
Level Code Message
Error 1051 Unknown table 'test.no_such_table'
Error 5555 RESIGNAL to a not found
Note 409
3
At line 8 in test.test_resignal
Note 409
4
At line 8 in test.test_resignal
drop procedure test_resignal $$
create procedure test_resignal()
begin
...
...
@@ -2095,7 +2095,7 @@ show warnings $$
Level Code Message
Error 1051 Unknown table 'test.no_such_table'
Error 5555 RESIGNAL to an error
Note 409
3
At line 8 in test.test_resignal
Note 409
4
At line 8 in test.test_resignal
drop procedure test_resignal $$
#
# More complex cases
...
...
@@ -2142,7 +2142,7 @@ ERROR 42000: Hi, I am a useless error message
show warnings $$
Level Code Message
Error 9999 Hi, I am a useless error message
Note 409
3
At line 7 in test.peter_p2
Note 409
4
At line 7 in test.peter_p2
drop procedure peter_p1 $$
drop procedure peter_p2 $$
CREATE PROCEDURE peter_p1 ()
...
...
@@ -2198,16 +2198,16 @@ Level Code Message
Error 1231 Variable 'sql_mode' can't be set to the value of 'NULL'
Error 1232 Variable 'sql_mode' can't be set to the value of 'NULL'
Error 9999 Variable 'sql_mode' can't be set to the value of 'NULL'
Note 409
3
At line 8 in test.peter_p1
Note 409
4
At line 8 in test.peter_p1
ERROR 42000: Hi, I am a useless error message
show warnings $$
Level Code Message
Error 1231 Variable 'sql_mode' can't be set to the value of 'NULL'
Error 1232 Variable 'sql_mode' can't be set to the value of 'NULL'
Error 9999 Variable 'sql_mode' can't be set to the value of 'NULL'
Note 409
3
At line 8 in test.peter_p1
Note 409
4
At line 8 in test.peter_p1
Error 9999 Hi, I am a useless error message
Note 409
3
At line 10 in test.peter_p2
Note 409
4
At line 10 in test.peter_p2
drop procedure peter_p1 $$
drop procedure peter_p2 $$
drop procedure if exists peter_p3 $$
...
...
@@ -2225,7 +2225,7 @@ show warnings $$
Level Code Message
Error 1 Original
Error 2 Original
Note 409
3
At line 4 in test.peter_p3
Note 409
4
At line 4 in test.peter_p3
drop procedure peter_p3 $$
drop table t_warn;
drop table t_cursor;
...
...
mysql-test/r/signal_demo3.result
View file @
ccf22b80
...
...
@@ -79,23 +79,23 @@ show warnings;
Level Code Message
Error 1051 Unknown table 'demo.oops_it_is_not_here'
Error 1644 Oops in proc_9
Note 409
3
At line 4 in demo.proc_9
Note 409
4
At line 4 in demo.proc_9
Error 1644 Oops in proc_8
Note 409
3
At line 4 in demo.proc_8
Note 409
4
At line 4 in demo.proc_8
Error 1644 Oops in proc_7
Note 409
3
At line 4 in demo.proc_7
Note 409
4
At line 4 in demo.proc_7
Error 1644 Oops in proc_6
Note 409
3
At line 4 in demo.proc_6
Note 409
4
At line 4 in demo.proc_6
Error 1644 Oops in proc_5
Note 409
3
At line 4 in demo.proc_5
Note 409
4
At line 4 in demo.proc_5
Error 1644 Oops in proc_4
Note 409
3
At line 4 in demo.proc_4
Note 409
4
At line 4 in demo.proc_4
Error 1644 Oops in proc_3
Note 409
3
At line 4 in demo.proc_3
Note 409
4
At line 4 in demo.proc_3
Error 1644 Oops in proc_2
Note 409
3
At line 4 in demo.proc_2
Note 409
4
At line 4 in demo.proc_2
Error 1644 Oops in proc_1
Note 409
3
At line 4 in demo.proc_1
Note 409
4
At line 4 in demo.proc_1
SET @@session.max_error_count = 5;
SELECT @@session.max_error_count;
@@session.max_error_count
...
...
@@ -104,11 +104,11 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
Note 409
3
At line 4 in demo.proc_3
Note 409
4
At line 4 in demo.proc_3
Error 1644 Oops in proc_2
Note 409
3
At line 4 in demo.proc_2
Note 409
4
At line 4 in demo.proc_2
Error 1644 Oops in proc_1
Note 409
3
At line 4 in demo.proc_1
Note 409
4
At line 4 in demo.proc_1
SET @@session.max_error_count = 7;
SELECT @@session.max_error_count;
@@session.max_error_count
...
...
@@ -117,13 +117,13 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
Note 409
3
At line 4 in demo.proc_4
Note 409
4
At line 4 in demo.proc_4
Error 1644 Oops in proc_3
Note 409
3
At line 4 in demo.proc_3
Note 409
4
At line 4 in demo.proc_3
Error 1644 Oops in proc_2
Note 409
3
At line 4 in demo.proc_2
Note 409
4
At line 4 in demo.proc_2
Error 1644 Oops in proc_1
Note 409
3
At line 4 in demo.proc_1
Note 409
4
At line 4 in demo.proc_1
SET @@session.max_error_count = 9;
SELECT @@session.max_error_count;
@@session.max_error_count
...
...
@@ -132,15 +132,15 @@ call proc_1();
ERROR 45000: Oops in proc_1
show warnings;
Level Code Message
Note 409
3
At line 4 in demo.proc_5
Note 409
4
At line 4 in demo.proc_5
Error 1644 Oops in proc_4
Note 409
3
At line 4 in demo.proc_4
Note 409
4
At line 4 in demo.proc_4
Error 1644 Oops in proc_3
Note 409
3
At line 4 in demo.proc_3
Note 409
4
At line 4 in demo.proc_3
Error 1644 Oops in proc_2
Note 409
3
At line 4 in demo.proc_2
Note 409
4
At line 4 in demo.proc_2
Error 1644 Oops in proc_1
Note 409
3
At line 4 in demo.proc_1
Note 409
4
At line 4 in demo.proc_1
drop database demo;
SET @@global.max_error_count = @start_global_value;
SELECT @@global.max_error_count;
...
...
mysql-test/r/sp-error.result
View file @
ccf22b80
...
...
@@ -1990,8 +1990,8 @@ Warning 1264 Out of range value for column 'a' at row 1
Note 1292 Truncated incorrect INTEGER value: '222222 '
Warning 1264 Out of range value for column 'b' at row 1
Error 1048 Column 'c' cannot be null
Note 409
3
At line 6 in test.t1_bi
Note 409
3
At line 2 in test.p1
Note 409
4
At line 6 in test.t1_bi
Note 409
4
At line 2 in test.p1
DROP TABLE t1;
DROP TABLE t2;
...
...
mysql-test/r/sp-group.result
View file @
ccf22b80
...
...
@@ -3,7 +3,7 @@ Warnings:
Note 1051 Unknown table 'test.t1'
drop view if exists view_t1;
Warnings:
Note 409
1
Unknown VIEW: 'test.view_t1'
Note 409
2
Unknown VIEW: 'test.view_t1'
SET sql_mode=ONLY_FULL_GROUP_BY;
CREATE TABLE t1 (
pk INT,
...
...
mysql-test/r/sp.result
View file @
ccf22b80
...
...
@@ -3211,7 +3211,7 @@ drop procedure bug10961|
DROP PROCEDURE IF EXISTS bug6866|
DROP VIEW IF EXISTS tv|
Warnings:
Note 409
1
Unknown VIEW: 'test.tv'
Note 409
2
Unknown VIEW: 'test.tv'
DROP TABLE IF EXISTS tt1,tt2,tt3|
Warnings:
Note 1051 Unknown table 'test.tt1'
...
...
@@ -7823,7 +7823,7 @@ ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
show warnings;
Level Code Message
Error 1062 Duplicate entry '2' for key 'PRIMARY'
Note 409
3
At line 5 in test.p1
Note 409
4
At line 5 in test.p1
select * from t1;
id
1
...
...
mysql-test/r/view.result
View file @
ccf22b80
...
...
@@ -5166,7 +5166,7 @@ CREATE TABLE t4 (i4 INT);
INSERT INTO t4 VALUES (1),(2);
DROP VIEW IF EXISTS v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
CREATE VIEW v1 AS select coalesce(j1,i3) AS v1_field1 from t2 join t3 left join t1 on ( i1 = i2 );
CREATE VIEW v2 AS select v1_field1 from t4 join v1;
prepare my_stmt from "select v1_field1 from v2";
...
...
mysql-test/r/warnings.result
View file @
ccf22b80
...
...
@@ -353,7 +353,7 @@ ERROR 23000: Duplicate entry '11' for key 'a'
SHOW WARNINGS;
Level Code Message
Note 409
3
At line 4 in test.f1
Note 409
4
At line 4 in test.f1
Error 1062 Duplicate entry '11' for key 'a'
DROP TABLE t1;
...
...
mysql-test/suite/funcs_1/r/innodb_views.result
View file @
ccf22b80
...
...
@@ -4314,7 +4314,7 @@ CREATE VIEW v2 AS Select * from test.v1;
ERROR 42S02: Table 'test.v1' doesn't exist
DROP VIEW IF EXISTS v2;
Warnings:
Note 409
1
Unknown VIEW: 'test.v2'
Note 409
2
Unknown VIEW: 'test.v2'
Testcase 3.3.1.25
--------------------------------------------------------------------------------
...
...
@@ -7566,7 +7566,7 @@ Call sp1() ;
ERROR 42000: PROCEDURE test.sp1 does not exist
Drop view if exists test.v1 ;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
Drop procedure sp1 ;
ERROR 42000: PROCEDURE test.sp1 does not exist
...
...
@@ -21312,7 +21312,7 @@ CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
Testcase 3.3.1.68
--------------------------------------------------------------------------------
...
...
mysql-test/suite/funcs_1/r/memory_views.result
View file @
ccf22b80
...
...
@@ -4315,7 +4315,7 @@ CREATE VIEW v2 AS Select * from test.v1;
ERROR 42S02: Table 'test.v1' doesn't exist
DROP VIEW IF EXISTS v2;
Warnings:
Note 409
1
Unknown VIEW: 'test.v2'
Note 409
2
Unknown VIEW: 'test.v2'
Testcase 3.3.1.25
--------------------------------------------------------------------------------
...
...
@@ -7567,7 +7567,7 @@ Call sp1() ;
ERROR 42000: PROCEDURE test.sp1 does not exist
Drop view if exists test.v1 ;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
Drop procedure sp1 ;
ERROR 42000: PROCEDURE test.sp1 does not exist
...
...
@@ -21314,7 +21314,7 @@ CREATE VIEW v1 AS SELECT f1 FROM t1;
DROP VIEW IF EXISTS v1;
DROP VIEW IF EXISTS v1;
Warnings:
Note 409
1
Unknown VIEW: 'test.v1'
Note 409
2
Unknown VIEW: 'test.v1'
Testcase 3.3.1.68
--------------------------------------------------------------------------------
...
...
mysql-test/suite/funcs_1/r/myisam_views-big.result
View file @
ccf22b80
No preview for this file type
mysql-test/suite/rpl/r/rpl_create_drop_view.result
View file @
ccf22b80
...
...
@@ -99,7 +99,7 @@ DROP VIEW v1;
ERROR 42S02: Unknown VIEW: 'test.v1'
DROP VIEW IF EXISTS v2;
Warnings:
Note 409
1
Unknown VIEW: 'test.v2'
Note 409
2
Unknown VIEW: 'test.v2'
# Syncing slave with master
connection slave;
SELECT * FROM v1;
...
...
mysql-test/suite/rpl/r/rpl_sp.result
View file @
ccf22b80
...
...
@@ -128,7 +128,7 @@ show warnings;
Level Code Message
Error 1062 Duplicate entry '20' for key 'a'
Warning 1196 Some non-transactional changed tables couldn't be rolled back
Note 409
3
At line 4 in mysqltest1.foo4
Note 409
4
At line 4 in mysqltest1.foo4
select * from t2;
a
20
...
...
@@ -291,7 +291,7 @@ end|
do fn1(100);
Warnings:
Error 1062 Duplicate entry '100' for key 'a'
Note 409
3
At line 3 in mysqltest1.fn1
Note 409
4
At line 3 in mysqltest1.fn1
Warning 1196 Some non-transactional changed tables couldn't be rolled back
select fn1(20);
ERROR 23000: Duplicate entry '20' for key 'a'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment