From 84eb992bfa3813c82de5e33c2e74d2a99d2ef67b Mon Sep 17 00:00:00 2001 From: robocop Date: Mon, 7 Dec 2009 08:53:02 +0000 Subject: [PATCH] Misc. --- src/jrd/SysFunction.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jrd/SysFunction.cpp b/src/jrd/SysFunction.cpp index d0b4403b86..80e94c506b 100644 --- a/src/jrd/SysFunction.cpp +++ b/src/jrd/SysFunction.cpp @@ -3272,6 +3272,7 @@ dsc* evlReverse(Jrd::thread_db* tdbb, const SysFunction*, Jrd::jrd_nod* args, memcpy(p2 -= size, p1, size); } + fb_assert(p2 == buffer2.begin()); p = p2; } else @@ -3320,6 +3321,7 @@ dsc* evlReverse(Jrd::thread_db* tdbb, const SysFunction*, Jrd::jrd_nod* args, fb_assert(read == true); memcpy(p2 -= size, p1, size); } + fb_assert(p2 == impure->vlu_desc.dsc_address); } else {