mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 10:03: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:
parent
4c07ec430b
commit
71089253d1
@ -26,6 +26,7 @@
|
||||
// File functions
|
||||
|
||||
#include "firebird.h"
|
||||
#include "gen/iberror.h"
|
||||
#include "../jrd/common.h"
|
||||
|
||||
#include "../common/classes/init.h"
|
||||
@ -133,7 +134,9 @@ void createLockDirectory(const char* pathname)
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user