Skip to content

Commit

Permalink
fix suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Feb 2, 2024
1 parent d594768 commit f7c1ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Pull/PullCommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ private function dropDbTables(string $dbHost, string $dbUser, string $dbName, st
$tables = $this->listTablesQuoted($process->getOutput());
if ($tables) {
$sql = 'DROP TABLE ' . implode(', ', $tables);
$tempnam = $this->localMachineHelper->getFilesystem()->tempnam(sys_get_temp_dir(), 'acli_drop_table', 'sql');
$tempnam = $this->localMachineHelper->getFilesystem()->tempnam(sys_get_temp_dir(), 'acli_drop_table_', '.sql');
$this->localMachineHelper->getFilesystem()->dumpFile($tempnam, $sql);
$command = [
'mysql',
Expand Down

0 comments on commit f7c1ea5

Please sign in to comment.