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
3cb9b16e
Commit
3cb9b16e
authored
Aug 29, 2006
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
Add order by in rpl_(ndb)_multi_update3 to make result deterministic
parent
b6e908ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/extra/rpl_tests/rpl_multi_update3.test
mysql-test/extra/rpl_tests/rpl_multi_update3.test
+1
-1
mysql-test/r/rpl_multi_update3.result
mysql-test/r/rpl_multi_update3.result
+1
-1
mysql-test/r/rpl_ndb_multi_update3.result
mysql-test/r/rpl_ndb_multi_update3.result
+1
-1
No files found.
mysql-test/extra/rpl_tests/rpl_multi_update3.test
View file @
3cb9b16e
...
@@ -27,7 +27,7 @@ INSERT INTO t2 VALUES (NULL, 0), (NULL,1);
...
@@ -27,7 +27,7 @@ INSERT INTO t2 VALUES (NULL, 0), (NULL,1);
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t2
ORDER
BY
a
;
SELECT
*
FROM
t2
ORDER
BY
a
;
UPDATE
t2
,
(
SELECT
a
FROM
t1
)
AS
t
SET
t2
.
b
=
t
.
a
+
5
;
UPDATE
t2
,
(
SELECT
a
FROM
t1
ORDER
BY
a
)
AS
t
SET
t2
.
b
=
t
.
a
+
5
;
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t1
ORDER
BY
a
;
SELECT
*
FROM
t2
ORDER
BY
a
;
SELECT
*
FROM
t2
ORDER
BY
a
;
...
...
mysql-test/r/rpl_multi_update3.result
View file @
3cb9b16e
...
@@ -25,7 +25,7 @@ SELECT * FROM t2 ORDER BY a;
...
@@ -25,7 +25,7 @@ SELECT * FROM t2 ORDER BY a;
a b
a b
1 0
1 0
2 1
2 1
UPDATE t2, (SELECT a FROM t1) AS t SET t2.b = t.a+5 ;
UPDATE t2, (SELECT a FROM t1
ORDER BY a
) AS t SET t2.b = t.a+5 ;
SELECT * FROM t1 ORDER BY a;
SELECT * FROM t1 ORDER BY a;
a b
a b
1 0
1 0
...
...
mysql-test/r/rpl_ndb_multi_update3.result
View file @
3cb9b16e
...
@@ -25,7 +25,7 @@ SELECT * FROM t2 ORDER BY a;
...
@@ -25,7 +25,7 @@ SELECT * FROM t2 ORDER BY a;
a b
a b
1 0
1 0
2 1
2 1
UPDATE t2, (SELECT a FROM t1) AS t SET t2.b = t.a+5 ;
UPDATE t2, (SELECT a FROM t1
ORDER BY a
) AS t SET t2.b = t.a+5 ;
SELECT * FROM t1 ORDER BY a;
SELECT * FROM t1 ORDER BY a;
a b
a b
1 0
1 0
...
...
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