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
f01c4a10
Commit
f01c4a10
authored
Sep 08, 2018
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add one more wait for truncate in MW-44.
parent
908ac40b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
mysql-test/suite/galera/r/MW-44.result
mysql-test/suite/galera/r/MW-44.result
+8
-0
mysql-test/suite/galera/t/MW-44.test
mysql-test/suite/galera/t/MW-44.test
+7
-0
No files found.
mysql-test/suite/galera/r/MW-44.result
View file @
f01c4a10
TRUNCATE TABLE mysql.general_log;
TRUNCATE TABLE mysql.general_log;
SELECT Argument FROM mysql.general_log;
Argument
SELECT COUNT(*) = 0 FROM mysql.general_log WHERE argument LIKE 'TRUNCATE%'
SELECT Argument FROM mysql.general_log
SELECT Argument FROM mysql.general_log;
Argument
SELECT COUNT(*) = 0 FROM mysql.general_log WHERE argument LIKE 'TRUNCATE%'
SELECT Argument FROM mysql.general_log
SET GLOBAL general_log='ON';
SET SESSION wsrep_osu_method=TOI;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
...
...
mysql-test/suite/galera/t/MW-44.test
View file @
f01c4a10
...
...
@@ -10,8 +10,15 @@ TRUNCATE TABLE mysql.general_log;
--
connection
node_2
TRUNCATE
TABLE
mysql
.
general_log
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
general_log
WHERE
argument
LIKE
'TRUNCATE%'
;
--
source
include
/
wait_condition
.
inc
SELECT
Argument
FROM
mysql
.
general_log
;
--
connection
node_1
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
mysql
.
general_log
WHERE
argument
LIKE
'TRUNCATE%'
;
--
source
include
/
wait_condition
.
inc
SELECT
Argument
FROM
mysql
.
general_log
;
SET
GLOBAL
general_log
=
'ON'
;
SET
SESSION
wsrep_osu_method
=
TOI
;
CREATE
TABLE
t1
(
f1
INTEGER
)
ENGINE
=
InnoDB
;
...
...
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