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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0890238a
Commit
0890238a
authored
Jan 20, 2006
by
jmiller@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpl_foreign_key_innodb.result, rpl_foreign_key.test:
had to add order by
parent
53784ff2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/extra/rpl_tests/rpl_foreign_key.test
mysql-test/extra/rpl_tests/rpl_foreign_key.test
+4
-4
mysql-test/r/rpl_foreign_key_innodb.result
mysql-test/r/rpl_foreign_key_innodb.result
+5
-5
No files found.
mysql-test/extra/rpl_tests/rpl_foreign_key.test
View file @
0890238a
...
@@ -11,11 +11,11 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
...
@@ -11,11 +11,11 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT
INTO
t2
VALUES
(
5
,
0
);
INSERT
INTO
t2
VALUES
(
5
,
0
);
INSERT
INTO
t2
VALUES
(
NULL
,
LAST_INSERT_ID
());
INSERT
INTO
t2
VALUES
(
NULL
,
LAST_INSERT_ID
());
SET
FOREIGN_KEY_CHECKS
=
1
;
SET
FOREIGN_KEY_CHECKS
=
1
;
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t2
;
SELECT
*
FROM
t2
ORDER
BY
b
;
sync_slave_with_master
;
sync_slave_with_master
;
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t2
;
SELECT
*
FROM
t2
ORDER
BY
b
;
connection
master
;
connection
master
;
SET
TIMESTAMP
=
1000000000
;
SET
TIMESTAMP
=
1000000000
;
...
...
mysql-test/r/rpl_foreign_key_innodb.result
View file @
0890238a
...
@@ -12,23 +12,23 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
...
@@ -12,23 +12,23 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
SET FOREIGN_KEY_CHECKS=1;
SET FOREIGN_KEY_CHECKS=1;
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a
a
10
10
11
11
12
12
13
13
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY b
;
b c
b c
5 0
5 0
6 11
6 11
SELECT * FROM t1;
SELECT * FROM t1
ORDER BY a
;
a
a
12
10
10
11
11
12
13
13
SELECT * FROM t2;
SELECT * FROM t2
ORDER BY b
;
b c
b c
5 0
5 0
6 11
6 11
...
...
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