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
7f125257
Commit
7f125257
authored
Oct 02, 2017
by
Alice Sherepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
++
parent
96fa29cd
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/suite/innodb/r/innodb_bug14006907.result
mysql-test/suite/innodb/r/innodb_bug14006907.result
+2
-2
mysql-test/suite/innodb/r/innodb_deadlock_with_autoinc.result
...l-test/suite/innodb/r/innodb_deadlock_with_autoinc.result
+1
-0
mysql-test/suite/innodb/t/innodb_bug14006907.test
mysql-test/suite/innodb/t/innodb_bug14006907.test
+2
-2
mysql-test/suite/innodb/t/innodb_copy_col_in_partition.test
mysql-test/suite/innodb/t/innodb_copy_col_in_partition.test
+1
-0
mysql-test/suite/innodb/t/innodb_deadlock_with_autoinc.test
mysql-test/suite/innodb/t/innodb_deadlock_with_autoinc.test
+1
-0
mysql-test/suite/innodb/t/innodb_file_limit_check.test
mysql-test/suite/innodb/t/innodb_file_limit_check.test
+1
-0
No files found.
mysql-test/suite/innodb/r/innodb_bug14006907.result
View file @
7f125257
...
...
@@ -16,7 +16,7 @@ CREATE TABLE t2 (
c2 INT PRIMARY KEY,
CONSTRAINT t2c2 FOREIGN KEY (c2) REFERENCES t1 (c2))
ENGINE = InnoDB;
ERROR HY000: Can
not add foreign key constraint
ERROR HY000: Can
't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
SET DEBUG_SYNC = 'now SIGNAL fk';
# Session default
/* reap */ DROP INDEX c2 ON t1;
...
...
@@ -24,6 +24,6 @@ CREATE TABLE t2 (
c2 INT PRIMARY KEY,
CONSTRAINT t2c2 FOREIGN KEY (c2) REFERENCES t1 (c2))
ENGINE = InnoDB;
ERROR HY000: Can
not add foreign key constraint
ERROR HY000: Can
't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
SET DEBUG_SYNC='RESET';
DROP TABLE t1;
mysql-test/suite/innodb/r/innodb_deadlock_with_autoinc.result
View file @
7f125257
...
...
@@ -10,3 +10,4 @@ insert into t1 values(NULL);
set debug_sync='now SIGNAL continue_others';
# Now all 40 connections can finish the insert operation on t1.
drop table t1;
SET DEBUG_SYNC='RESET';
mysql-test/suite/innodb/t/innodb_bug14006907.test
View file @
7f125257
...
...
@@ -28,7 +28,7 @@ connect (con1,localhost,root,,);
connection
con1
;
SET
DEBUG_SYNC
=
'now WAIT_FOR drop'
;
--
error
ER_CAN
NOT_ADD_FOREIGN
--
error
ER_CAN
T_CREATE_TABLE
CREATE
TABLE
t2
(
c2
INT
PRIMARY
KEY
,
CONSTRAINT
t2c2
FOREIGN
KEY
(
c2
)
REFERENCES
t1
(
c2
))
...
...
@@ -42,7 +42,7 @@ connection default;
--
echo
/* reap */
DROP
INDEX
c2
ON
t1
;
reap
;
--
error
ER_CAN
NOT_ADD_FOREIGN
--
error
ER_CAN
T_CREATE_TABLE
CREATE
TABLE
t2
(
c2
INT
PRIMARY
KEY
,
CONSTRAINT
t2c2
FOREIGN
KEY
(
c2
)
REFERENCES
t1
(
c2
))
...
...
mysql-test/suite/innodb/t/innodb_copy_col_in_partition.test
View file @
7f125257
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
CREATE
TABLE
t
(
id
INT
,
a
INT
,
b
INT
,
KEY
(
a
),
KEY
(
b
))
ENGINE
=
INNODB
PARTITION
BY
HASH
(
id
)
PARTITIONS
10
;
...
...
mysql-test/suite/innodb/t/innodb_deadlock_with_autoinc.test
View file @
7f125257
...
...
@@ -45,3 +45,4 @@ while ($1 < 40) {
drop
table
t1
;
--
source
include
/
wait_until_count_sessions
.
inc
SET
DEBUG_SYNC
=
'RESET'
;
mysql-test/suite/innodb/t/innodb_file_limit_check.test
View file @
7f125257
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_partition
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
big_test
.
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