public function endListValues($tableName, $count = 0)
    {
        if ($this->dumpSettings['disable-keys']) {
            $this->compressManager->write(
                $this->typeAdapter->end_add_disable_keys($tableName)
            );
        }

        if ($this->dumpSettings['add-locks']) {
            $this->compressManager->write(
                $this->typeAdapter->end_add_lock_table($tableName)
            );
        }

        if ($this->dumpSettings['single-transaction']) {
            $this->dbHandler->exec($this->typeAdapter->commit_transaction());
        }

        if ($this->dumpSettings['lock-tables']) {
            $this->typeAdapter->unlock_table($tableName);
        }

        // Commit to enable autocommit
        if ($this->dumpSettings['no-autocommit']) {
            $this->compressManager->write(
                $this->typeAdapter->end_disable_autocommit()
            );
        }

        $this->compressManager->write(PHP_EOL);

        if (!$this->dumpSettings['skip-comments']) {
            $this->compressManager->write(
                "-- Dumped table `".$tableName."` with $count row(s)".PHP_EOL.
                '--'.PHP_EOL.PHP_EOL
            );
        }

        return;
    }
public function endListValues($tableName, $count = 0)
    {
        if ($this->dumpSettings['disable-keys']) {
            $this->compressManager->write(
                $this->typeAdapter->end_add_disable_keys($tableName)
            );
        }

        if ($this->dumpSettings['add-locks']) {
            $this->compressManager->write(
                $this->typeAdapter->end_add_lock_table($tableName)
            );
        }

        if ($this->dumpSettings['single-transaction']) {
            $this->dbHandler->exec($this->typeAdapter->commit_transaction());
        }

        if ($this->dumpSettings['lock-tables']) {
            $this->typeAdapter->unlock_table($tableName);
        }

        // Commit to enable autocommit
        if ($this->dumpSettings['no-autocommit']) {
            $this->compressManager->write(
                $this->typeAdapter->end_disable_autocommit()
            );
        }

        $this->compressManager->write(PHP_EOL);

        if (!$this->dumpSettings['skip-comments']) {
            $this->compressManager->write(
                "-- Dumped table `".$tableName."` with $count row(s)".PHP_EOL.
                '--'.PHP_EOL.PHP_EOL
            );
        }

        return;
    }
public function endListValues ( $ tableName , $ count = 0 ) { if ( $ this -> dumpSettings [ 'disable-keys' ] ) { $ this -> compressManager -> write ( $ this -> typeAdapter -> end_add_disable_keys ( $ tableName ) ) ; } if ( $ this -> dumpSettings [ 'add-locks' ] ) { $ this -> compressManager -> write ( $ this -> typeAdapter -> end_add_lock_table ( $ tableName ) ) ; } if ( $ this -> dumpSettings [ 'single-transaction' ] ) { $ this -> dbHandler -> exec ( $ this -> typeAdapter -> commit_transaction ( ) ) ; } if ( $ this -> dumpSettings [ 'lock-tables' ] ) { $ this -> typeAdapter -> unlock_table ( $ tableName ) ; } // Commit to enable autocommit if ( $ this -> dumpSettings [ 'no-autocommit' ] ) { $ this -> compressManager -> write ( $ this -> typeAdapter -> end_disable_autocommit ( ) ) ; } $ this -> compressManager -> write ( PHP_EOL ) ; if ( ! $ this -> dumpSettings [ 'skip-comments' ] ) { $ this -> compressManager -> write ( "-- Dumped table `" . $ tableName . "` with $count row(s)" . PHP_EOL . '--' . PHP_EOL . PHP_EOL ) ; } return ; }
Table rows extractor, close locks and commits after dump

@param string $tableName Name of table to export.
@param integer    $count     Number of rows inserted.

@return void
Table rows extractor close locks and commits after dump