mariadb/mysql-test/r/ndb_update.result
unknown 12040a9dea ndb - make sure to drop table at end ndb_update
mysql-test/r/ndb_update.result:
  make sure to drop table at end of test
mysql-test/t/ndb_update.test:
  make sure to drop table at end of test
2005-01-13 09:22:00 +01:00

14 lines
267 B
Text

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, 1),(1,1,2),(2,2,3);
UPDATE t1 set b = c;
select * from t1 order by pk1;
pk1 b c
0 1 1
1 2 2
2 3 3
drop table t1;