mirror of https://github.com/citusdata/citus.git
guc vars 3057465acfbea2f3dd7a914a1478064022c6eecd
parent
036a96ce68
commit
ecbf368dc0
|
@ -703,12 +703,12 @@ MakeSetStatementArguments(char *configurationName, char *configurationValue)
|
||||||
* is no other way to determine allowed units, and value types other than
|
* is no other way to determine allowed units, and value types other than
|
||||||
* using this function
|
* using this function
|
||||||
*/
|
*/
|
||||||
struct config_generic **gucVariables = get_guc_variables();
|
int gucCount;
|
||||||
int numOpts = GetNumConfigOptions();
|
struct config_generic **gucVariables = get_guc_variables(&gucCount);
|
||||||
struct config_generic **matchingConfig =
|
struct config_generic **matchingConfig =
|
||||||
(struct config_generic **) SafeBsearch((void *) &key,
|
(struct config_generic **) SafeBsearch((void *) &key,
|
||||||
(void *) gucVariables,
|
(void *) gucVariables,
|
||||||
numOpts,
|
gucCount,
|
||||||
sizeof(struct config_generic *),
|
sizeof(struct config_generic *),
|
||||||
ConfigGenericNameCompare);
|
ConfigGenericNameCompare);
|
||||||
|
|
||||||
|
|
|
@ -2567,8 +2567,8 @@ RegisterCitusConfigVariables(void)
|
||||||
static void
|
static void
|
||||||
OverridePostgresConfigAssignHooks(void)
|
OverridePostgresConfigAssignHooks(void)
|
||||||
{
|
{
|
||||||
struct config_generic **guc_vars = get_guc_variables();
|
int gucCount;
|
||||||
int gucCount = GetNumConfigOptions();
|
struct config_generic **guc_vars = get_guc_variables(&gucCount);
|
||||||
|
|
||||||
for (int gucIndex = 0; gucIndex < gucCount; gucIndex++)
|
for (int gucIndex = 0; gucIndex < gucCount; gucIndex++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue