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
998b1c0e
Commit
998b1c0e
authored
Aug 05, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix galera test MW-44
parent
9419908f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
18 deletions
+8
-18
mysql-test/suite/galera/r/MW-44.result
mysql-test/suite/galera/r/MW-44.result
+2
-13
mysql-test/suite/galera/t/MW-44.test
mysql-test/suite/galera/t/MW-44.test
+6
-5
No files found.
mysql-test/suite/galera/r/MW-44.result
View file @
998b1c0e
SET GLOBAL general_log='OFF';
TRUNCATE TABLE mysql.general_log;
SELECT COUNT(*) from mysql.general_log;
COUNT(*)
0
SELECT * FROM mysql.general_log;
event_time user_host thread_id server_id command_type argument
SET GLOBAL general_log='OFF';
TRUNCATE TABLE mysql.general_log;
SELECT COUNT(*) from mysql.general_log;
COUNT(*)
0
SELECT * FROM mysql.general_log;
event_time user_host thread_id server_id command_type argument
SET GLOBAL general_log='ON';
SELECT COUNT(*) from mysql.general_log;
COUNT(*)
1
SELECT argument from mysql.general_log WHERE argument NOT LIKE 'SELECT%';
argument
SET SESSION wsrep_osu_method=TOI;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
SET SESSION wsrep_osu_method=RSU;
...
...
mysql-test/suite/galera/t/MW-44.test
View file @
998b1c0e
...
...
@@ -8,18 +8,19 @@
--
connection
node_1
SET
GLOBAL
general_log
=
'OFF'
;
TRUNCATE
TABLE
mysql
.
general_log
;
SELECT
COUNT
(
*
)
from
mysql
.
general_log
;
SELECT
*
FROM
mysql
.
general_log
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
general_log
;
--
source
include
/
wait_condition
.
inc
--
connection
node_2
SET
GLOBAL
general_log
=
'OFF'
;
TRUNCATE
TABLE
mysql
.
general_log
;
SELECT
COUNT
(
*
)
from
mysql
.
general_log
;
SELECT
*
FROM
mysql
.
general_log
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
general_log
;
--
source
include
/
wait_condition
.
inc
--
connection
node_1
SET
GLOBAL
general_log
=
'ON'
;
SELECT
COUNT
(
*
)
from
mysql
.
general_log
;
SELECT
argument
from
mysql
.
general_log
WHERE
argument
NOT
LIKE
'SELECT%'
;
SET
SESSION
wsrep_osu_method
=
TOI
;
CREATE
TABLE
t1
(
f1
INTEGER
)
ENGINE
=
InnoDB
;
SET
SESSION
wsrep_osu_method
=
RSU
;
...
...
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