138 |
|
|
139 |
|
TFBArray = class(TActivityReporter,IArray) |
140 |
|
private |
141 |
+ |
FFirebirdClientAPI: TFBClientAPI; |
142 |
|
FMetaData: IArrayMetaData; |
143 |
|
FIsNew: boolean; |
144 |
|
FLoaded: boolean; |
275 |
|
|
276 |
|
constructor TFBArrayElement.Create(anArray: TFBArray; P: PByte); |
277 |
|
begin |
278 |
< |
inherited Create; |
278 |
> |
inherited Create(anArray.FFirebirdClientAPI); |
279 |
|
FArray := anArray; |
280 |
|
FBufPtr := P; |
281 |
|
end; |
657 |
|
end; |
658 |
|
FBufSize := FElementSize * l; |
659 |
|
|
660 |
< |
with FirebirdClientAPI do |
660 |
> |
with FFirebirdClientAPI do |
661 |
|
IBAlloc(FBuffer,0,FBufSize); |
662 |
|
|
663 |
|
Dims := GetDimensions; |
746 |
|
inherited Create(aTransaction); |
747 |
|
FMetaData := aField; |
748 |
|
FAttachment := aAttachment; |
749 |
+ |
FFirebirdClientAPI := aTransaction.FirebirdAPI; |
750 |
|
FTransactionIntf := aTransaction; |
751 |
|
FTransactionSeqNo := aTransaction.TransactionSeqNo; |
752 |
|
FIsNew := true; |