diff options
author | unknown <mskold@mysql.com> | 2004-12-01 09:22:26 +0100 |
---|---|---|
committer | unknown <mskold@mysql.com> | 2004-12-01 09:22:26 +0100 |
commit | 067568aadfdbf87ddeb2d919800c5541edb700ea (patch) | |
tree | 31e503b31ea40dc740231c9f87286f0bb417182e /mysql-test/t | |
parent | 4386e0c3484ae892107243c51188bfe51fcf53d1 (diff) | |
parent | d38c2d3c2ad50df1dd64a2d5236478753fa77a1c (diff) | |
download | mariadb-git-067568aadfdbf87ddeb2d919800c5541edb700ea.tar.gz |
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-4.1
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/ndb_update.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/t/ndb_update.test b/mysql-test/t/ndb_update.test new file mode 100644 index 00000000000..3b0e84e2344 --- /dev/null +++ b/mysql-test/t/ndb_update.test @@ -0,0 +1,22 @@ +-- source include/have_ndb.inc + +--disable_warnings +DROP TABLE IF EXISTS t1; +--enable_warnings + +# +# Basic test of INSERT in NDB +# + +# +# Create a normal table with primary key +# +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, 1),(1,1,2),(2,2,3); +UPDATE t1 set b = c; +select * from t1 order by pk1; |