mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 16:03:02 +01:00
Misc
This commit is contained in:
parent
a6f9088783
commit
341cd6ebd7
@ -1820,7 +1820,7 @@ void CCH_mark(thread_db* tdbb, WIN * window, USHORT mark_system, USHORT must_wri
|
||||
bdb->bdb_backup_lock_owner = attachment_lock_owner;
|
||||
}
|
||||
|
||||
set_diff_page(tdbb, bdb);
|
||||
set_diff_page(tdbb, bdb);
|
||||
}
|
||||
|
||||
|
||||
|
@ -163,12 +163,12 @@ namespace {
|
||||
{
|
||||
FailedLogin& l = (*this)[pos];
|
||||
if (t - l.lastAttempt >= FAILURE_DELAY)
|
||||
{
|
||||
{
|
||||
l.failCount = 0;
|
||||
}
|
||||
l.lastAttempt = t;
|
||||
if (++l.failCount >= MAX_FAILED_ATTEMPTS)
|
||||
{
|
||||
{
|
||||
l.failCount = 0;
|
||||
Jrd::DelayFailedLogin::raise(FAILURE_DELAY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user