diff options
author | unknown <mskold/marty@mysql.com/linux.site> | 2007-02-01 13:59:34 +0100 |
---|---|---|
committer | unknown <mskold/marty@mysql.com/linux.site> | 2007-02-01 13:59:34 +0100 |
commit | 8d975637ab56e6bfec1bb78ca63d7d39548d3434 (patch) | |
tree | 723946f2d40e597ac289c85fd064567e4cccf3d2 /mysql-test/r | |
parent | 3f064efb0ee9089d711a9428bf45900d69e6e399 (diff) | |
parent | c9950f2694b3f1533a884b5e0300ccddb98462e7 (diff) | |
download | mariadb-git-8d975637ab56e6bfec1bb78ca63d7d39548d3434.tar.gz |
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
sql/ha_ndbcluster.cc:
Auto merged
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/ndb_read_multi_range.result | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/r/ndb_read_multi_range.result b/mysql-test/r/ndb_read_multi_range.result index e2a076ef99f..d279485e48e 100644 --- a/mysql-test/r/ndb_read_multi_range.result +++ b/mysql-test/r/ndb_read_multi_range.result @@ -381,3 +381,20 @@ SELECT id, tag, doc, type FROM t1 WHERE id IN ('flipper','sakila'); id tag doc type sakila 1 Some text goes here text DROP TABLE t1; +CREATE TABLE t1 ( +var1 int(2) NOT NULL, +var2 int(2) NOT NULL, +PRIMARY KEY (var1) +) ENGINE=ndbcluster DEFAULT CHARSET=ascii CHECKSUM=1; +CREATE TABLE t2 ( +var1 int(2) NOT NULL, +var2 int(2) NOT NULL, +PRIMARY KEY (var1) +) ENGINE=MyISAM DEFAULT CHARSET=ascii CHECKSUM=1; +CREATE TRIGGER testtrigger +AFTER UPDATE ON t1 FOR EACH ROW BEGIN +REPLACE INTO t2 SELECT * FROM t1 WHERE t1.var1 = NEW.var1;END| +INSERT INTO t1 VALUES (1,1),(2,2),(3,3); +UPDATE t1 SET var2 = 9 WHERE var1 IN(1,2,3); +DROP TRIGGER testtrigger; +DROP TABLE t1, t2; |