List:Commits« Previous MessageNext Message »
From:pekka Date:September 11 2006 6:45am
Subject:bk commit into 5.1 tree (pekka:1.2307)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of pekka. When pekka 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, 2006-09-11 08:45:22+02:00, pekka@stripped +2 -0
  Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-ndb
  into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug20612
  MERGE: 1.2300.6.2

  mysql-test/r/ndb_dd_basic.result@stripped, 2006-09-11 08:45:14+02:00, pekka@stripped +0 -0
    manual 1+1
    MERGE: 1.10.1.1

  mysql-test/t/ndb_dd_basic.test@stripped, 2006-09-11 08:45:15+02:00, pekka@stripped +0 -1
    manual 1+1
    MERGE: 1.6.1.1

# 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:	pekka
# Host:	orca.ndb.mysql.com
# Root:	/export/home/space/pekka/ndb/version/my51-bug20612/RESYNC

--- 1.11/mysql-test/r/ndb_dd_basic.result	2006-09-11 08:45:41 +02:00
+++ 1.12/mysql-test/r/ndb_dd_basic.result	2006-09-11 08:45:41 +02:00
@@ -422,6 +422,26 @@
 COUNT(*)
 0
 DROP TABLE t1;
+CREATE TABLE t1 (
+a int NOT NULL,
+b varchar(4000),  -- must use 2 pages undo
+PRIMARY KEY using hash (a)
+)
+TABLESPACE ts1 STORAGE DISK ENGINE=NDBCLUSTER;
+set autocommit = 0;
+insert into t1 values(0,'x');
+insert into t1 values(1,'x');
+insert into t1 values(2,'x');
+insert into t1 values(3,'x');
+insert into t1 values(4,'x');
+insert into t1 values(5,'x');
+insert into t1 values(6,'x');
+insert into t1 values(7,'x');
+insert into t1 values(8,'x');
+delete from t1 where a = 0;
+commit;
+set autocommit = 1;
+drop table t1;
 create table test.t1 (f1 varchar(50) primary key, f2 text,f3 int) 
 TABLESPACE ts1 STORAGE DISK engine=NDB;
 insert into test.t1 (f1,f2,f3)VALUES("111111","aaaaaa",1);

--- 1.7/mysql-test/t/ndb_dd_basic.test	2006-09-11 08:45:41 +02:00
+++ 1.8/mysql-test/t/ndb_dd_basic.test	2006-09-11 08:45:41 +02:00
@@ -345,6 +345,31 @@
 SELECT COUNT(*) FROM t1;
 DROP TABLE t1;
 
+# bug#20612 INS-DEL bug (not pgman bug)
+# found via disk data assert but is not pgman or disk data related
+
+CREATE TABLE t1 (
+  a int NOT NULL,
+  b varchar(4000),  -- must use 2 pages undo
+  PRIMARY KEY using hash (a)
+)
+TABLESPACE ts1 STORAGE DISK ENGINE=NDBCLUSTER;
+
+set autocommit = 0;
+insert into t1 values(0,'x');
+insert into t1 values(1,'x');
+insert into t1 values(2,'x');
+insert into t1 values(3,'x');
+insert into t1 values(4,'x');
+insert into t1 values(5,'x');
+insert into t1 values(6,'x');
+insert into t1 values(7,'x');
+insert into t1 values(8,'x');
+delete from t1 where a = 0;
+commit;
+set autocommit = 1;
+
+drop table t1;
 #############################
 # Customer posted order by test case
 # Org in ndb_dd_advance.test
Thread
bk commit into 5.1 tree (pekka:1.2307)pekka11 Sep