List:Commits« Previous MessageNext Message »
From:msvensson Date:February 2 2006 10:45am
Subject:bk commit into 5.0 tree (msvensson:1.2020)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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
  1.2020 06/02/02 11:45:37 msvensson@neptunus.(none) +1 -0
  Convert exponent results for MYSQL_TYPE_FLOAT on Windows

  client/mysqltest.c
    1.198 06/02/02 11:45:30 msvensson@neptunus.(none) +2 -1
    Do the magic for MYSQL_TYPE_FLOAT as well

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysqltest_float_result/my50-mysqltest_float_result

--- 1.197/client/mysqltest.c	2006-02-01 11:36:27 +01:00
+++ 1.198/client/mysqltest.c	2006-02-02 11:45:30 +01:00
@@ -3059,7 +3059,8 @@
     len= 4;
   }
 #ifdef __WIN__
-  else if (field->type == MYSQL_TYPE_DOUBLE &&
+  else if ((field->type == MYSQL_TYPE_DOUBLE ||
+            field->type == MYSQL_TYPE_FLOAT ) &&
            field->decimals >= 31)
   {
     /* Convert 1.2e+018 to 1.2e+18 and 1.2e-018 to 1.2e-18 */
Thread
bk commit into 5.0 tree (msvensson:1.2020)msvensson2 Feb