diff options
author | Sinisa@sinisa.nasamreza.org <> | 2004-03-13 21:06:36 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2004-03-13 21:06:36 +0200 |
commit | 639f411a8243584abaca582c3a0ef196f347209a (patch) | |
tree | 007083ed15f9c12a2356f6ee503aa711fe34927d /mysql-test/t/multi_update.test | |
parent | 37817f60cc3c0b47eaffe8f5e16f713c81354ef9 (diff) | |
download | mariadb-git-639f411a8243584abaca582c3a0ef196f347209a.tar.gz |
multi_update.result:
Fix for a bug in the result
multi_update.test:
Fix for a bug in the test
Diffstat (limited to 'mysql-test/t/multi_update.test')
-rw-r--r-- | mysql-test/t/multi_update.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/multi_update.test b/mysql-test/t/multi_update.test index 6ed340ad92b..e4651df400f 100644 --- a/mysql-test/t/multi_update.test +++ b/mysql-test/t/multi_update.test @@ -332,9 +332,9 @@ DROP TABLE t1,t2; create table `t1` ( `p_id` int(10) unsigned NOT NULL auto_increment, `p_code` varchar(20) NOT NULL default '', `p_created` datetime NOT NULL default '0000-00-00 00:00:00', `p_active` tinyint(1) unsigned NOT NULL default '1', PRIMARY KEY (`p_id`) ); create table `t2` ( `c2_id` int(10) unsigned NULL auto_increment, `c2_p_id` int(10) unsigned NOT NULL default '0', `c2_note` text NOT NULL, `c2_created` datetime NOT NULL default '0000-00-00 00:00:00', `c2_active` tinyint(1) unsigned NOT NULL default '1', PRIMARY KEY (`c2_id`), KEY `c2_p_id` (`c2_p_id`) ); -insert into t1 values (0,'A01-Comp',now(),1); -insert into t1 values (0,'B01-Comp',now(),1); -insert into t2 values (0,1,'A Note',now(),1); +insert into t1 values (0,'A01-Comp',"2004-01-05 12:12:12",1); +insert into t1 values (0,'B01-Comp',"2004-01-05 12:12:13",1); +insert into t2 values (0,1,'A Note',"2004-01-05 12:12:14",1); update t1 left join t2 on p_id = c2_p_id set c2_note = 'asdf-1' where p_id = 2; select * from t1; select * from t2; |