Make TConnectionParameters.IsMySQL specific to MySQL only, and rename the grouped type checks to IsAnyMySQL, IsAnyMSSQL etc. This way the status bar now shows "MySQL", not "MySQL or MariaDB"

This commit is contained in:
Ansgar Becker
2020-02-22 09:06:37 +01:00
parent e97b8ae7fe
commit 05d02627f3
10 changed files with 72 additions and 57 deletions

View File

@ -629,7 +629,7 @@ begin
// Import binaries as-is (byte for byte), and auto-detect encoding of text files.
if FileInfo.IsBinary then begin
FileContent := '';
if FConnection.Parameters.IsMySQL then
if FConnection.Parameters.IsAnyMySQL then
FileContent := '_binary ';
FileContent := FileContent + '0x' + BinToWideHex(ReadBinaryFile(FileInfo.Filename, 0))
end else