mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 19:23:02 +01:00
Avoid assert in DEBUG build of CS\SC
This commit is contained in:
parent
1df3370565
commit
2a887f416a
@ -713,6 +713,9 @@ LockState CCH_fetch_lock(thread_db* tdbb, WIN* window, int lock_type, int wait,
|
||||
// lock_buffer returns 0 or 1 or -1.
|
||||
const LockState lock_result = lock_buffer(tdbb, bdb, wait, page_type);
|
||||
|
||||
if (lock_result == lsLocked)
|
||||
bdb->bdb_flags |= BDB_read_pending;
|
||||
|
||||
return lock_result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user