166 |
|
ibxeInvalidBatchQuery, |
167 |
|
ibxeBatchRowBufferOverflow, |
168 |
|
ibxeBatchBufferSizeTooBig, |
169 |
< |
ibxeNoScrollableCursors |
169 |
> |
ibxeNoScrollableCursors, |
170 |
> |
ibxeUnableTosetaTextType, |
171 |
> |
ibxeCantDropAcquiredDB, |
172 |
> |
ibxeTransactionNotOwned, |
173 |
> |
ibxeIntegerOverflow, |
174 |
> |
ibxIntegerUnderflow, |
175 |
> |
ibxeScaleCannotBeChanged |
176 |
|
); |
177 |
|
|
178 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |
290 |
|
SBatchRowBufferOverflow = 'Adding Row No. %d - batch buffer size limit (%d bytes) exceeded'; |
291 |
|
SBatchBufferSizeTooBig = 'Requested Batch Buffer Size (%d bytes) exceeds 256MB limit'; |
292 |
|
SNoScrollableCursors = 'Scrollable cursors are not supported'; |
293 |
+ |
SUnableTosetaTextType = 'Param[%d] "%s": Unable to change from a %s to a string type'; |
294 |
+ |
SCantDropAcquiredDB = 'Drop database not allowed by acquired attachment'; |
295 |
+ |
STransactionNotOwned = 'Cannot Commit or Rollback a linked transaction'; |
296 |
+ |
SIntegerOverflow = 'Integer overflow when scaling numeric'; |
297 |
+ |
SIntegerUnderflow = 'Integer underflow when scaling numeric'; |
298 |
+ |
SScaleCannotBeChanged = 'Unable to change numeric field scale'; |
299 |
|
|
300 |
|
const |
301 |
|
IBErrorMessages: array[TIBClientError] of string = ( |
389 |
|
SInvalidBatchQuery, |
390 |
|
SBatchRowBufferOverflow, |
391 |
|
SBatchBufferSizeTooBig, |
392 |
< |
SNoScrollableCursors |
392 |
> |
SNoScrollableCursors, |
393 |
> |
SUnableTosetaTextType, |
394 |
> |
SCantDropAcquiredDB, |
395 |
> |
STransactionNotOwned, |
396 |
> |
SIntegerOverflow, |
397 |
> |
SIntegerUnderflow, |
398 |
> |
SScaleCannotBeChanged |
399 |
|
); |
400 |
|
|
401 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |