mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
TMySQLConnection.GetThreadId requires the connection to be active. Fixes issue #2561.
This commit is contained in:
@ -1114,8 +1114,8 @@ begin
|
||||
ClosePlink;
|
||||
raise EDatabaseError.Create(Error);
|
||||
end else begin
|
||||
Log(lcInfo, 'Connected. Thread-ID: '+IntToStr(ThreadId));
|
||||
FActive := True;
|
||||
Log(lcInfo, 'Connected. Thread-ID: '+IntToStr(ThreadId));
|
||||
CharacterSet := 'utf8';
|
||||
CurCharset := CharacterSet;
|
||||
Log(lcDebug, 'Characterset: '+CurCharset);
|
||||
|
Reference in New Issue
Block a user