mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:43:04 +01:00
Misc.
This commit is contained in:
parent
5bc62db37d
commit
5f3d9bbd54
@ -54,7 +54,7 @@ ISC_STATUS StatusHolder::save(const ISC_STATUS* status)
|
||||
char *string = FB_NEW(*getDefaultMemoryPool()) char[len];
|
||||
const char *temp = reinterpret_cast<const char*>(*from++);
|
||||
memcpy(string, temp, len);
|
||||
*to++ = (ISC_STATUS)(IPTR)(string);
|
||||
*to++ = (ISC_STATUS)(IPTR) string;
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -2834,10 +2834,11 @@ int cmpBdbs(const void* a, const void* b)
|
||||
const BufferDesc* bdbB = *(BufferDesc**) b;
|
||||
if (bdbA->bdb_page > bdbB->bdb_page)
|
||||
return 1;
|
||||
else if (bdbA->bdb_page < bdbB->bdb_page)
|
||||
|
||||
if (bdbA->bdb_page < bdbB->bdb_page)
|
||||
return -1;
|
||||
else
|
||||
return 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -2000,7 +2000,7 @@ void EVL_validate(thread_db* tdbb, const Item& item, const ItemInfo* itemInfo, d
|
||||
fieldInfo.validation)
|
||||
{
|
||||
request->req_domain_validation = desc;
|
||||
USHORT flags = request->req_flags;
|
||||
const USHORT flags = request->req_flags;
|
||||
|
||||
if (!EVL_boolean(tdbb, fieldInfo.validation) &&
|
||||
!(request->req_flags & req_null))
|
||||
|
Loading…
Reference in New Issue
Block a user