2009年11月10日星期二

Re: [fw-db] MySQL date_add failes under Zend_Db

Further testing shows
SELECT date_add('2009-11-10 19:52:00', INTERVAL 12345 MICROSECOND) as
audit_start

works but

SELECT date_add(audit_start, INTERVAL 12345 MICROSECOND) as audit_start FROM
shows_audit LIMIT 1

does not append the useconds. This is only happening with prepared queries.
--
View this message in context: http://old.nabble.com/MySQL-date_add-failes-under-Zend_Db-tp26294429p26295302.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: