Skip to content

Commit

Permalink
add quick option by default
Browse files Browse the repository at this point in the history
  • Loading branch information
romannebesnuy committed Jan 28, 2021
1 parent e0bbcda commit 41ce334
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Command/DumpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ protected function configure()
->addOption('db-type', null, InputOption::VALUE_OPTIONAL,
'The connection DB type. Options are: mysql (default), pgsql, sqlite, dblib.',
'mysql')
->addOption('quick', null, InputOption::VALUE_OPTIONAL,
'Quick',
false)
->addOption('defaults-file', null, InputOption::VALUE_OPTIONAL,
'An additional my.cnf file.')
->addOption('compress-result-file', null, InputOption::VALUE_OPTIONAL,
Expand Down Expand Up @@ -310,6 +313,7 @@ protected function getOptOptions($switch)
'disable-keys' => true,
'extended-insert' => true,
'lock-tables' => true,
'quick' => true,
// --quick
// --set-charset
// --------------
Expand Down Expand Up @@ -366,6 +370,7 @@ protected function getDumpSettingsDefault()
'skip-dump-date' => false,
'skip-definer' => false,
'where' => '',
'quick' => true,
/* deprecated */
'disable-foreign-keys-check' => true,
] + [
Expand Down

0 comments on commit 41ce334

Please sign in to comment.