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
69114862
Commit
69114862
authored
Feb 01, 2017
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusted more tests after the fix for mdev-9976.
parent
b0ea044d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
mysql-test/extra/binlog_tests/binlog_write_error.inc
mysql-test/extra/binlog_tests/binlog_write_error.inc
+1
-1
mysql-test/suite/binlog/r/binlog_write_error.result
mysql-test/suite/binlog/r/binlog_write_error.result
+2
-2
mysql-test/suite/binlog_encryption/binlog_write_error.result
mysql-test/suite/binlog_encryption/binlog_write_error.result
+2
-2
mysql-test/suite/rpl/r/rpl_killed_ddl.result
mysql-test/suite/rpl/r/rpl_killed_ddl.result
+5
-5
mysql-test/suite/rpl/t/rpl_killed_ddl.test
mysql-test/suite/rpl/t/rpl_killed_ddl.test
+5
-5
No files found.
mysql-test/extra/binlog_tests/binlog_write_error.inc
View file @
69114862
...
...
@@ -71,7 +71,7 @@ source include/binlog_inject_error.inc;
let
$query
=
DROP
VIEW
v1
;
source
include
/
binlog_inject_error
.
inc
;
let
$query
=
CREATE
PROCEDURE
p1
(
OUT
rows
INT
)
SELECT
count
(
*
)
INTO
rows
FROM
t1
;
let
$query
=
CREATE
PROCEDURE
p1
(
OUT
rows
_cnt
INT
)
SELECT
count
(
*
)
INTO
rows_cnt
FROM
t1
;
source
include
/
binlog_inject_error
.
inc
;
let
$query
=
DROP
PROCEDURE
p1
;
...
...
mysql-test/suite/binlog/r/binlog_write_error.result
View file @
69114862
...
...
@@ -59,8 +59,8 @@ DROP VIEW v1;
ERROR HY000: Error writing file 'master-bin' ((errno: #)
SET GLOBAL debug_dbug='';
SET GLOBAL debug_dbug='d,injecting_fault_writing';
CREATE PROCEDURE p1(OUT rows
INT) SELECT count(*) INTO rows
FROM t1;
CREATE PROCEDURE p1(OUT rows
INT) SELECT count(*) INTO rows
FROM t1;
CREATE PROCEDURE p1(OUT rows
_cnt INT) SELECT count(*) INTO rows_cnt
FROM t1;
CREATE PROCEDURE p1(OUT rows
_cnt INT) SELECT count(*) INTO rows_cnt
FROM t1;
ERROR HY000: Error writing file 'master-bin' ((errno: #)
SET GLOBAL debug_dbug='';
SET GLOBAL debug_dbug='d,injecting_fault_writing';
...
...
mysql-test/suite/binlog_encryption/binlog_write_error.result
View file @
69114862
...
...
@@ -59,8 +59,8 @@ DROP VIEW v1;
ERROR HY000: Error writing file 'master-bin' ((errno: #)
SET GLOBAL debug_dbug='';
SET GLOBAL debug_dbug='d,injecting_fault_writing';
CREATE PROCEDURE p1(OUT rows
INT) SELECT count(*) INTO rows
FROM t1;
CREATE PROCEDURE p1(OUT rows
INT) SELECT count(*) INTO rows
FROM t1;
CREATE PROCEDURE p1(OUT rows
_cnt INT) SELECT count(*) INTO rows_cnt
FROM t1;
CREATE PROCEDURE p1(OUT rows
_cnt INT) SELECT count(*) INTO rows_cnt
FROM t1;
ERROR HY000: Error writing file 'master-bin' ((errno: #)
SET GLOBAL debug_dbug='';
SET GLOBAL debug_dbug='d,injecting_fault_writing';
...
...
mysql-test/suite/rpl/r/rpl_killed_ddl.result
View file @
69114862
...
...
@@ -34,9 +34,9 @@ ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 DAY
DO INSERT INTO test.t1 VALUES (1);
CREATE FUNCTION f1 () RETURNS INT DETERMINISTIC
RETURN 1;
CREATE PROCEDURE p1 (OUT rows INT)
CREATE PROCEDURE p1 (OUT rows
_cnt
INT)
BEGIN
SELECT COUNT(*) INTO rows FROM t1;
SELECT COUNT(*) INTO rows
_cnt
FROM t1;
END;
//
CREATE SERVER s1
...
...
@@ -125,9 +125,9 @@ connection master;
include/rpl_diff.inc
connection master;
connection master1;
CREATE PROCEDURE p2 (OUT rows INT)
CREATE PROCEDURE p2 (OUT rows
_cnt
INT)
BEGIN
SELECT COUNT(*) INTO rows FROM t2;
SELECT COUNT(*) INTO rows
_cnt
FROM t2;
END;
//
source include/kill_query.inc;
...
...
@@ -135,7 +135,7 @@ connection master;
include/rpl_diff.inc
connection master;
connection master1;
ALTER PROCEDURE p1 SQL SECURITY INVOKER COMMENT 'return rows of table t1';
ALTER PROCEDURE p1 SQL SECURITY INVOKER COMMENT 'return rows
_cnt
of table t1';
source include/kill_query.inc;
connection master;
include/rpl_diff.inc
...
...
mysql-test/suite/rpl/t/rpl_killed_ddl.test
View file @
69114862
...
...
@@ -83,9 +83,9 @@ CREATE FUNCTION f1 () RETURNS INT DETERMINISTIC
RETURN
1
;
DELIMITER
//;
CREATE
PROCEDURE
p1
(
OUT
rows
INT
)
CREATE
PROCEDURE
p1
(
OUT
rows
_cnt
INT
)
BEGIN
SELECT
COUNT
(
*
)
INTO
rows
FROM
t1
;
SELECT
COUNT
(
*
)
INTO
rows
_cnt
FROM
t1
;
END
;
//
DELIMITER
;
//
...
...
@@ -203,15 +203,15 @@ source include/kill_query_and_diff_master_slave.inc;
--let $rpl_diff_statement= SHOW PROCEDURE STATUS LIKE \'p%\'
DELIMITER //;
send CREATE PROCEDURE p2 (OUT rows INT)
send CREATE PROCEDURE p2 (OUT rows
_cnt
INT)
BEGIN
SELECT COUNT(*) INTO rows FROM t2;
SELECT COUNT(*) INTO rows
_cnt
FROM t2;
END;
//
DELIMITER ;//
source include/kill_query_and_diff_master_slave.inc;
send ALTER PROCEDURE p1 SQL SECURITY INVOKER COMMENT '
return
rows
of
table
t1
';
send ALTER PROCEDURE p1 SQL SECURITY INVOKER COMMENT '
return
rows
_cnt
of
table
t1
';
source include/kill_query_and_diff_master_slave.inc;
send DROP PROCEDURE p1;
...
...
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