List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:March 27 2007 4:22pm
Subject:bk commit into 5.0 tree (cmiller:1.2419)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of cmiller. When cmiller 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-27 12:22:28-04:00, cmiller@stripped +1 -0
  Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug27047/my50-prece-bug27047
  into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-comeng
  MERGE: 1.2392.109.1

  sql/sql_show.cc@stripped, 2007-03-27 12:22:23-04:00, cmiller@stripped +0 -0
    Auto merged
    MERGE: 1.337.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:	cmiller
# Host:	zippy.cornsilk.net
# Root:	/home/cmiller/work/mysql/mysql-5.0-comeng/RESYNC

--- 1.345/sql/sql_show.cc	2007-03-23 09:37:57 -04:00
+++ 1.346/sql/sql_show.cc	2007-03-27 12:22:23 -04:00
@@ -3606,7 +3606,16 @@
         DBUG_RETURN(0);
       }
       break;
+    case MYSQL_TYPE_FLOAT:
+    case MYSQL_TYPE_DOUBLE:
+      if ((item= new Item_float(fields_info->field_name, 0.0, NOT_FIXED_DEC, 
+                           fields_info->field_length)) == NULL)
+        DBUG_RETURN(NULL);
+      break;
     default:
+      /* Don't let unimplemented types pass through. Could be a grave error. */
+      DBUG_ASSERT(fields_info->field_type == MYSQL_TYPE_STRING);
+
       /* this should be changed when Item_empty_string is fixed(in 4.1) */
       if (!(item= new Item_empty_string("", 0, cs)))
       {
Thread
bk commit into 5.0 tree (cmiller:1.2419)Chad MILLER27 Mar