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
14f1453b
Commit
14f1453b
authored
May 22, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-7318: Fix a test case
parent
b934a34c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/suite/innodb/r/innodb-alter-debug.result
mysql-test/suite/innodb/r/innodb-alter-debug.result
+1
-1
mysql-test/suite/innodb/t/innodb-alter-debug.test
mysql-test/suite/innodb/t/innodb-alter-debug.test
+4
-4
No files found.
mysql-test/suite/innodb/r/innodb-alter-debug.result
View file @
14f1453b
...
...
@@ -105,5 +105,5 @@ CREATE TABLE t (c1 INT, c2 INT, KEY i2 (c2)) ENGINE=INNODB;
SET DEBUG_DBUG= '+d,ib_rename_index_fail1';
ALTER TABLE t RENAME INDEX i2 to x, ALGORITHM=INPLACE;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
SET DEBUG_DBUG
= '-d,ib_rename_index_fail1'
;
SET DEBUG_DBUG
= @saved_debug_dbug
;
DROP TABLE t;
mysql-test/suite/innodb/t/innodb-alter-debug.test
View file @
14f1453b
...
...
@@ -130,9 +130,6 @@ reap;
UNLOCK
TABLES
;
DROP
TABLE
t1
;
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
--
echo
#
--
echo
# MDEV-7318 RENAME INDEX
--
echo
#
...
...
@@ -141,6 +138,9 @@ CREATE TABLE t (c1 INT, c2 INT, KEY i2 (c2)) ENGINE=INNODB;
SET
DEBUG_DBUG
=
'+d,ib_rename_index_fail1'
;
--
error
ER_LOCK_DEADLOCK
ALTER
TABLE
t
RENAME
INDEX
i2
to
x
,
ALGORITHM
=
INPLACE
;
SET
DEBUG_DBUG
=
'-d,ib_rename_index_fail1'
;
SET
DEBUG_DBUG
=
@
saved_debug_dbug
;
DROP
TABLE
t
;
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
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