Skip to content

Commit 9e459a4

Browse files
authored
Merge pull request #98 from wp-cli/fix/use-no-tablespaces
Use --no-tablespaces by default for mysqldump
2 parents 7879c61 + e7e3161 commit 9e459a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ public function install_wp( $subdir = '' ) {
875875

876876
$mysqldump_binary = Utils\force_env_on_nix_systems( 'mysqldump' );
877877
$support_column_statistics = exec( "{$mysqldump_binary} --help | grep 'column-statistics'" );
878-
$command = 'mysqldump --no-defaults';
878+
$command = "{$mysqldump_binary} --no-defaults --no-tablespaces";
879879
if ( $support_column_statistics ) {
880880
$command .= ' --skip-column-statistics';
881881
}

0 commit comments

Comments
 (0)