Browse Source

* Merging revisions 48708 from branches/fixes_3_2:
------------------------------------------------------------------------
r48708 | michael | 2021-02-18 11:59:39 +0100 (Thu, 18 Feb 2021) | 1 line

* Fix missing ftLongWord
------------------------------------------------------------------------

git-svn-id: tags/release_3_2_2_rc1@48709 -

michael 4 years ago
parent
commit
09d9f28b4d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

+ 2 - 0
packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

@@ -1232,11 +1232,13 @@ begin
       VL := InternalStrToInt64(Source, Len);
       Move(VL, Dest^, SizeOf(LargeInt));
       end;
+{$IF FPC_FULLVERSION >=30301}      
     ftLongWord:
       begin
       VO := InternalStrToDWord(Source, Len);
       Move(VO, Dest^, SizeOf(LongWord));
       end;
+{$ENDIF}      
     ftFloat:
       begin
       VF := InternalStrToFloat(Source, Len);