Skip to content

Commit 3213fe9

Browse files
committed
fix: wrong integer size/type for ClientFlag in mysql_real_connect
Closes #2293
1 parent e95aca8 commit 3213fe9

File tree

2 files changed

+3393
-3392
lines changed

2 files changed

+3393
-3392
lines changed

source/dbconnection.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,8 @@ function TDBConnection.IsLockedByThread: Boolean;
23052305
procedure TMySQLConnection.SetActive( Value: Boolean );
23062306
var
23072307
Connected: PMYSQL;
2308-
ClientFlags, FinalPort, SSLoption: Integer;
2308+
FinalPort, SSLoption: Integer;
2309+
ClientFlags: NativeUInt;
23092310
VerifyServerCert: Integer;
23102311
Error, StatusName: String;
23112312
FinalHost, FinalSocket, FinalUsername, FinalPassword: String;

0 commit comments

Comments
 (0)