Bug in 3.0.16 with Mysql-4.1.7 ?
Posted by: R Lenard
Date: November 18, 2004 09:21PM

I have this SQL

SELECT SELECT DATE_SUB(DATE_ADD(DATE_FORMAT(NOW(), '%Y%m%d%H%i00'), INTERVAL 1 DAY), INTERVAL 1 MICROSECOND) AS "end";

It gives a result like this.

2004-11-19 22:17:59.999999

When I try and use the result returned for the query via the jdbc driver version 3.0.16 I get an exception because of the microseconds (if I forcibly remove the microseconds the result is what I expect (except for being minus the microseconds).

Options: ReplyQuote


Subject
Written By
Posted
Bug in 3.0.16 with Mysql-4.1.7 ?
November 18, 2004 09:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.