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

Fixed names and default value for EXTERNAL_TABLES_DIRS config parameter

This commit is contained in:
alexpeshkoff 2003-03-17 17:57:58 +00:00
parent 14c972f906
commit 40432510b4
3 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@ const ConfigImpl::ConfigEntry ConfigImpl::entries[] =
{TYPE_BOOLEAN, "CompleteBooleanEvaluation",(ConfigValue) false}, {TYPE_BOOLEAN, "CompleteBooleanEvaluation",(ConfigValue) false},
{TYPE_INTEGER, "RemoteAuxPort", (ConfigValue) 0}, {TYPE_INTEGER, "RemoteAuxPort", (ConfigValue) 0},
{TYPE_STRING, "RemoteBindAddress", (ConfigValue) 0}, {TYPE_STRING, "RemoteBindAddress", (ConfigValue) 0},
{TYPE_STRING, "ExternalTablesDirs", (ConfigValue) "External"} // location(s) of external tables {TYPE_STRING, "ExternalTablesDirs", (ConfigValue) "ext"} // location(s) of external tables
}; };
/****************************************************************************** /******************************************************************************
@ -421,7 +421,7 @@ const char *Config::getRemoteBindAddress()
return (const char*) sysConfig.values[KEY_REMOTE_BIND_ADDRESS]; return (const char*) sysConfig.values[KEY_REMOTE_BIND_ADDRESS];
} }
const char *Config::getExternalTablesDirectory() const char *Config::getExternalTablesDirs()
{ {
return (const char*) sysConfig.values[KEY_EXTERNAL_FILES_DIRECTORY]; return (const char*) sysConfig.values[KEY_EXTERNAL_TABLES_DIRS];
} }

View File

@ -101,7 +101,7 @@ class Config
KEY_COMPLETE_BOOLEAN_EVALUATION, // 34 KEY_COMPLETE_BOOLEAN_EVALUATION, // 34
KEY_REMOTE_AUX_PORT, // 35 KEY_REMOTE_AUX_PORT, // 35
KEY_REMOTE_BIND_ADDRESS, // 36 KEY_REMOTE_BIND_ADDRESS, // 36
KEY_EXTERNAL_FILES_DIRECTORY // 37 KEY_EXTERNAL_TABLES_DIRS // 37
}; };
public: public:
@ -294,7 +294,7 @@ public:
/* /*
Directory list for external tables Directory list for external tables
*/ */
static const char *getExternalTablesDirectory(); static const char *getExternalTablesDirs();
}; };
#endif // CONFIG_H #endif // CONFIG_H

View File

@ -53,7 +53,7 @@
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT # IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT
# EXTERNAL TABLE LOCATIONS! # EXTERNAL TABLE LOCATIONS!
# #
#ExternalTablesDirs = #ExternalTablesDirs = ext
# ---------------------------- # ----------------------------