mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Bugfix: Delphi's DB.pas::TWideStringField.SetAsWideString() puts a PWideChar into the buffer before calling this, so deserializing it as a PWideString is probably wrong.
This commit is contained in:
@@ -1296,7 +1296,7 @@ begin
|
||||
{ Processes widestring fields. }
|
||||
else if Field.DataType = ftWideString then
|
||||
begin
|
||||
RowAccessor.SetUnicodeString(ColumnIndex, PWideString(Buffer)^);
|
||||
RowAccessor.SetUnicodeString(ColumnIndex, PWideChar(Buffer));
|
||||
end
|
||||
{ Processes all other fields. }
|
||||
else if (Field.FieldKind = fkData) and (Field.DataType = ftString) and
|
||||
|
||||
Reference in New Issue
Block a user