List:Commits« Previous MessageNext Message »
From:Martin Skold Date:December 15 2006 8:03am
Subject:bk commit into 5.0 tree (mskold:1.2290) BUG#19956
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 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, 2006-12-15 09:03:21+01:00, mskold@stripped +2 -0
  bug#19956  Problems with VARCHAR primary key and BLOB fields:added test case

  mysql-test/r/ndb_read_multi_range.result@stripped, 2006-12-15 09:02:29+01:00, mskold@stripped +14 -0
    bug#19956  Problems with VARCHAR primary key and BLOB fields:added test case

  mysql-test/t/ndb_read_multi_range.test@stripped, 2006-12-15 09:02:51+01:00, mskold@stripped +15 -0
    bug#19956  Problems with VARCHAR primary key and BLOB fields:added test case

# 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.0

--- 1.5/mysql-test/r/ndb_read_multi_range.result	2006-12-15 09:03:30 +01:00
+++ 1.6/mysql-test/r/ndb_read_multi_range.result	2006-12-15 09:03:30 +01:00
@@ -367,3 +367,17 @@ a	b	c
 406994	67	2006-02-27 11:26:46
 406995	67	2006-02-28 11:55:00
 DROP TABLE t1, t11, t12, t21, t22;
+CREATE TABLE t1 (id varchar(255) NOT NULL,
+tag int(11) NOT NULL,
+doc text NOT NULL,
+type varchar(150) NOT NULL,
+modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+PRIMARY KEY (id)
+) ENGINE=ndbcluster;
+INSERT INTO t1 VALUES ('sakila',1,'Some text goes here','text',CURRENT_TIMESTAMP);
+SELECT id, tag, doc, type FROM t1 WHERE id IN ('flipper','orka');
+id	tag	doc	type
+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;

--- 1.6/mysql-test/t/ndb_read_multi_range.test	2006-12-15 09:03:30 +01:00
+++ 1.7/mysql-test/t/ndb_read_multi_range.test	2006-12-15 09:03:30 +01:00
@@ -238,3 +238,18 @@ select * from t12 order by 1,2,3;
 select * from t21 order by 1,2,3;
 select * from t22 order by 1,2,3;
 DROP TABLE t1, t11, t12, t21, t22;
+
+# bug#19956
+CREATE TABLE t1 (id varchar(255) NOT NULL,
+		 tag int(11) NOT NULL,
+                 doc text NOT NULL,
+                 type varchar(150) NOT NULL,
+                 modified timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+                 PRIMARY KEY (id)
+                ) ENGINE=ndbcluster;
+
+INSERT INTO t1 VALUES ('sakila',1,'Some text goes here','text',CURRENT_TIMESTAMP);
+SELECT id, tag, doc, type FROM t1 WHERE id IN ('flipper','orka');
+SELECT id, tag, doc, type FROM t1 WHERE id IN ('flipper','sakila');
+
+DROP TABLE t1;
Thread
bk commit into 5.0 tree (mskold:1.2290) BUG#19956Martin Skold15 Dec