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
30c3d6db
Commit
30c3d6db
authored
Oct 24, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-17533 Merge new release of InnoDB 5.6.42 to 10.0
Also, add a test for a bug that does not seem to affect MariaDB.
parent
2549f982
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
2 deletions
+39
-2
mysql-test/suite/innodb/r/innodb-alter-debug.result
mysql-test/suite/innodb/r/innodb-alter-debug.result
+14
-0
mysql-test/suite/innodb/t/innodb-alter-debug.test
mysql-test/suite/innodb/t/innodb-alter-debug.test
+24
-1
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+1
-1
No files found.
mysql-test/suite/innodb/r/innodb-alter-debug.result
View file @
30c3d6db
...
...
@@ -54,3 +54,17 @@ SET DEBUG_SYNC = 'now SIGNAL s2';
ERROR 23000: Duplicate entry '1' for key 'uk'
SET DEBUG_SYNC = 'RESET';
drop table t1;
#
# Bug #27753193 ASSERTION `PREBUILT->TRX->ERROR_KEY_NUM <
# HA_ALTER_INFO->KEY_COUNT'
CREATE TABLE t1 (a INT, UNIQUE KEY(a)) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
SET DEBUG_SYNC = 'row_log_table_apply1_before signal S1 WAIT_FOR S2';
ALTER TABLE t1 FORCE, ALGORITHM=INPLACE;
SET DEBUG_SYNC = 'now WAIT_FOR S1';
INSERT INTO t1 VALUES (1);
ERROR 23000: Duplicate entry '1' for key 'a'
SET DEBUG_SYNC = 'now SIGNAL S2';
ERROR 23000: Duplicate entry '1' for key 'a'
SET DEBUG_SYNC='RESET';
DROP TABLE t1;
mysql-test/suite/innodb/t/innodb-alter-debug.test
View file @
30c3d6db
...
...
@@ -64,7 +64,6 @@ set DEBUG_SYNC = 'now WAIT_FOR s1';
--
error
ER_DUP_ENTRY
update
t1
set
a
=
1
where
id
=
2
;
SET
DEBUG_SYNC
=
'now SIGNAL s2'
;
disconnect
con1
;
--
echo
/* connection default */
connection
default
;
...
...
@@ -75,5 +74,29 @@ SET DEBUG_SYNC = 'RESET';
drop
table
t1
;
--
echo
#
--
echo
# Bug #27753193 ASSERTION `PREBUILT->TRX->ERROR_KEY_NUM <
--
echo
# HA_ALTER_INFO->KEY_COUNT'
CREATE
TABLE
t1
(
a
INT
,
UNIQUE
KEY
(
a
))
ENGINE
=
InnoDB
;
INSERT
INTO
t1
VALUES
(
1
);
SET
DEBUG_SYNC
=
'row_log_table_apply1_before signal S1 WAIT_FOR S2'
;
send
ALTER
TABLE
t1
FORCE
,
ALGORITHM
=
INPLACE
;
connection
con1
;
SET
DEBUG_SYNC
=
'now WAIT_FOR S1'
;
--
error
ER_DUP_ENTRY
INSERT
INTO
t1
VALUES
(
1
);
SET
DEBUG_SYNC
=
'now SIGNAL S2'
;
disconnect
con1
;
CONNECTION
default
;
--
error
ER_DUP_ENTRY
reap
;
SET
DEBUG_SYNC
=
'RESET'
;
DROP
TABLE
t1
;
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
storage/innobase/include/univ.i
View file @
30c3d6db
...
...
@@ -45,7 +45,7 @@ Created 1/20/1994 Heikki Tuuri
#
define
INNODB_VERSION_MAJOR
5
#
define
INNODB_VERSION_MINOR
6
#
define
INNODB_VERSION_BUGFIX
4
1
#
define
INNODB_VERSION_BUGFIX
4
2
/* The following is the InnoDB version as shown in
SELECT plugin_version FROM information_schema.plugins;
...
...
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