We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e1328 commit b7bd1f5Copy full SHA for b7bd1f5
src/DB_Command.php
@@ -550,7 +550,7 @@ public function export( $args, $assoc_args ) {
550
$assoc_args['result-file'] = $result_file;
551
}
552
553
- $support_column_statistics = exec( 'mysqldump --help | grep "column-statistics"' );
+ $support_column_statistics = exec( '/usr/bin/env mysqldump --help | grep "column-statistics"' );
554
555
$initial_command = sprintf( '/usr/bin/env mysqldump%s ', $this->get_defaults_flag_string( $assoc_args ) );
556
WP_CLI::debug( "Running initial shell command: {$initial_command}", 'db' );
0 commit comments