diff --git a/src/Command/Pull/PullCommandBase.php b/src/Command/Pull/PullCommandBase.php index 672c0222a..8c8faf361 100644 --- a/src/Command/Pull/PullCommandBase.php +++ b/src/Command/Pull/PullCommandBase.php @@ -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',