List:Commits« Previous MessageNext Message »
From:kgeorge Date:March 6 2007 5:52pm
Subject:bk commit into 5.0 tree (gkodinov:1.2410) BUG#19342
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kgeorge. When kgeorge 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-03-06 18:52:00+02:00, gkodinov@stripped +2 -0
  Bug#19342: additional test case for code coverage

  mysql-test/r/func_in.result@stripped, 2007-03-06 18:51:53+02:00, gkodinov@stripped +7 -1
    Bug#19342: additional test case for code coverage

  mysql-test/t/func_in.test@stripped, 2007-03-06 18:51:54+02:00, gkodinov@stripped +5 -1
    Bug#19342: additional test case for code coverage

# 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:	gkodinov
# Host:	macbook.gmz
# Root:	/Users/kgeorge/mysql/work/B19342-5.0-opt

--- 1.32/mysql-test/r/func_in.result	2007-03-02 16:25:48 +02:00
+++ 1.33/mysql-test/r/func_in.result	2007-03-06 18:51:53 +02:00
@@ -463,5 +463,11 @@ CREATE TABLE t3 (a BIGINT UNSIGNED);
 INSERT INTO t3 VALUES (9223372036854775551);
 SELECT HEX(a) FROM t3 WHERE a IN (9223372036854775807, 42);
 HEX(a)
-DROP TABLE t1,t2,t3;
+CREATE TABLE t4 (a DATE);
+INSERT INTO t4 VALUES ('1972-02-06'), ('1972-07-29');
+SELECT * FROM t4 WHERE a IN ('1972-02-06','19772-07-29');
+a
+Warnings:
+Warning	1292	Incorrect date value: '19772-07-29' for column 'a' at row 1
+DROP TABLE t1,t2,t3,t4;
 End of 5.0 tests

--- 1.26/mysql-test/t/func_in.test	2007-03-02 16:25:48 +02:00
+++ 1.27/mysql-test/t/func_in.test	2007-03-06 18:51:54 +02:00
@@ -354,6 +354,10 @@ INSERT INTO t3 VALUES (92233720368547755
 
 SELECT HEX(a) FROM t3 WHERE a IN (9223372036854775807, 42);
 
-DROP TABLE t1,t2,t3;
+CREATE TABLE t4 (a DATE);
+INSERT INTO t4 VALUES ('1972-02-06'), ('1972-07-29');
+SELECT * FROM t4 WHERE a IN ('1972-02-06','19772-07-29');
+
+DROP TABLE t1,t2,t3,t4;
 
 --echo End of 5.0 tests
Thread
bk commit into 5.0 tree (gkodinov:1.2410) BUG#19342kgeorge6 Mar