mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Fixed old config manager usage.
This commit is contained in:
parent
ca6d793b85
commit
cb77d05ad4
@ -104,8 +104,7 @@
|
|||||||
|
|
||||||
#endif /* VMS */
|
#endif /* VMS */
|
||||||
|
|
||||||
|
#include "../common/config/config.h"
|
||||||
#include "../fbutil/FirebirdConfig.h"
|
|
||||||
|
|
||||||
/* Turn on V4 mutex protection for gds__alloc/free */
|
/* Turn on V4 mutex protection for gds__alloc/free */
|
||||||
|
|
||||||
@ -2395,7 +2394,7 @@ void API_ROUTINE gds__prefix(TEXT * resultString, TEXT * root)
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
// Try and get value from config file.
|
// Try and get value from config file.
|
||||||
const Firebird::string regPrefix = FirebirdConfig::getSysString("RootDirectory");
|
const Firebird::string regPrefix = Config::getRootDirectory();
|
||||||
|
|
||||||
size_t len = regPrefix.length();
|
size_t len = regPrefix.length();
|
||||||
if ( len > 0) {
|
if ( len > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user