8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 16:03:02 +01:00
This commit is contained in:
asfernandes 2008-03-21 21:52:33 +00:00
parent a6f9088783
commit 341cd6ebd7
2 changed files with 3 additions and 3 deletions

View File

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

View File

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