Ifsnop\Mysqldump\Mysqldump::prepareListValues PHP Метод

prepareListValues() публичный Метод

Table rows extractor, append information prior to dump
public prepareListValues ( string $tableName ) : null
$tableName string Name of table to export
Результат null
    function prepareListValues($tableName)
    {
        if (!$this->dumpSettings['skip-comments']) {
            $this->compressManager->write("--" . PHP_EOL . "-- Dumping data for table `{$tableName}`" . PHP_EOL . "--" . PHP_EOL . PHP_EOL);
        }
        if ($this->dumpSettings['single-transaction']) {
            $this->dbHandler->exec($this->typeAdapter->setup_transaction());
            $this->dbHandler->exec($this->typeAdapter->start_transaction());
        }
        if ($this->dumpSettings['lock-tables']) {
            $this->typeAdapter->lock_table($tableName);
        }
        if ($this->dumpSettings['add-locks']) {
            $this->compressManager->write($this->typeAdapter->start_add_lock_table($tableName));
        }
        if ($this->dumpSettings['disable-keys']) {
            $this->compressManager->write($this->typeAdapter->start_add_disable_keys($tableName));
        }
        // Disable autocommit for faster reload
        if ($this->dumpSettings['no-autocommit']) {
            $this->compressManager->write($this->typeAdapter->start_disable_autocommit());
        }
        return;
    }