mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix generating mysqldump cli argument --databases with --tab
This commit is contained in:
@ -441,7 +441,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
SessionNode := TreeObjects.GetNextSibling(SessionNode);
|
SessionNode := TreeObjects.GetNextSibling(SessionNode);
|
||||||
end;
|
end;
|
||||||
Arguments.Add('--databases ' + Implode(' ', DatabaseNames));
|
// --databases or --all-databases can't be used with --tab
|
||||||
|
if comboExportOutputType.Text <> OUTPUT_DIR then
|
||||||
|
Arguments.Add('--databases ' + Implode(' ', DatabaseNames))
|
||||||
|
else
|
||||||
|
Arguments.Add(Implode(' ', DatabaseNames));
|
||||||
DatabaseNames.Free;
|
DatabaseNames.Free;
|
||||||
|
|
||||||
FullCommand := BinPath + ConnectionArguments + ' ' + Implode(' ', Arguments);
|
FullCommand := BinPath + ConnectionArguments + ' ' + Implode(' ', Arguments);
|
||||||
|
Reference in New Issue
Block a user