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
d773fab7
Commit
d773fab7
authored
May 02, 2023
by
Julius Goryavsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-29755 correction: running wsrep_replicate_myisam_basic test with wsrep enabled
parent
f0a60a6b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
0 deletions
+54
-0
mysql-test/suite/sys_vars/r/wsrep_replicate_myisam.result
mysql-test/suite/sys_vars/r/wsrep_replicate_myisam.result
+18
-0
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.cnf
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.cnf
+12
-0
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.test
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.test
+24
-0
No files found.
mysql-test/suite/sys_vars/r/wsrep_replicate_myisam.result
0 → 100644
View file @
d773fab7
#
# wsrep_replicate_myisam
#
# save the initial value
SET @wsrep_mode_saved = @@global.wsrep_mode;
# scope and valid values
SET @@global.wsrep_mode=REPLICATE_MYISAM;
SELECT @@global.wsrep_mode;
@@global.wsrep_mode
REPLICATE_MYISAM
# restore the initial value
SET @@global.wsrep_mode = @wsrep_mode_saved;
# End of test
CALL mtr.add_suppression("WSREP: Could not open saved state file for reading: .*");
CALL mtr.add_suppression("WSREP: Could not open state file for reading: .*");
CALL mtr.add_suppression("WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)");
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.cnf
0 → 100644
View file @
d773fab7
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
[mysqld.1]
wsrep-on=1
#galera_port=@OPT.port
#ist_port=@OPT.port
#sst_port=@OPT.port
wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcache.size=10M'
wsrep-cluster-address=gcomm://
wsrep-provider=@ENV.WSREP_PROVIDER
binlog-format=ROW
mysql-test/suite/sys_vars/t/wsrep_replicate_myisam.test
0 → 100644
View file @
d773fab7
--
source
include
/
have_wsrep
.
inc
--
source
include
/
have_innodb
.
inc
--
echo
#
--
echo
# wsrep_replicate_myisam
--
echo
#
--
echo
# save the initial value
SET
@
wsrep_mode_saved
=
@@
global
.
wsrep_mode
;
--
echo
--
echo
# scope and valid values
SET
@@
global
.
wsrep_mode
=
REPLICATE_MYISAM
;
SELECT
@@
global
.
wsrep_mode
;
--
echo
--
echo
# restore the initial value
SET
@@
global
.
wsrep_mode
=
@
wsrep_mode_saved
;
--
echo
# End of test
CALL
mtr
.
add_suppression
(
"WSREP: Could not open saved state file for reading: .*"
);
CALL
mtr
.
add_suppression
(
"WSREP: Could not open state file for reading: .*"
);
CALL
mtr
.
add_suppression
(
"WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)"
);
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