summaryrefslogtreecommitdiff
path: root/mysql-test/r/ndb_update.result
diff options
context:
space:
mode:
authormskold@mysql.com <>2004-11-28 22:28:36 +0100
committermskold@mysql.com <>2004-11-28 22:28:36 +0100
commit065184dac371180cd1da39e993e09b99ce5c2ef1 (patch)
tree3f49d173331a34d3370c6bb19e1507b62acc3252 /mysql-test/r/ndb_update.result
parent989721d12f6c2a6b724c9010912be4b6d04a1ccb (diff)
downloadmariadb-git-065184dac371180cd1da39e993e09b99ce5c2ef1.tar.gz
Fix for Bug #6794 Wrong outcome of update operation of ndb table
Diffstat (limited to 'mysql-test/r/ndb_update.result')
-rw-r--r--mysql-test/r/ndb_update.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_update.result b/mysql-test/r/ndb_update.result
new file mode 100644
index 00000000000..829e722faaa
--- /dev/null
+++ b/mysql-test/r/ndb_update.result
@@ -0,0 +1,12 @@
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1 (
+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);
+UPDATE t1 set b = c;
+select * from t1 order by pk1;
+pk1 b c
+0 0 0
+1 1 1