for me problem only occurs for 64bit target and it seams like changing TZCodePageConversionStream.write to `function Write(const Buffer; Count:{$IFDEF MEMORYSTREAM_REALLOC_NATIVEINT}NativeInt{$ELSE}Longint{$ENDIF}): {$IFDEF MEMORYSTREAM_REALLOC_NATIVEINT}NativeInt{$ELSE}Longint{$ENDIF}; override;` solved problem for MySQL under delphi 13, target 64bit
Hi, I see that TZVarVarLenDataRefStream.Write is not callled from TStream.WriteBuffer, and so FUpdated stays false, if blob is larger then FUpdated is changed by TZVarVarLenDataRefStream.Realloc. TStream.WriteBuffer executes at line LTotalCount := Write(Buffer, Count); function TMemoryStream.Write(const Buffer; Count: TNativeCount): TNativeCount; instead of overriden TZVarVarLenDataRefStream.Write I even changed declaration of TZVarVarLenDataRefStream.Write to match TMemoryStream called version function...
you're right but, :) i've used it to make resultset readonly in runtime after certain circumstances were met, it was a failsafe and it worked earlier ( 7.x branch) and i should not do many, many things :)
AV in ZAbstractDataset with readonly=true
Sort is not working on TimeStamp fields
Hello, it's working now. However there is similar problem with timestamp field, will post new entry. Best regards, Marcin
Sort of resultset is not working when filed kind is Date (or Time)
Sort of resultset is not working when filed kind is Date