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
c70aa163
Commit
c70aa163
authored
Oct 11, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup test
008815f5
Reduce the test diff from 10.4.
parent
008815f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
mysql-test/suite/innodb/r/instant_alter_debug.result
mysql-test/suite/innodb/r/instant_alter_debug.result
+8
-7
mysql-test/suite/innodb/t/instant_alter_debug.test
mysql-test/suite/innodb/t/instant_alter_debug.test
+2
-1
No files found.
mysql-test/suite/innodb/r/instant_alter_debug.result
View file @
c70aa163
...
...
@@ -219,7 +219,7 @@ connection default;
DELETE FROM t1;
connection ddl;
SET DEBUG_SYNC='row_log_table_apply1_before SIGNAL copied WAIT_FOR logged';
ALTER TABLE t1 FORCE;
ALTER TABLE t1
ADD COLUMN b INT NOT NULL DEFAULT 2 AFTER a,
FORCE;
disconnect stop_purge;
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR copied';
...
...
@@ -228,12 +228,13 @@ INSERT INTO t1 SET a=1;
INSERT INTO t1 SET a=2,c=4;
SET DEBUG_SYNC = 'now SIGNAL logged';
connection ddl;
UPDATE t1 SET b = b + 1 WHERE a = 2;
connection default;
SET DEBUG_SYNC = RESET;
SELECT * FROM t1;
a c
1 NULL
2 4
a
b
c
1
2
NULL
2
3
4
#
# MDEV-15872 Crash in online ALTER TABLE...ADD PRIMARY KEY
# after instant ADD COLUMN ... NULL
...
...
@@ -255,8 +256,8 @@ disconnect ddl;
connection default;
SET DEBUG_SYNC = RESET;
SELECT * FROM t1;
a c d
1 NULL 1
2 4 1
a
b
c d
1
2
NULL 1
2
3
4 1
DROP TABLE t1;
SET GLOBAL innodb_purge_rseg_truncate_frequency = @save_frequency;
mysql-test/suite/innodb/t/instant_alter_debug.test
View file @
c70aa163
...
...
@@ -248,7 +248,7 @@ DELETE FROM t1;
connection
ddl
;
SET
DEBUG_SYNC
=
'row_log_table_apply1_before SIGNAL copied WAIT_FOR logged'
;
send
ALTER
TABLE
t1
FORCE
;
send
ALTER
TABLE
t1
ADD
COLUMN
b
INT
NOT
NULL
DEFAULT
2
AFTER
a
,
FORCE
;
disconnect
stop_purge
;
...
...
@@ -262,6 +262,7 @@ SET DEBUG_SYNC = 'now SIGNAL logged';
connection
ddl
;
reap
;
UPDATE
t1
SET
b
=
b
+
1
WHERE
a
=
2
;
connection
default
;
SET
DEBUG_SYNC
=
RESET
;
...
...
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