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
0ffdcf67
Commit
0ffdcf67
authored
Nov 07, 2022
by
asklavou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV 28970: Add RESET MASTER to clear possible remaining binlog from previous test
parent
6b91792a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
6 deletions
+12
-6
mysql-test/main/mysql_upgrade_view.result
mysql-test/main/mysql_upgrade_view.result
+1
-0
mysql-test/main/mysql_upgrade_view.test
mysql-test/main/mysql_upgrade_view.test
+1
-1
mysql-test/main/stat_tables_rbr.result
mysql-test/main/stat_tables_rbr.result
+1
-0
mysql-test/main/stat_tables_rbr.test
mysql-test/main/stat_tables_rbr.test
+1
-1
mysql-test/suite/binlog/r/binlog_stm_binlog.result
mysql-test/suite/binlog/r/binlog_stm_binlog.result
+1
-0
mysql-test/suite/binlog/r/binlog_stm_datetime_ranges_mdev15289.result
...uite/binlog/r/binlog_stm_datetime_ranges_mdev15289.result
+1
-0
mysql-test/suite/binlog/r/binlog_stm_do_db.result
mysql-test/suite/binlog/r/binlog_stm_do_db.result
+1
-0
mysql-test/suite/binlog/r/innodb_autoinc_lock_mode_binlog.result
...est/suite/binlog/r/innodb_autoinc_lock_mode_binlog.result
+1
-0
mysql-test/suite/binlog/t/binlog_stm_binlog.test
mysql-test/suite/binlog/t/binlog_stm_binlog.test
+1
-1
mysql-test/suite/binlog/t/binlog_stm_datetime_ranges_mdev15289.test
.../suite/binlog/t/binlog_stm_datetime_ranges_mdev15289.test
+1
-1
mysql-test/suite/binlog/t/binlog_stm_do_db.test
mysql-test/suite/binlog/t/binlog_stm_do_db.test
+1
-1
mysql-test/suite/binlog/t/innodb_autoinc_lock_mode_binlog.test
...-test/suite/binlog/t/innodb_autoinc_lock_mode_binlog.test
+1
-1
No files found.
mysql-test/main/mysql_upgrade_view.result
View file @
0ffdcf67
reset master;
set sql_log_bin=0;
set sql_log_bin=0;
drop table if exists t1,v1,v2,v3,v4,v1badcheck;
drop table if exists t1,v1,v2,v3,v4,v1badcheck;
drop view if exists t1,v1,v2,v3,v4,v1badcheck;
drop view if exists t1,v1,v2,v3,v4,v1badcheck;
...
...
mysql-test/main/mysql_upgrade_view.test
View file @
0ffdcf67
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_log_bin
.
inc
reset
master
;
# clear binlogs
set
sql_log_bin
=
0
;
set
sql_log_bin
=
0
;
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
,
v1
,
v2
,
v3
,
v4
,
v1badcheck
;
drop
table
if
exists
t1
,
v1
,
v2
,
v3
,
v4
,
v1badcheck
;
...
...
mysql-test/main/stat_tables_rbr.result
View file @
0ffdcf67
RESET MASTER;
#
#
# Bug mdev-463: assertion failure when running ANALYZE with RBR on
# Bug mdev-463: assertion failure when running ANALYZE with RBR on
#
#
...
...
mysql-test/main/stat_tables_rbr.test
View file @
0ffdcf67
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_binlog_format_row
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
--
source
include
/
have_partition
.
inc
RESET
MASTER
;
# clear up binlogs
--
echo
#
--
echo
#
--
echo
# Bug mdev-463: assertion failure when running ANALYZE with RBR on
--
echo
# Bug mdev-463: assertion failure when running ANALYZE with RBR on
--
echo
#
--
echo
#
...
...
mysql-test/suite/binlog/r/binlog_stm_binlog.result
View file @
0ffdcf67
reset master;
drop table if exists t1;
drop table if exists t1;
create table t1 (a int, b int) engine=innodb;
create table t1 (a int, b int) engine=innodb;
begin;
begin;
...
...
mysql-test/suite/binlog/r/binlog_stm_datetime_ranges_mdev15289.result
View file @
0ffdcf67
reset master;
include/show_binlog_events.inc
include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Gtid # # GTID #-#-#
...
...
mysql-test/suite/binlog/r/binlog_stm_do_db.result
View file @
0ffdcf67
RESET MASTER;
SET @old_isolation_level= @@session.tx_isolation;
SET @old_isolation_level= @@session.tx_isolation;
SET @@session.tx_isolation= 'READ-COMMITTED';
SET @@session.tx_isolation= 'READ-COMMITTED';
CREATE DATABASE b42829;
CREATE DATABASE b42829;
...
...
mysql-test/suite/binlog/r/innodb_autoinc_lock_mode_binlog.result
View file @
0ffdcf67
reset master;
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
select @@innodb_autoinc_lock_mode;
select @@innodb_autoinc_lock_mode;
@@innodb_autoinc_lock_mode
@@innodb_autoinc_lock_mode
...
...
mysql-test/suite/binlog/t/binlog_stm_binlog.test
View file @
0ffdcf67
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
--
source
include
/
have_binlog_format_mixed
.
inc
--
source
include
/
have_binlog_format_mixed
.
inc
let
collation
=
utf8_unicode_ci
;
let
collation
=
utf8_unicode_ci
;
--
source
include
/
have_collation
.
inc
--
source
include
/
have_collation
.
inc
reset
master
;
# clear up binlogs
--
disable_warnings
--
disable_warnings
drop
table
if
exists
t1
;
drop
table
if
exists
t1
;
--
enable_warnings
--
enable_warnings
...
...
mysql-test/suite/binlog/t/binlog_stm_datetime_ranges_mdev15289.test
View file @
0ffdcf67
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
reset
master
;
# clear up binlogs
--
exec
$MYSQL_CLIENT_TEST
test_datetime_ranges_mdev15289
>
$MYSQLTEST_VARDIR
/
log
/
binlog_stm_datetime_ranges_mysql_client_test
.
out
.
log
2
>&
1
--
exec
$MYSQL_CLIENT_TEST
test_datetime_ranges_mdev15289
>
$MYSQLTEST_VARDIR
/
log
/
binlog_stm_datetime_ranges_mysql_client_test
.
out
.
log
2
>&
1
--
let
$binlog_file
=
LAST
--
let
$binlog_file
=
LAST
...
...
mysql-test/suite/binlog/t/binlog_stm_do_db.test
View file @
0ffdcf67
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_log_bin
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
--
source
include
/
have_binlog_format_statement
.
inc
RESET
MASTER
;
# clear up binlogs
SET
@
old_isolation_level
=
@@
session
.
tx_isolation
;
SET
@
old_isolation_level
=
@@
session
.
tx_isolation
;
SET
@@
session
.
tx_isolation
=
'READ-COMMITTED'
;
SET
@@
session
.
tx_isolation
=
'READ-COMMITTED'
;
...
...
mysql-test/suite/binlog/t/innodb_autoinc_lock_mode_binlog.test
View file @
0ffdcf67
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_binlog_format_mixed
.
inc
--
source
include
/
have_binlog_format_mixed
.
inc
reset
master
;
#clear up binlogs
call
mtr
.
add_suppression
(
"Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"
);
call
mtr
.
add_suppression
(
"Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"
);
select
@@
innodb_autoinc_lock_mode
;
select
@@
innodb_autoinc_lock_mode
;
...
...
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