With MySQL 3.23.38:

If you have a TIMESTAMP column with zero values, then

   SELECT ts from table;

returns

   00000000000000

But

   SELECT min(ts) from table;

returns

   0

This causes the JDBC driver to fall over when getting the timestamp value 
from this query.  Isn't this a formatting bug? min() and max() should 
inherit the same type and formatting as their underlying data type, no?

--
Shankar.


---------------------------------------------------------------------
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

Reply via email to