Explorar el Código

+ avoided mem-leak

git-svn-id: trunk@1777 -
joost hace 20 años
padre
commit
dcbf526530
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      fcl/db/sqldb/mysql/mysql4conn.pas

+ 2 - 1
fcl/db/sqldb/mysql/mysql4conn.pas

@@ -215,7 +215,8 @@ end;
 
 function TMySQLConnection.AllocateTransactionHandle: TSQLHandle;
 begin
-  Result:=TMySQLTransaction.Create;
+//  Result:=TMySQLTransaction.Create;
+  Result := nil;
 end;
 
 procedure TMySQLConnection.PrepareStatement(cursor: TSQLCursor;