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
7989c62b
Commit
7989c62b
authored
Oct 07, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge fixes
parent
0d2cba5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
mysql-test/suite/innodb/r/foreign-keys.result
mysql-test/suite/innodb/r/foreign-keys.result
+2
-2
mysql-test/suite/innodb/t/foreign-keys.test
mysql-test/suite/innodb/t/foreign-keys.test
+7
-2
mysql-test/t/log_errchk.test
mysql-test/t/log_errchk.test
+0
-1
No files found.
mysql-test/suite/innodb/r/foreign-keys.result
View file @
7989c62b
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
CREATE TABLE `department` (`department_id` INT, `department_people_fk` INT,
CREATE TABLE `department` (`department_id` INT, `department_people_fk` INT,
PRIMARY KEY (`department_id`)) engine=innodb;
PRIMARY KEY (`department_id`)) engine=innodb;
CREATE TABLE `title` (`title_id` INT, `title_manager_fk` INT,
CREATE TABLE `title` (`title_id` INT, `title_manager_fk` INT,
`title_reporter_fk` INT, PRIMARY KEY (`title_id`));
`title_reporter_fk` INT, PRIMARY KEY (`title_id`))
engine=innodb
;
CREATE TABLE `people` (`people_id` INT, PRIMARY KEY (`people_id`));
CREATE TABLE `people` (`people_id` INT, PRIMARY KEY (`people_id`))
engine=innodb
;
ALTER TABLE `department` ADD FOREIGN KEY (`department_people_fk`) REFERENCES
ALTER TABLE `department` ADD FOREIGN KEY (`department_people_fk`) REFERENCES
`people` (`people_id`);
`people` (`people_id`);
ALTER TABLE `title` ADD FOREIGN KEY (`title_manager_fk`) REFERENCES `people`
ALTER TABLE `title` ADD FOREIGN KEY (`title_manager_fk`) REFERENCES `people`
...
...
mysql-test/suite/innodb/t/foreign-keys.test
View file @
7989c62b
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug
.
inc
if
(
`select plugin_auth_version <= "5.5.39-MariaDB-36.0" from information_schema.plugins where plugin_name='innodb'`
)
{
--
skip
Not
fixed
in
XtraDB
as
of
5.5
.
39
-
MariaDB
-
36.0
or
earlier
}
--
echo
#
--
echo
#
--
echo
# Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE
--
echo
# Bug #19471516 SERVER CRASHES WHEN EXECUTING ALTER TABLE
--
echo
# ADD FOREIGN KEY
--
echo
# ADD FOREIGN KEY
...
@@ -10,9 +15,9 @@ CREATE TABLE `department` (`department_id` INT, `department_people_fk` INT,
...
@@ -10,9 +15,9 @@ CREATE TABLE `department` (`department_id` INT, `department_people_fk` INT,
PRIMARY
KEY
(
`department_id`
))
engine
=
innodb
;
PRIMARY
KEY
(
`department_id`
))
engine
=
innodb
;
CREATE
TABLE
`title`
(
`title_id`
INT
,
`title_manager_fk`
INT
,
CREATE
TABLE
`title`
(
`title_id`
INT
,
`title_manager_fk`
INT
,
`title_reporter_fk`
INT
,
PRIMARY
KEY
(
`title_id`
));
`title_reporter_fk`
INT
,
PRIMARY
KEY
(
`title_id`
))
engine
=
innodb
;
CREATE
TABLE
`people`
(
`people_id`
INT
,
PRIMARY
KEY
(
`people_id`
));
CREATE
TABLE
`people`
(
`people_id`
INT
,
PRIMARY
KEY
(
`people_id`
))
engine
=
innodb
;
ALTER
TABLE
`department`
ADD
FOREIGN
KEY
(
`department_people_fk`
)
REFERENCES
ALTER
TABLE
`department`
ADD
FOREIGN
KEY
(
`department_people_fk`
)
REFERENCES
`people`
(
`people_id`
);
`people`
(
`people_id`
);
...
...
mysql-test/t/log_errchk.test
View file @
7989c62b
#
#
--
source
include
/
not_windows
.
inc
--
source
include
/
not_windows
.
inc
--
source
include
/
force_restart
.
inc
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
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