cvs: pear /Log package.php package.xml /Log/Log sql.php
| From: | Jon Parise | Date: | Tue, 25 Oct 2005 16:42:54 +0000 |
| Subject: | cvs: pear /Log package.php package.xml /Log/Log sql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35854@lists.php.net to get a copy of this message | ||
jon Tue Oct 25 12:42:54 2005 EDT
Modified files:
/pear/Log package.php package.xml
/pear/Log/Log sql.php
Log:
Fixing a syntax error in the SQL handler that occured when a custom SQL
statement was not provided.
Bug: 5777
http://cvs.php.net/diff.php/pear/Log/package.php?r1=1.39&r2=1.40&ty=u
Index: pear/Log/package.php
diff -u pear/Log/package.php:1.39 pear/Log/package.php:1.40
--- pear/Log/package.php:1.39 Mon Oct 24 01:21:02 2005
+++ pear/Log/package.php Tue Oct 25 12:42:50 2005
@@ -2,10 +2,9 @@
require_once 'PEAR/PackageFileManager.php';
-$version = '1.9.1';
+$version = '1.9.2';
$notes = <<<EOT
-The SQL handler failed to prepare the SQL statement when an existing database connection was
provided. (Bug 5702)
-The SQL handler now supports user-provided SQL insertion statements via the 'sql'
configuration parameter. (Request 5703)
+Fixing a syntax error in the SQL handler that occured when a custom SQL statement was not provided.
(Bug 5777)
EOT;
$changelog = $notes;
http://cvs.php.net/diff.php/pear/Log/package.xml?r1=1.97&r2=1.98&ty=u
Index: pear/Log/package.xml
diff -u pear/Log/package.xml:1.97 pear/Log/package.xml:1.98
--- pear/Log/package.xml:1.97 Mon Oct 24 16:14:21 2005
+++ pear/Log/package.xml Tue Oct 25 12:42:51 2005
@@ -14,12 +14,11 @@
</maintainer>
</maintainers>
<release>
- <version>1.9.1</version>
- <date>2005-10-24</date>
+ <version>1.9.2</version>
+ <date>2005-10-25</date>
<license>PHP License</license>
<state>stable</state>
- <notes>The SQL handler failed to prepare the SQL statement when an existing database
connection was provided. (Bug 5702)
-The SQL handler now supports user-provided SQL insertion statements via the 'sql'
configuration parameter. (Request 5703)
+ <notes>Fixing a syntax error in the SQL handler that occured when a custom SQL statement
was not provided. (Bug 5777)
</notes>
<deps>
<dep type="pkg" rel="ge" version="1.3"
optional="yes">DB</dep>
@@ -88,6 +87,14 @@
</release>
<changelog>
<release>
+ <version>1.9.2</version>
+ <date>2005-10-25</date>
+ <license>PHP License</license>
+ <state>stable</state>
+ <notes>Fixing a syntax error in the SQL handler that occured when a custom SQL statement
was not provided. (Bug 5777)
+ </notes>
+ </release>
+ <release>
<version>1.9.1</version>
<date>2005-10-24</date>
<license>PHP License</license>
http://cvs.php.net/diff.php/pear/Log/Log/sql.php?r1=1.38&r2=1.39&ty=u
Index: pear/Log/Log/sql.php
diff -u pear/Log/Log/sql.php:1.38 pear/Log/Log/sql.php:1.39
--- pear/Log/Log/sql.php:1.38 Mon Oct 24 01:21:02 2005
+++ pear/Log/Log/sql.php Tue Oct 25 12:42:53 2005
@@ -1,9 +1,9 @@
<?php
/**
- * $Header: /repository/pear/Log/Log/sql.php,v 1.38 2005/10/24 05:21:02 jon Exp $
+ * $Header: /repository/pear/Log/Log/sql.php,v 1.39 2005/10/25 16:42:53 jon Exp $
* $Horde: horde/lib/Log/sql.php,v 1.12 2000/08/16 20:27:34 chuck Exp $
*
- * @version $Revision: 1.38 $
+ * @version $Revision: 1.39 $
* @package Log
*/
@@ -121,9 +121,9 @@
if (!empty($this->_sql)) {
$this->_sql = $conf['sql'];
} else {
- $this->_sql('INSERT INTO ' . $this->_table .
- ' (id, logtime, ident, priority, message)' .
- ' VALUES(?, CURRENT_TIMESTAMP, ?, ?, ?)');
+ $this->_sql = 'INSERT INTO ' . $this->_table .
+ ' (id, logtime, ident, priority, message)' .
+ ' VALUES(?, CURRENT_TIMESTAMP, ?, ?, ?)';
}
/* If an options array was provided, use it. */