فهرست منبع

* Patch from Laco to fix bug ID #37849

git-svn-id: trunk@48381 -
michael 4 سال پیش
والد
کامیت
67a3af29a0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/fcl-db/src/sqldb/mysql/mysqlconn.inc

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

@@ -1058,7 +1058,7 @@ begin
     Result := 0
     Result := 0
   else
   else
     Result := EncodeDate(EY, EM, ED);
     Result := EncodeDate(EY, EM, ED);
-  Result := ComposeDateTime(Result, EncodeTime(EH, EN, ES, EMS));
+  Result := ComposeDateTime(Result, EncodeTimeInterval(EH, EN, ES, EMS));
 end;
 end;
 
 
 function TConnectionName.InternalStrToTime(C: pchar; Len: integer): TDateTime;
 function TConnectionName.InternalStrToTime(C: pchar; Len: integer): TDateTime;