MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Martin Skold Date:August 14 2007 8:29am
Subject:bk commit into 5.1 tree (mskold:1.2577) BUG#30337
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of marty. When marty does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-08-14 10:29:00+02:00, mskold@stripped +1 -0
  bug#30337  DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Regenerated result

  mysql-test/r/ndb_read_multi_range.result@stripped, 2007-08-14 10:28:31+02:00, mskold@stripped +19 -0
    bug#30337  DELETE ... WHERE PK IN (..) and AFTER DELETE trigger crashes API node: Regenerated result

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	mskold
# Host:	linux.site
# Root:	/windows/Linux_space/MySQL/mysql-5.1-new-ndb

--- 1.14/mysql-test/r/ndb_read_multi_range.result	2007-08-14 10:29:19 +02:00
+++ 1.15/mysql-test/r/ndb_read_multi_range.result	2007-08-14 10:29:19 +02:00
@@ -473,3 +473,22 @@ a	b
 1	1
 10	10
 drop table t1, t2;
+create table t1 (id int primary key) engine ndb;
+insert into t1 values (1), (2), (3);
+create table t2 (id int primary key) engine ndb;
+insert into t2 select id from t1;
+create trigger kaboom after delete on t1
+for each row begin
+delete from t2 where id=old.id;
+end|
+select * from t1 order by id;
+id
+1
+2
+3
+delete from t1 where id in (1,2);
+select * from t2 order by id;
+id
+3
+drop trigger kaboom;
+drop table t1;
Thread
bk commit into 5.1 tree (mskold:1.2577) BUG#30337Martin Skold14 Aug