Bugfix: compare Unicode streams when scanning for updated data to post. Fixes issue #569 (hopefully).

This commit is contained in:
rosenfield.albert
2008-07-11 19:48:44 +00:00
parent 6eea8311e3
commit c520fdfb1a

View File

@ -622,7 +622,7 @@ begin
Result := Integer(Blob1.GetString <> Blob2.GetString)
else if FColumnTypes[ColumnIndex] = stBinaryStream then
Result := CompareStr(Blob1.GetString, Blob2.GetString)
else if FColumnTypes[ColumnIndex] = stAsciiStream then
else if FColumnTypes[ColumnIndex] = stUnicodeStream then
{$IFNDEF VER130BELOW}
Result := WideCompareStr(Blob1.GetUnicodeString, Blob2.GetUnicodeString);
{$ELSE}