ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/client/3.0/FB30Array.pas
(Generate patch)

Comparing ibx/trunk/fbintf/client/3.0/FB30Array.pas (file contents):
Revision 56 by tony, Mon Mar 6 10:20:02 2017 UTC vs.
Revision 60 by tony, Mon Mar 27 15:21:02 2017 UTC

# Line 140 | Line 140 | begin
140        if (FCharSetID > 1) and (aAttachment as TFB30Attachment).HasDefaultCharSet then
141          FCharSetID := (aAttachment as TFB30Attachment).CharSetID;
142        FCodePage := CP_NONE;
143 <      FirebirdClientAPI.CharSetID2CodePage(FCharSetID,FCodePage);
143 >      FAttachment.CharSetID2CodePage(FCharSetID,FCodePage);
144        if (FArrayDesc.array_desc_dtype in [blr_text,blr_cstring, blr_varying]) and
145          (FCharSetID = 0) then {This really shouldn't be necessary - but it is :(}
146        with aAttachment as TFBAttachment do
147        begin
148 <        if HasDefaultCharSet  and FirebirdClientAPI.CharSetWidth(CharSetID,CharWidth) then
148 >        if HasDefaultCharSet  and FAttachment.CharSetWidth(CharSetID,CharWidth) then
149            FArrayDesc.array_desc_length := FArrayDesc.array_desc_length * CharWidth;
150        end;
151        repeat

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines