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

Comparing ibx/trunk/fbintf/client/3.0/FB30Transaction.pas (file contents):
Revision 56 by tony, Mon Mar 6 10:20:02 2017 UTC vs.
Revision 63 by tony, Fri Apr 28 07:35:12 2017 UTC

# Line 166 | Line 166 | begin
166  
167    FDefaultCompletion := DefaultCompletion;
168  
169 <  if Length(FAttachments) > 0 then
170 <    StartMultiple
171 <  else
169 >  if Length(FAttachments) = 1 then
170      with Firebird30ClientAPI do
171      begin
172        FTransactionIntf  := (FAttachments[0] as TFB30Attachment).AttachmentIntf.startTransaction(StatusIntf,
173                 (FTPB as TTPB).getDataLength,BytePtr((FTPB as TTPB).getBuffer));
174        Check4DataBaseError;
175 <    end;
175 >    end
176 >  else
177 >    StartMultiple;
178    SignalActivity;
179    Inc(FSeqNo);
180   end;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines