Commit 2d088df1 authored by zYne's avatar zYne

fixed E_STRICT issue

parent 1b979ff9
...@@ -251,10 +251,15 @@ class Doctrine_Export_Frontbase extends Doctrine_Export ...@@ -251,10 +251,15 @@ class Doctrine_Export_Frontbase extends Doctrine_Export
* *
* @param string $seqName name of the sequence to be created * @param string $seqName name of the sequence to be created
* @param string $start start value of the sequence; default is 1 * @param string $start start value of the sequence; default is 1
* @return mixed MDB2_OK on success, a MDB2 error on failure * @param array $options An associative array of table options:
* @access public * array(
* 'comment' => 'Foo',
* 'charset' => 'utf8',
* 'collate' => 'utf8_unicode_ci',
* );
* @return void
*/ */
public function createSequence($seqName, $start = 1) 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($seqName), 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);
......
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