Commit 4ad0c504 authored by gnat's avatar gnat

undefined/uninitialized variables

parent f62897b8
...@@ -257,7 +257,7 @@ class Doctrine_Export_Frontbase extends Doctrine_Export ...@@ -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 . '))';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment