Commit c75f17f1 authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint

into  solace.(none):/home/mtaylor/src/mysql/mysql-5.1-new-maint

parents bbbe064b 3e7b9381
...@@ -128,8 +128,15 @@ AC_DEFUN([MYSQL_SYS_LARGEFILE], ...@@ -128,8 +128,15 @@ AC_DEFUN([MYSQL_SYS_LARGEFILE],
ac_cv_sys_largefile_source=1 ;; ac_cv_sys_largefile_source=1 ;;
esac]) esac])
# AIX 4.2 and later -- do nothing, include standards.h instead. AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES,
# this goes for both GNU and IBM C and C++ compilers. ac_cv_sys_large_files,
[Large files support on AIX-style hosts.],
[case "$host_os" in
# Large file support on AIX is available starting from version 4.2
# Tested only on 5.2 and up
aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*)
ac_cv_sys_large_files=1 ;;
esac])
fi fi
]) ])
...@@ -107,6 +107,11 @@ ...@@ -107,6 +107,11 @@
#define NETWARE_SET_SCREEN_MODE(A) #define NETWARE_SET_SCREEN_MODE(A)
#endif #endif
/* Workaround for _LARGE_FILES and _LARGE_FILE_API incompatibility on AIX */
#if defined(_AIX) && defined(_LARGE_FILE_API)
#undef _LARGE_FILE_API
#endif
/* /*
The macros below are used to allow build of Universal/fat binaries of The macros below are used to allow build of Universal/fat binaries of
MySQL and MySQL applications under darwin. MySQL and MySQL applications under darwin.
......
...@@ -93,6 +93,9 @@ makedate(9999,365) ...@@ -93,6 +93,9 @@ makedate(9999,365)
select makedate(9999,366); select makedate(9999,366);
makedate(9999,366) makedate(9999,366)
NULL NULL
select makedate(100,1);
makedate(100,1)
0100-01-01
select addtime("1997-12-31 23:59:59.999999", "1 1:1:1.000002"); select addtime("1997-12-31 23:59:59.999999", "1 1:1:1.000002");
addtime("1997-12-31 23:59:59.999999", "1 1:1:1.000002") addtime("1997-12-31 23:59:59.999999", "1 1:1:1.000002")
1998-01-02 01:01:01.000001 1998-01-02 01:01:01.000001
......
...@@ -47,6 +47,7 @@ select makedate(1997,1); ...@@ -47,6 +47,7 @@ select makedate(1997,1);
select makedate(1997,0); select makedate(1997,0);
select makedate(9999,365); select makedate(9999,365);
select makedate(9999,366); select makedate(9999,366);
select makedate(100,1);
#Time functions #Time functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment