8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:43:04 +01:00

Restored missing asserts.

This commit is contained in:
dimitr 2004-11-12 05:32:13 +00:00
parent 2f6a48e27d
commit 2a4b4051fa
2 changed files with 3 additions and 1 deletions

View File

@ -1381,6 +1381,7 @@ void CVT_move(const dsc* from, dsc* to, FPTR_ERROR err)
if (tdbb && (tdbb->getType() == ThreadData::tddDBB) &&
tdbb->tdbb_request)
{
fb_assert(!request->req_timestamp.isEmpty());
cur_date = tdbb->tdbb_request->req_timestamp.value().timestamp_date;
}
else

View File

@ -19,7 +19,7 @@
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
* $Id: evl.cpp,v 1.122 2004-11-11 05:37:44 skidder Exp $
* $Id: evl.cpp,v 1.123 2004-11-12 05:32:13 dimitr Exp $
*/
/*
@ -944,6 +944,7 @@ dsc* EVL_expr(thread_db* tdbb, jrd_nod* node)
// Use the request timestamp
ISC_TIMESTAMP enc_times = request->req_timestamp.value();
fb_assert(!request->req_timestamp.isEmpty());
memset(&impure->vlu_desc, 0, sizeof(impure->vlu_desc));
impure->vlu_desc.dsc_address =