8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 07:23:03 +01:00

Backport from HEAD (trivial changes only).

This commit is contained in:
dimitr 2008-02-06 19:31:48 +00:00
parent 0afd0fe037
commit 84d3208a0f

View File

@ -374,7 +374,7 @@ TempFile* TempSpace::setupFile(size_t size)
PathUtils::ensureSeparator(dirname);
if (!directory.compare(dirname))
{
file = tempFiles[i];
file = tempFiles[j];
break;
}
}
@ -396,11 +396,6 @@ TempFile* TempSpace::setupFile(size_t size)
if (i < tempDirs->getCount() - 1)
{
// no room, let's try another directory
Firebird::string text;
text.printf("Temporary directory %s has no free space, "
"attempting to switch to the next configured one",
directory.c_str());
gds__log(text.c_str());
file = NULL;
}
else