MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Ignacio Galarza Date:June 3 2007 4:26am
Subject:bk commit into 5.1 tree (iggy:1.2535) BUG#28556
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of iggy. When iggy 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-06-03 00:26:38-04:00, iggy@amd64.(none) +2 -0
  Bug#28556 MySQL 5.1.18 (Windows) cannot match CHAR columns
  - Cannot duplicate problem, adding test case to prevent future 
  regressions.

  mysql-test/r/func_misc.result@stripped, 2007-06-03 00:26:36-04:00, iggy@amd64.(none) +9 -0
    Bug#28556 MySQL 5.1.18 (Windows) cannot match CHAR columns
    - Added results.

  mysql-test/t/func_misc.test@stripped, 2007-06-03 00:26:36-04:00, iggy@amd64.(none) +14 -0
    Bug#28556 MySQL 5.1.18 (Windows) cannot match CHAR columns
    - Added test to prevent future regressions.

# 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:	iggy
# Host:	amd64.(none)
# Root:	/src/mysql-5.1-maint_28556

--- 1.31/mysql-test/r/func_misc.result	2007-03-01 21:21:51 -05:00
+++ 1.32/mysql-test/r/func_misc.result	2007-06-03 00:26:36 -04:00
@@ -186,3 +186,12 @@ drop table table_26093;
 drop function func_26093_a;
 drop function func_26093_b;
 End of 5.0 tests
+DROP TABLE IF EXISTS table_28556;
+CREATE TABLE table_28556 (ColA CHAR(36) NOT NULL PRIMARY KEY, ColB INT NOT NULL);
+SET @a = UUID(), @b = 1;
+INSERT INTO table_28556 VALUES(@a, @b);
+UPDATE table_28556 T1 SET T1.ColB = 2 WHERE T1.ColA = @a;
+SELECT ROW_COUNT();
+ROW_COUNT()
+1
+DROP TABLE table_28556;

--- 1.21/mysql-test/t/func_misc.test	2007-03-01 21:20:46 -05:00
+++ 1.22/mysql-test/t/func_misc.test	2007-06-03 00:26:36 -04:00
@@ -190,3 +190,17 @@ drop function func_26093_a;
 drop function func_26093_b;
 
 --echo End of 5.0 tests
+
+#
+# Bug#28556 MySQL 5.1.18 (Windows) cannot match CHAR columns
+#
+--disable_warnings
+DROP TABLE IF EXISTS table_28556;
+--enable_warnings
+
+CREATE TABLE table_28556 (ColA CHAR(36) NOT NULL PRIMARY KEY, ColB INT NOT NULL);
+SET @a = UUID(), @b = 1;
+INSERT INTO table_28556 VALUES(@a, @b);
+UPDATE table_28556 T1 SET T1.ColB = 2 WHERE T1.ColA = @a;
+SELECT ROW_COUNT();
+DROP TABLE table_28556;
Thread
bk commit into 5.1 tree (iggy:1.2535) BUG#28556Ignacio Galarza3 Jun