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

Fixed an issue, detected during 2.5.0.RC1 QA - bad message when user had no rights to access /tmp/firebird

This commit is contained in:
alexpeshkoff 2009-12-04 17:48:07 +00:00
parent 4c07ec430b
commit 71089253d1

View File

@ -26,6 +26,7 @@
// File functions // File functions
#include "firebird.h" #include "firebird.h"
#include "gen/iberror.h"
#include "../jrd/common.h" #include "../jrd/common.h"
#include "../common/classes/init.h" #include "../common/classes/init.h"
@ -133,7 +134,9 @@ void createLockDirectory(const char* pathname)
{ {
continue; continue;
} }
Firebird::system_call_failed::raise("mkdir"); Firebird::string msg;
msg.printf("Can't access lock files' directory %s", pathname);
(Firebird::Arg::Gds(isc_random) << msg).raise();
} }
#ifndef SUPERSERVER #ifndef SUPERSERVER