List:Commits« Previous MessageNext Message »
From:azundris Date:September 4 2006 5:46am
Subject:bk commit into 5.0 tree (tnurnberg:1.2254)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of tnurnberg. When tnurnberg 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-04 07:45:49+02:00, tnurnberg@stripped +2 -0
  Merge tnurnberg@stripped:/home/bk/mysql-5.0-maint
  into  maint1.mysql.com:/data/localhome/tnurnberg/my50-21913
  MERGE: 1.2216.30.3

  mysql-test/r/func_time.result@stripped, 2006-09-04 07:45:44+02:00, tnurnberg@stripped +0 -0
    Auto merged
    MERGE: 1.62.1.1

  mysql-test/t/func_time.test@stripped, 2006-09-04 07:45:44+02:00, tnurnberg@stripped +0 -0
    Auto merged
    MERGE: 1.50.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:	tnurnberg
# Host:	maint1.mysql.com
# Root:	/data/localhome/tnurnberg/my50-21913/RESYNC

--- 1.66/mysql-test/r/func_time.result	2006-09-04 07:46:05 +02:00
+++ 1.67/mysql-test/r/func_time.result	2006-09-04 07:46:05 +02:00
@@ -1053,3 +1053,15 @@ id	day	id	day
 3	2005-07-01	3	2005-07-15
 DROP TABLE t1,t2;
 set time_zone= @@global.time_zone;
+SET NAMES latin1;
+SET character_set_results = NULL;
+SHOW VARIABLES LIKE 'character_set_results';
+Variable_name	Value
+character_set_results	
+CREATE TABLE testBug8868 (field1 DATE, field2 VARCHAR(32) CHARACTER SET BINARY);
+INSERT INTO testBug8868 VALUES ('2006-09-04', 'abcd');
+SELECT DATE_FORMAT(field1,'%b-%e %l:%i%p') as fmtddate, field2 FROM testBug8868;
+fmtddate	field2
+Sep-4 12:00AM	abcd
+DROP TABLE testBug8868;
+SET NAMES DEFAULT;

--- 1.54/mysql-test/t/func_time.test	2006-09-04 07:46:05 +02:00
+++ 1.55/mysql-test/t/func_time.test	2006-09-04 07:46:05 +02:00
@@ -583,3 +583,21 @@ DROP TABLE t1,t2;
 
 # Restore timezone to default
 set time_zone= @@global.time_zone;
+
+#
+# 21913: DATE_FORMAT() Crashes mysql server if I use it through
+#        mysql-connector-j driver.
+#
+
+SET NAMES latin1;
+SET character_set_results = NULL;
+SHOW VARIABLES LIKE 'character_set_results';
+
+CREATE TABLE testBug8868 (field1 DATE, field2 VARCHAR(32) CHARACTER SET BINARY);
+INSERT INTO testBug8868 VALUES ('2006-09-04', 'abcd');
+
+SELECT DATE_FORMAT(field1,'%b-%e %l:%i%p') as fmtddate, field2 FROM testBug8868;
+
+DROP TABLE testBug8868;
+
+SET NAMES DEFAULT;
Thread
bk commit into 5.0 tree (tnurnberg:1.2254)azundris4 Sep