--- ibx/trunk/fbintf/client/FBMessages.pas 2021/02/25 11:27:14 314 +++ ibx/trunk/fbintf/client/FBMessages.pas 2021/02/25 11:56:36 315 @@ -142,7 +142,21 @@ type ibxeTokenQueueUnderflow, ibxErrorParsing, ibxeDLInfoError, - ibxeDifferentAPIs + ibxeDifferentAPIs, + ibxeInvalidDateTimeStr, + ibxeBadTimeZoneID, + ibxeBadBCDConversion, + ibxeBadTimeZoneName, + ibxeTimeZoneUnknown, + ibxeBadTimeSpecification, + ibxeBCDTooBig, + ibxeInvalidTimeZoneID, + ibxeBadTimestampOrNoTimeZoneDBEntry, + ibxeBCDOverflow, + ibxeNoTimezoneSupport, + ibxeDecFloatNotSupported, + ibxeInt128NotSupported, + ibxeUnknownParamTypeName ); function GetErrorMessage(ErrMess: TIBClientError): AnsiString; @@ -180,7 +194,7 @@ resourcestring SSQLClosed = 'IBSQL Closed'; SUnknownSQLDataType = 'Unknown SQL Data type (%d)'; SInvalidColumnIndex = 'Invalid column index (index exceeds permitted range)'; - SInvalidDataConversion = 'Invalid data conversion'; + SInvalidDataConversion = 'Invalid data conversion from %s'; SBlobCannotBeRead = 'Blob stream cannot be read'; SBlobCannotBeWritten = 'Blob stream cannot be written'; SBlobNotOpen = 'The Blob is not open'; @@ -235,6 +249,20 @@ resourcestring SErrorParsing = 'Error parsing SQL Statement at clause starting with %s'; SDLInfoError = 'dlinfo returned error - %s'; SDifferentAPIs = 'All transaction attachments must use the same Firebird Library'; + SInvalidDateTimeStr = '%s is not a valid Date/Time string'; + SBadTimeZoneID = 'Invalid Time Zone ID (%d,%d)'; + SBadBCDConversion = 'Conversion to BCD failed'; + SBadTimeZoneName = 'Invalid Time Zone Name "%s"'; + STimeZoneUnknown = 'Time Zone Unknown'; + SBadTimeSpecification = '%d:%d:%d.%d is not a valid time specification'; + SBCDTooBig = 'BCD Precision (%d) is too large for Firebird Data Type max precision (%d)'; + SInvalidTimeZoneID = 'Invalid Time Zone ID (%d)'; + SBadTimestampOrNoTimeZoneDBEntry = 'Bad Timestamp or missing time zone DB entry (%s) TZ ID = %d'; + SBCDOverflow = 'BCD Precision too large for Firebird data type,[%s]'; + SNoTimezoneSupport = 'TIME/TIMESTAMP WITH TIME ZONE data type not supported'; + SDecFloatNotSupported = 'DecFloat Data Type not supported'; + SInt128NotSupported = 'INT128 Data Type not supported'; + SUnknownParamTypeName = '%s:Unknown Param Type Name "%s"'; const IBErrorMessages: array[TIBClientError] of string = ( @@ -304,7 +332,21 @@ const STokenQueueUnderflow, SErrorParsing, SDLInfoError, - SDifferentAPIs + SDifferentAPIs, + SInvalidDateTimeStr, + SBadTimeZoneID, + SBadBCDConversion, + SBadTimeZoneName, + STimeZoneUnknown, + SBadTimeSpecification, + SBCDTooBig, + SInvalidTimeZoneID, + SBadTimestampOrNoTimeZoneDBEntry, + SBCDOverflow, + SNoTimezoneSupport, + SDecFloatNotSupported, + SInt128NotSupported, + SUnknownParamTypeName ); function GetErrorMessage(ErrMess: TIBClientError): AnsiString;