122 |
|
else |
123 |
|
begin |
124 |
|
FCodePage := CP_NONE; |
125 |
< |
FirebirdClientAPI.CharSetID2CodePage(FCharSetID,FCodePage); |
125 |
> |
FAttachment.CharSetID2CodePage(FCharSetID,FCodePage); |
126 |
|
end; |
127 |
|
end; |
128 |
|
end; |
131 |
|
(FCharSetID = 0) then {This really shouldn't be necessary - but it is :(} |
132 |
|
with aAttachment as TFBAttachment do |
133 |
|
begin |
134 |
< |
if HasDefaultCharSet and FirebirdClientAPI.CharSetWidth(CharSetID,CharWidth) then |
134 |
> |
if HasDefaultCharSet and FAttachment.CharSetWidth(CharSetID,CharWidth) then |
135 |
|
FArrayDesc.array_desc_length := FArrayDesc.array_desc_length * CharWidth; |
136 |
|
end; |
137 |
|
end; |