Log - sequence table name
| From: | Alan McFarlane | Date: | Fri, 11 Apr 2003 18:32:17 +0000 |
| Subject: | Log - sequence table name | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-4805@lists.php.net to get a copy of this message | ||
Discovered a little buglet in Log - specifically the sql logger:
$id = $this->_db->nextId('log_id');
This is all very nice, but I was using the 'log_id_seq' table for something
else!
Perhaps a configuration variable passed to the constructor could be used for
the name of the log_id sequence table, or just just the real table name:
$id = $this->_db->nextId($this->_table);
--
Alan