8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00
This commit is contained in:
robocop 2007-05-18 06:15:26 +00:00
parent 5bc62db37d
commit 5f3d9bbd54
3 changed files with 6 additions and 5 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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))