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

Comparing:
ibx/trunk/fbintf/client/FBMessages.pas (file contents), Revision 315 by tony, Thu Feb 25 11:56:36 2021 UTC vs.
ibx/branches/udr/client/FBMessages.pas (file contents), Revision 370 by tony, Wed Jan 5 14:59:15 2022 UTC

# Line 156 | Line 156 | type
156        ibxeNoTimezoneSupport,
157        ibxeDecFloatNotSupported,
158        ibxeInt128NotSupported,
159 <      ibxeUnknownParamTypeName
159 >      ibxeUnknownParamTypeName,
160 >      ibxInvalidQueryAction,
161 >      ibxeSQLTypeUnchangeable,
162 >      ibxeCannotIncreaseMetadatasize,
163 >      ibxeBatchModeNotSupported,
164 >      ibxeNotInBatchMode,
165 >      ibxeInBatchMode,
166 >      ibxeInvalidBatchQuery,
167 >      ibxeBatchRowBufferOverflow,
168 >      ibxeBatchBufferSizeTooBig,
169 >      ibxeNoScrollableCursors
170        );
171  
172   function GetErrorMessage(ErrMess: TIBClientError): AnsiString;
# Line 173 | Line 183 | resourcestring
183    STrue = 'true';
184    SFalse = 'false';
185    SArray = '(array)';
186 +  SBatchCompletionError = 'Error Processing update/insert batch on row number %d - ';
187  
188   implementation
189  
# Line 263 | Line 274 | resourcestring
274    SDecFloatNotSupported = 'DecFloat Data Type not supported';
275    SInt128NotSupported = 'INT128 Data Type not supported';
276    SUnknownParamTypeName = '%s:Unknown Param Type Name "%s"';
277 +  SInvalidQueryAction = 'Query Action only valid for an Update or Insert Query';
278 +  SSQLTypeUnchangeable = 'Cannot change SQL Type from %s to %s';
279 +  SCannotIncreaseMetadatasize = 'Cannot increase Metadata size from %d to %d';
280 +  SBatchModeNotSupported = 'Batch Mode is not available. Firebird 4 or later client and server is required';
281 +  SNotInBatchMode = 'Not in Batch Mode - have you called AddToBatch?';
282 +  SInBatchMode = 'Invalid Operation: a Batch is pending';
283 +  SInvalidBatchQuery = 'This query type (%s) cannot be batched';
284 +  SBatchRowBufferOverflow = 'Adding Row No. %d - batch buffer size limit (%d bytes) exceeded';
285 +  SBatchBufferSizeTooBig = 'Requested Batch Buffer Size (%d bytes) exceeds 256MB limit';
286 +  SNoScrollableCursors = 'Scrollable cursors are not supported';
287  
288   const
289    IBErrorMessages: array[TIBClientError] of string = (
# Line 346 | Line 367 | const
367      SNoTimezoneSupport,
368      SDecFloatNotSupported,
369      SInt128NotSupported,
370 <    SUnknownParamTypeName
370 >    SUnknownParamTypeName,
371 >    SInvalidQueryAction,
372 >    SSQLTypeUnchangeable,
373 >    SCannotIncreaseMetadatasize,
374 >    SBatchModeNotSupported,
375 >    SNotInBatchMode,
376 >    SInBatchMode,
377 >    SInvalidBatchQuery,
378 >    SBatchRowBufferOverflow,
379 >    SBatchBufferSizeTooBig,
380 >    SNoScrollableCursors
381    );
382  
383   function GetErrorMessage(ErrMess: TIBClientError): AnsiString;
# Line 360 | Line 391 | begin
391                                Format(GetErrorMessage(ErrMess), Args));
392   end;
393  
394 +
395   end.
396  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines