#20731 [Opn->Csd]: MySQL dependency

From: Date: Mon, 17 Feb 2003 21:21:33 +0000
Subject: #20731 [Opn->Csd]: MySQL dependency
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13426@lists.php.net to get a copy of this message
ID: 20731 Updated by: jon@php.net Reported By: hopfgartner at rolmail dot net -Status: Open +Status: Closed Bug Type: PEAR related PHP Version: 4.3.0RC2 -Assigned To: +Assigned To: jon New Comment: This bug has been fixed in CVS. We now use CURRENT_TIMESTAMP instead of NOW(). In addition, I've added a sequenced ID column to ensure unique identifiers. Previous Comments: ------------------------------------------------------------------------ [2002-11-30 04:52:37] hopfgartner at rolmail dot net Log 1.5.2 The code in Log/sql.php that constructs the INSERT statement contains the MySQL function NOW(). This is not portable. It would be CURRENT_TIME in SQL:1999 and PostgreSQL and GETDATE() on the Microsoft SQL server. Regards, Peter Hopfgartner ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20731&edit=1

« previous php.pear.dev (#13426) next »