1
0
mirror of synced 2024-12-13 14:56:01 +03:00

undefined/uninitialized variables

This commit is contained in:
gnat 2007-06-22 17:37:06 +00:00
parent f62897b873
commit 4ad0c5045a

View File

@ -257,7 +257,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export
*/ */
public function createSequence($sequenceName, $start = 1, array $options = array()) public function createSequence($sequenceName, $start = 1, array $options = array())
{ {
$sequenceName = $this->conn->quoteIdentifier($this->conn->getSequenceName($seqName), true); $sequenceName = $this->conn->quoteIdentifier($this->conn->getSequenceName($sequenceName), true);
$seqcolName = $this->conn->quoteIdentifier($this->conn->getAttribute(Doctrine::ATTR_SEQCOL_NAME), true); $seqcolName = $this->conn->quoteIdentifier($this->conn->getAttribute(Doctrine::ATTR_SEQCOL_NAME), true);
$query = 'CREATE TABLE ' . $sequenceName . ' (' . $seqcolName . ' INTEGER DEFAULT UNIQUE, PRIMARY KEY(' . $seqcolName . '))'; $query = 'CREATE TABLE ' . $sequenceName . ' (' . $seqcolName . ' INTEGER DEFAULT UNIQUE, PRIMARY KEY(' . $seqcolName . '))';