Skip to content

Commit

Permalink
remove temp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 8, 2020
1 parent d67be13 commit 9d54a3b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Illuminate/Database/Schema/MySqlSchemaState.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,9 @@ protected function executeDumpProcess(Process $process, $output, array $variable
$process->mustRun($output, $variables);
} catch (Exception $e) {
if (Str::contains($e->getMessage(), 'column_statistics')) {
$process = Process::fromShellCommandLine(
return $this->executeDumpProcess(Process::fromShellCommandLine(
str_replace(' --column-statistics=0', '', $process->getCommandLine())
);

return $this->executeDumpProcess($process, $output, $variables);
), $output, $variables);
}
}

Expand Down

0 comments on commit 9d54a3b

Please sign in to comment.