>Description:
unix_timestamp doesn't understand year 2038.
>How-To-Repeat:
this works:
select unix_timestamp("2037-12-31 23:59:59");
this doesn't:
select unix_timestamp("2038-01-01 00:00:00");
>Fix:
unknown. everything through "Jan 19 03:14:07 2038 GMT" should be
valid.
>Submitter-Id: <submitter ID>
>Originator: Theo Van Dinter
>Organization:
Kluge.Net - WWW Access and Internet Education Network
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: unix_timestamp not handling year 2038
>Severity: non-critical
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.39 (Official MySQL RPM)
>Environment:
System: Linux eclectic 2.2.19 #1 Mon Apr 9 15:10:02 EDT 2001 i586 unknown
Architecture: i586
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='egcs' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium'
CXX='egcs' CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Oct 6 2000 /lib/libc.so.6 -> libc-2.1.3.so
-rwxr-xr-x 1 root root 4101836 Jan 15 10:49 /lib/libc-2.1.3.so
-rw-r--r-- 1 root root 20273324 Jan 15 10:49 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Jan 15 10:49 /usr/lib/libc.so
lrwxrwxrwx 1 root root 10 Nov 17 2000 /usr/lib/libc-client.a ->
c-client.a
Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --without-berkeley-db --without-innodb
--enable-assembler --with-mysqld-user=mysql
--with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql
--infodir=/usr/info --includedir=/usr/include --mandir=/usr/man
'--with-comment=Official MySQL RPM'
Perl: This is perl, version 5.005_03 built for i386-linux
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php