List:Commits« Previous MessageNext Message »
From:ramil Date:February 6 2007 12:59pm
Subject:bk commit into 5.1 tree (ramil:1.2419)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of ram. When ram 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-02-06 15:59:37+04:00, ramil@stripped +1 -0
  Merge mysql.com:/home/ram/work/b23782/b23782.5.0
  into  mysql.com:/home/ram/work/b23782/b23782.5.1
  MERGE: 1.1810.2536.2

  sql/sql_analyse.cc@stripped, 2007-02-06 15:59:34+04:00, ramil@stripped +0 -0
    Auto merged
    MERGE: 1.67.2.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:	ramil
# Host:	ramil.myoffice.izhnet.ru
# Root:	/home/ram/work/b23782/b23782.5.1/RESYNC

--- 1.73/sql/sql_analyse.cc	2007-02-06 15:59:41 +04:00
+++ 1.74/sql/sql_analyse.cc	2007-02-06 15:59:41 +04:00
@@ -86,6 +86,11 @@ proc_analyse_init(THD *thd, ORDER *param
   else if (param->next)
   {
     // first parameter
+    if (!(*param->item)->fixed && (*param->item)->fix_fields(thd, param->item))
+    {
+      DBUG_PRINT("info", ("fix_fields() for the first parameter failed"));
+      goto err;
+    }
     if ((*param->item)->type() != Item::INT_ITEM ||
 	(*param->item)->val_real() < 0)
     {
@@ -100,6 +105,11 @@ proc_analyse_init(THD *thd, ORDER *param
       goto err;
     }
     // second parameter
+    if (!(*param->item)->fixed && (*param->item)->fix_fields(thd, param->item))
+    {
+      DBUG_PRINT("info", ("fix_fields() for the second parameter failed"));
+      goto err;
+    }
     if ((*param->item)->type() != Item::INT_ITEM ||
 	(*param->item)->val_real() < 0)
     {
Thread
bk commit into 5.1 tree (ramil:1.2419)ramil6 Feb