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
0648cc42
Commit
0648cc42
authored
Nov 28, 2004
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added better test for Bug #6794 Wrong outcome of update operation of ndb table
parent
065184da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/ndb_update.result
mysql-test/r/ndb_update.result
+4
-3
mysql-test/t/ndb_update.test
mysql-test/t/ndb_update.test
+1
-1
No files found.
mysql-test/r/ndb_update.result
View file @
0648cc42
...
...
@@ -4,9 +4,10 @@ pk1 INT NOT NULL PRIMARY KEY,
b INT NOT NULL,
c INT NOT NULL
) ENGINE=ndbcluster;
INSERT INTO t1 VALUES (0, 0,
0),(1,1,1
);
INSERT INTO t1 VALUES (0, 0,
1),(1,1,2),(2,2,3
);
UPDATE t1 set b = c;
select * from t1 order by pk1;
pk1 b c
0 0 0
1 1 1
0 1 1
1 2 2
2 3 3
mysql-test/t/ndb_update.test
View file @
0648cc42
...
...
@@ -17,6 +17,6 @@ CREATE TABLE t1 (
c
INT
NOT
NULL
)
ENGINE
=
ndbcluster
;
INSERT
INTO
t1
VALUES
(
0
,
0
,
0
),(
1
,
1
,
1
);
INSERT
INTO
t1
VALUES
(
0
,
0
,
1
),(
1
,
1
,
2
),(
2
,
2
,
3
);
UPDATE
t1
set
b
=
c
;
select
*
from
t1
order
by
pk1
;
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