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
4ec3dca3
Commit
4ec3dca3
authored
Sep 29, 2022
by
Brandon Nesterenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-28798: Cosmetic Changes Only
Removed trailing whitespaces
parent
d3e7dba3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mysql-test/suite/binlog_encryption/encrypted_master_switch_to_unencrypted_coords.test
...yption/encrypted_master_switch_to_unencrypted_coords.test
+7
-7
No files found.
mysql-test/suite/binlog_encryption/encrypted_master_switch_to_unencrypted_coords.test
View file @
4ec3dca3
#
# The test starts with unencrypted master.
# The test starts with unencrypted master.
# It stops replication, generates a few statement and row events
# on the master, then restarts the server with encrypted binlog,
# generates some more events and restarts it back without encryption
# on the master, then restarts the server with encrypted binlog,
# generates some more events and restarts it back without encryption
# (no encryption plugin).
# Then it resumes replication and should error with
# ER_MASTER_FATAL_ERROR_READING_BINLOG because the encrypted binlog is
...
...
@@ -47,7 +47,7 @@ CREATE TABLE table1_no_encryption (
pk
INT
AUTO_INCREMENT
PRIMARY
KEY
,
ts
TIMESTAMP
NULL
,
b
BLOB
)
ENGINE
=
MyISAM
;
)
ENGINE
=
MyISAM
;
INSERT
INTO
table1_no_encryption
VALUES
(
NULL
,
NOW
(),
'data_no_encryption'
);
INSERT
INTO
table1_no_encryption
SELECT
NULL
,
NOW
(),
b
FROM
table1_no_encryption
;
...
...
@@ -80,7 +80,7 @@ CREATE TABLE table2_to_encrypt (
pk
INT
AUTO_INCREMENT
PRIMARY
KEY
,
ts
TIMESTAMP
NULL
,
b
BLOB
)
ENGINE
=
MyISAM
;
)
ENGINE
=
MyISAM
;
INSERT
INTO
table2_to_encrypt
VALUES
(
NULL
,
NOW
(),
'data_to_encrypt'
);
INSERT
INTO
table2_to_encrypt
SELECT
NULL
,
NOW
(),
b
FROM
table2_to_encrypt
;
...
...
@@ -107,7 +107,7 @@ CREATE TABLE table3_no_encryption (
pk
INT
AUTO_INCREMENT
PRIMARY
KEY
,
ts
TIMESTAMP
NULL
,
b
BLOB
)
ENGINE
=
MyISAM
;
)
ENGINE
=
MyISAM
;
INSERT
INTO
table3_no_encryption
VALUES
(
NULL
,
NOW
(),
'data_no_encryption'
);
INSERT
INTO
table3_no_encryption
SELECT
NULL
,
NOW
(),
b
FROM
table3_no_encryption
;
...
...
@@ -119,7 +119,7 @@ INSERT INTO table3_no_encryption SELECT NULL,NOW(),b FROM table3_no_encryption;
--
connection
server_2
start
slave
;
# The slave should be able to synchronize with master up to
# The slave should be able to synchronize with master up to
# the previously saved position (when the log was still unencrypted)
--
sync_with_master
...
...
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