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
770553e1
Commit
770553e1
authored
Nov 25, 2016
by
Alexey Yurchenko
Committed by
Sachin Setiya
Apr 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GAL-480 MTR test
parent
298daccb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
0 deletions
+85
-0
mysql-test/suite/galera/r/GAL-480.result
mysql-test/suite/galera/r/GAL-480.result
+39
-0
mysql-test/suite/galera/t/GAL-480.test
mysql-test/suite/galera/t/GAL-480.test
+46
-0
No files found.
mysql-test/suite/galera/r/GAL-480.result
0 → 100644
View file @
770553e1
CREATE TABLE t1 (f1 CHAR(10), f0 integer) ENGINE=InnoDB;
FLUSH TABLE t1 FOR EXPORT;
UNLOCK TABLES;
ALTER TABLE t1 DROP COLUMN f1;
SET SESSION wsrep_osu_method='RSU';
ALTER TABLE t1 ADD COLUMN f1 CHAR(10);
ALTER TABLE t1 DROP COLUMN f1;
ALTER TABLE t1 ADD COLUMN f2 CHAR(10);
ALTER TABLE t1 DROP COLUMN f2;
ALTER TABLE t1 ADD COLUMN f3 CHAR(10);
ALTER TABLE t1 DROP COLUMN f3;
ALTER TABLE t1 ADD COLUMN f4 CHAR(10);
ALTER TABLE t1 DROP COLUMN f4;
ALTER TABLE t1 ADD COLUMN f5 CHAR(10);
ALTER TABLE t1 DROP COLUMN f5;
ALTER TABLE t1 ADD COLUMN f6 CHAR(10);
ALTER TABLE t1 DROP COLUMN f6;
ALTER TABLE t1 ADD COLUMN f7 CHAR(10);
ALTER TABLE t1 DROP COLUMN f7;
ALTER TABLE t1 ADD COLUMN f8 CHAR(10);
ALTER TABLE t1 DROP COLUMN f8;
ALTER TABLE t1 ADD COLUMN f9 CHAR(10);
ALTER TABLE t1 DROP COLUMN f9;
ALTER TABLE t1 ADD COLUMN f10 CHAR(10);
ALTER TABLE t1 DROP COLUMN f10;
ALTER TABLE t1 ADD COLUMN f11 CHAR(10);
ALTER TABLE t1 DROP COLUMN f11;
ALTER TABLE t1 ADD COLUMN f12 CHAR(10);
ALTER TABLE t1 DROP COLUMN f12;
ALTER TABLE t1 ADD COLUMN f13 CHAR(10);
ALTER TABLE t1 DROP COLUMN f13;
ALTER TABLE t1 ADD COLUMN f14 CHAR(10);
ALTER TABLE t1 DROP COLUMN f14;
ALTER TABLE t1 ADD COLUMN f15 CHAR(10);
ALTER TABLE t1 DROP COLUMN f15;
ALTER TABLE t1 ADD COLUMN f16 CHAR(10);
ALTER TABLE t1 DROP COLUMN f16;
SET SESSION wsrep_osu_method='TOI';
DROP TABLE t1;
mysql-test/suite/galera/t/GAL-480.test
0 → 100644
View file @
770553e1
--
source
include
/
galera_cluster
.
inc
--
connection
node_1
CREATE
TABLE
t1
(
f1
CHAR
(
10
),
f0
integer
)
ENGINE
=
InnoDB
;
FLUSH
TABLE
t1
FOR
EXPORT
;
UNLOCK
TABLES
;
ALTER
TABLE
t1
DROP
COLUMN
f1
;
SET
SESSION
wsrep_osu_method
=
'RSU'
;
ALTER
TABLE
t1
ADD
COLUMN
f1
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f1
;
ALTER
TABLE
t1
ADD
COLUMN
f2
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f2
;
ALTER
TABLE
t1
ADD
COLUMN
f3
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f3
;
ALTER
TABLE
t1
ADD
COLUMN
f4
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f4
;
ALTER
TABLE
t1
ADD
COLUMN
f5
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f5
;
ALTER
TABLE
t1
ADD
COLUMN
f6
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f6
;
ALTER
TABLE
t1
ADD
COLUMN
f7
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f7
;
ALTER
TABLE
t1
ADD
COLUMN
f8
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f8
;
ALTER
TABLE
t1
ADD
COLUMN
f9
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f9
;
ALTER
TABLE
t1
ADD
COLUMN
f10
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f10
;
ALTER
TABLE
t1
ADD
COLUMN
f11
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f11
;
ALTER
TABLE
t1
ADD
COLUMN
f12
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f12
;
ALTER
TABLE
t1
ADD
COLUMN
f13
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f13
;
ALTER
TABLE
t1
ADD
COLUMN
f14
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f14
;
ALTER
TABLE
t1
ADD
COLUMN
f15
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f15
;
ALTER
TABLE
t1
ADD
COLUMN
f16
CHAR
(
10
);
ALTER
TABLE
t1
DROP
COLUMN
f16
;
SET
SESSION
wsrep_osu_method
=
'TOI'
;
DROP
TABLE
t1
;
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