mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Remove bad asserts.
This commit is contained in:
parent
34b55060f3
commit
7d065f5293
@ -523,8 +523,6 @@ USHORT famasc_string_to_key(texttype* obj, USHORT iInLen, const BYTE* pInChar, U
|
||||
{
|
||||
fb_assert(pOutChar != NULL);
|
||||
fb_assert(pInChar != NULL);
|
||||
fb_assert(iInLen <= LANGASCII_MAX_KEY);
|
||||
// fb_assert(iOutLen <= LANGASCII_MAX_KEY);
|
||||
fb_assert(iOutLen >= famasc_key_length(obj, iInLen));
|
||||
|
||||
// point inbuff at last character
|
||||
|
@ -139,8 +139,6 @@ static USHORT LCKSC_string_to_key(texttype* obj, USHORT iInLen, const BYTE* pInC
|
||||
{
|
||||
fb_assert(pOutChar != NULL);
|
||||
fb_assert(pInChar != NULL);
|
||||
fb_assert(iInLen <= LANGKSC_MAX_KEY);
|
||||
fb_assert(iOutLen <= LANGKSC_MAX_KEY);
|
||||
fb_assert(iOutLen >= LCKSC_key_length(obj, iInLen));
|
||||
|
||||
const BYTE* inbuff = pInChar + iInLen - 1;
|
||||
|
@ -168,8 +168,6 @@ USHORT LC_NARROW_string_to_key(texttype* obj, USHORT iInLen, const BYTE* pInChar
|
||||
{
|
||||
fb_assert(pOutChar != NULL);
|
||||
fb_assert(pInChar != NULL);
|
||||
// fb_assert (iInLen <= LANGFAM2_MAX_KEY);
|
||||
fb_assert(iOutLen <= LANGFAM2_MAX_KEY);
|
||||
fb_assert(iOutLen >= LC_NARROW_key_length(obj, iInLen));
|
||||
|
||||
TextTypeImpl* impl = static_cast<TextTypeImpl*>(obj->texttype_impl);
|
||||
|
Loading…
Reference in New Issue
Block a user