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 291 by tony, Fri Apr 17 10:26:08 2020 UTC vs.
ibx/branches/udr/client/FBMessages.pas (file contents), Revision 370 by tony, Wed Jan 5 14:59:15 2022 UTC

# Line 142 | Line 142 | type
142        ibxeTokenQueueUnderflow,
143        ibxErrorParsing,
144        ibxeDLInfoError,
145 <      ibxeDifferentAPIs
145 >      ibxeDifferentAPIs,
146 >      ibxeInvalidDateTimeStr,
147 >      ibxeBadTimeZoneID,
148 >      ibxeBadBCDConversion,
149 >      ibxeBadTimeZoneName,
150 >      ibxeTimeZoneUnknown,
151 >      ibxeBadTimeSpecification,
152 >      ibxeBCDTooBig,
153 >      ibxeInvalidTimeZoneID,
154 >      ibxeBadTimestampOrNoTimeZoneDBEntry,
155 >      ibxeBCDOverflow,
156 >      ibxeNoTimezoneSupport,
157 >      ibxeDecFloatNotSupported,
158 >      ibxeInt128NotSupported,
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 159 | 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 180 | Line 205 | resourcestring
205    SSQLClosed = 'IBSQL Closed';
206    SUnknownSQLDataType = 'Unknown SQL Data type (%d)';
207    SInvalidColumnIndex = 'Invalid column index (index exceeds permitted range)';
208 <  SInvalidDataConversion = 'Invalid data conversion';
208 >  SInvalidDataConversion = 'Invalid data conversion from %s';
209    SBlobCannotBeRead = 'Blob stream cannot be read';
210    SBlobCannotBeWritten = 'Blob stream cannot be written';
211    SBlobNotOpen = 'The Blob is not open';
# Line 235 | Line 260 | resourcestring
260    SErrorParsing = 'Error parsing SQL Statement at clause starting with %s';
261    SDLInfoError = 'dlinfo returned error - %s';
262    SDifferentAPIs = 'All transaction attachments must use the same Firebird Library';
263 +  SInvalidDateTimeStr = '%s is not a valid Date/Time string';
264 +  SBadTimeZoneID = 'Invalid Time Zone ID (%d,%d)';
265 +  SBadBCDConversion = 'Conversion to BCD failed';
266 +  SBadTimeZoneName = 'Invalid Time Zone Name "%s"';
267 +  STimeZoneUnknown = 'Time Zone Unknown';
268 +  SBadTimeSpecification = '%d:%d:%d.%d is not a valid time specification';
269 +  SBCDTooBig = 'BCD Precision (%d) is too large for Firebird Data Type max precision (%d)';
270 +  SInvalidTimeZoneID = 'Invalid Time Zone ID (%d)';
271 +  SBadTimestampOrNoTimeZoneDBEntry = 'Bad Timestamp or missing time zone DB entry (%s) TZ ID = %d';
272 +  SBCDOverflow = 'BCD Precision too large for Firebird data type,[%s]';
273 +  SNoTimezoneSupport = 'TIME/TIMESTAMP WITH TIME ZONE data type not supported';
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 304 | Line 353 | const
353      STokenQueueUnderflow,
354      SErrorParsing,
355      SDLInfoError,
356 <    SDifferentAPIs
356 >    SDifferentAPIs,
357 >    SInvalidDateTimeStr,
358 >    SBadTimeZoneID,
359 >    SBadBCDConversion,
360 >    SBadTimeZoneName,
361 >    STimeZoneUnknown,
362 >    SBadTimeSpecification,
363 >    SBCDTooBig,
364 >    SInvalidTimeZoneID,
365 >    SBadTimestampOrNoTimeZoneDBEntry,
366 >    SBCDOverflow,
367 >    SNoTimezoneSupport,
368 >    SDecFloatNotSupported,
369 >    SInt128NotSupported,
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 318 | 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