List:Commits« Previous MessageNext Message »
From:Alexey Kopytov Date:April 30 2007 9:33am
Subject:bk commit into 5.1 tree (kaa:1.2493)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of kaa. When kaa 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-04-30 13:33:13+04:00, kaa@stripped +1 -0
  Merge polly.local:/home/kaa/src/maint/mysql-5.0-maint
  into  polly.local:/home/kaa/src/maint/mysql-5.1-maint
  MERGE: 1.1810.2865.25

  include/my_global.h@stripped, 2007-04-30 13:33:06+04:00, kaa@stripped +0 -0
    Auto merged
    MERGE: 1.96.1.44

# 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:	kaa
# Host:	polly.local
# Root:	/home/kaa/src/maint/mysql-5.1-maint/RESYNC

--- 1.166/include/my_global.h	2007-04-24 16:05:58 +04:00
+++ 1.167/include/my_global.h	2007-04-30 13:33:06 +04:00
@@ -847,13 +847,20 @@ typedef SOCKET_SIZE_TYPE size_socket;
 #define SSIZE_MAX ((~((size_t) 0)) / 2)
 #endif
 
+#ifndef HAVE_FINITE
+#define finite(x) (1.0 / fabs(x) > 0.0)
+#endif
+
+#ifndef HAVE_ISNAN
+#define isnan(x) ((x) != (x))
+#endif
+
 #if !defined(HAVE_ISINF)
 /* The configure check for "isinf with math.h" has failed */
 #ifdef isinf
 #undef isinf
 #endif
-/* Define isinf to never say that X is infinite */
-#define isinf(X)    0
+#define isinf(X) (!finite(X) && !isnan(X))
 #endif
 
 /* Define missing math constants. */
Thread
bk commit into 5.1 tree (kaa:1.2493)Alexey Kopytov30 Apr