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
4f2dc716
Commit
4f2dc716
authored
Aug 31, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-13668 fixup: Remove test work-arounds
parent
c487eeed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
+4
-11
mysql-test/suite/innodb/r/innodb-index-online.result
mysql-test/suite/innodb/r/innodb-index-online.result
+2
-3
mysql-test/suite/innodb/t/innodb-index-online.test
mysql-test/suite/innodb/t/innodb-index-online.test
+2
-8
No files found.
mysql-test/suite/innodb/r/innodb-index-online.result
View file @
4f2dc716
...
...
@@ -231,7 +231,7 @@ WHERE variable_name = 'innodb_encryption_n_rowlog_blocks_encrypted');
connection con1;
SET DEBUG_SYNC = 'row_log_apply_before SIGNAL c2e_created WAIT_FOR dml2_done';
SET lock_wait_timeout = 10;
ALTER TABLE t1
DROP INDEX c2d, ADD INDEX c2e(c
2),
ALTER TABLE t1
CHANGE c2 c22 INT, DROP INDEX c2d, ADD INDEX c2e(c2
2),
ALGORITHM = INPLACE;
connection default;
INSERT INTO t1 SELECT 80 + c1, c2, c3 FROM t1;
...
...
@@ -353,7 +353,7 @@ SET @rowlog_decrypt_1=
WHERE variable_name = 'innodb_encryption_n_rowlog_blocks_decrypted');
connection con1;
SET DEBUG_SYNC = 'row_log_apply_before SIGNAL c2f_created WAIT_FOR dml3_done';
ALTER TABLE t1 ADD INDEX c2f(c2
)
;
ALTER TABLE t1 ADD INDEX c2f(c2
2f), CHANGE c2 c22f INT
;
connection default;
SET DEBUG_SYNC = 'now WAIT_FOR c2f_created';
SELECT name, count FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE subsystem = 'ddl';
...
...
@@ -392,7 +392,6 @@ SET DEBUG_SYNC = 'now SIGNAL dml3_done';
connection con1;
Warnings:
Note 1831 Duplicate index `c2f`. This is deprecated and will be disallowed in a future release
ALTER TABLE t1 CHANGE c2 c22f INT;
SELECT name, count FROM INFORMATION_SCHEMA.INNODB_METRICS WHERE subsystem = 'ddl';
name count
ddl_background_drop_indexes 0
...
...
mysql-test/suite/innodb/t/innodb-index-online.test
View file @
4f2dc716
...
...
@@ -225,9 +225,7 @@ SET DEBUG_SYNC = 'row_log_apply_before SIGNAL c2e_created WAIT_FOR dml2_done';
# Ensure that the ALTER TABLE will be executed even with some concurrent DML.
SET
lock_wait_timeout
=
10
;
--
send
# FIXME: MDEV-13668
#ALTER TABLE t1 CHANGE c2 c22 INT, DROP INDEX c2d, ADD INDEX c2e(c22),
ALTER
TABLE
t1
DROP
INDEX
c2d
,
ADD
INDEX
c2e
(
c2
),
ALTER
TABLE
t1
CHANGE
c2
c22
INT
,
DROP
INDEX
c2d
,
ADD
INDEX
c2e
(
c22
),
ALGORITHM
=
INPLACE
;
# Generate some log (delete-mark, delete-unmark, insert etc.)
...
...
@@ -321,9 +319,7 @@ connection con1;
# Accumulate and apply some modification log.
SET
DEBUG_SYNC
=
'row_log_apply_before SIGNAL c2f_created WAIT_FOR dml3_done'
;
--
send
# FIXME: MDEV-13668
#ALTER TABLE t1 ADD INDEX c2f(c22f), CHANGE c2 c22f INT;
ALTER
TABLE
t1
ADD
INDEX
c2f
(
c2
);
ALTER
TABLE
t1
ADD
INDEX
c2f
(
c22f
),
CHANGE
c2
c22f
INT
;
connection
default
;
SET
DEBUG_SYNC
=
'now WAIT_FOR c2f_created'
;
...
...
@@ -348,8 +344,6 @@ SET DEBUG_SYNC = 'now SIGNAL dml3_done';
connection
con1
;
reap
;
# FIXME: MDEV-13668
ALTER
TABLE
t1
CHANGE
c2
c22f
INT
;
eval
$innodb_metrics_select
;
...
...
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