Below is the list of changes that have just been committed into a local
5.1 repository of df. When df 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-09 10:19:50+01:00, df@stripped +1 -0
Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-25601
into pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1-build-work-25601
MERGE: 1.1810.2372.113
config/ac-macros/misc.m4@stripped, 2007-03-09 10:19:47+01:00, df@stripped +0 -0
Auto merged
MERGE: 1.12.1.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: df
# Host: pippilotta.erinye.com
# Root: /shared/home/df/mysql/build/mysql-5.1-build-work-25601/RESYNC
--- 1.15/config/ac-macros/misc.m4 2006-08-01 13:59:48 +02:00
+++ 1.16/config/ac-macros/misc.m4 2007-03-09 10:19:47 +01:00
@@ -663,3 +663,27 @@
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
])
+
+dnl
+dnl Macro to check time_t range: according to C standard
+dnl array index must be greater than 0 => if time_t is signed,
+dnl the code in the macros below won't compile.
+dnl
+
+AC_DEFUN([MYSQL_CHECK_TIME_T],[
+ AC_MSG_CHECKING(if time_t is unsigned)
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
+ [[
+#include <time.h>
+ ]],
+ [[
+ int array[(((time_t)-1) > 0) ? 1 : -1];
+ ]] )
+ ], [
+ AC_DEFINE([TIME_T_UNSIGNED], 1, [Define to 1 if time_t is unsigned])
+ AC_MSG_RESULT(yes)
+ ],
+ [AC_MSG_RESULT(no)]
+ )
+])
+
| Thread |
|---|
| • bk commit into 5.1 tree (df:1.2461) | Daniel Fischer | 9 Mar |