List:Commits« Previous MessageNext Message »
From:kpettersson Date:October 4 2006 1:17pm
Subject:bk commit into 5.1 tree (Kristofer.Pettersson:1.2345)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of Kristofer Pettersson. When Kristofer Pettersson 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-10-04 13:17:28+02:00, Kristofer.Pettersson@naruto. +3 -0
  Merge naruto.:C:/cpp/bug21811/my50-bug21811
  into  naruto.:C:/cpp/bug21811/my51-bug21811
  MERGE: 1.1810.2096.16

  mysql-test/r/func_time.result@stripped, 2006-10-04 12:49:42+02:00, Kristofer.Pettersson@naruto. +0 -0
    Auto merged
    MERGE: 1.47.1.21

  sql/item_timefunc.cc@stripped, 2006-10-04 12:49:42+02:00, Kristofer.Pettersson@naruto. +0 -0
    Auto merged
    MERGE: 1.100.1.25

  sql/item_timefunc.h@stripped, 2006-10-04 13:17:17+02:00, Kristofer.Pettersson@naruto. +0 -11
    MERGE: 1.63.1.6

# 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:	Kristofer.Pettersson
# Host:	naruto.
# Root:	C:/cpp/bug21811/my51-bug21811/RESYNC

--- 1.134/sql/item_timefunc.cc	2006-10-04 13:17:44 +02:00
+++ 1.135/sql/item_timefunc.cc	2006-10-04 13:17:44 +02:00
@@ -2030,11 +2030,15 @@
           (date_sub_interval == other->date_sub_interval));
 }
 
+/*
+   'interval_names' reflects the order of the enumeration interval_type.
+   See item_timefunc.h
+ */
 
 static const char *interval_names[]=
 {
-  "year", "quarter", "month", "day", "hour",
-  "minute", "week", "second", "microsecond",
+  "year", "quarter", "month", "week", "day",  
+  "hour", "minute", "second", "microsecond",
   "year_month", "day_hour", "day_minute", 
   "day_second", "hour_minute", "hour_second",
   "minute_second", "day_microsecond",

--- 1.75/mysql-test/r/func_time.result	2006-10-04 13:17:44 +02:00
+++ 1.76/mysql-test/r/func_time.result	2006-10-04 13:17:44 +02:00
@@ -612,7 +612,7 @@
 2003-01-03 01:01:01
 select date_add(date,INTERVAL "1" WEEK) from t1;
 date_add(date,INTERVAL "1" WEEK)
-2003-01-09 00:00:00
+2003-01-09
 select date_add(date,INTERVAL "1" QUARTER) from t1;
 date_add(date,INTERVAL "1" QUARTER)
 2003-04-02
@@ -621,7 +621,7 @@
 2003-01-02 00:01:00
 select timestampadd(WEEK, 1, date) from t1;
 timestampadd(WEEK, 1, date)
-2003-01-09 00:00:00
+2003-01-09
 select timestampadd(SQL_TSI_SECOND, 1, date) from t1;
 timestampadd(SQL_TSI_SECOND, 1, date)
 2003-01-02 00:00:01


Thread
bk commit into 5.1 tree (Kristofer.Pettersson:1.2345)kpettersson4 Oct