Minor formatting fix

Noticed that uncrustify doesn't like the array-of-struct literals, so
omitting them from formatting (at least here).
pull/629/head
Jason Petersen 2016-06-28 13:09:57 -06:00
parent 8b788eb899
commit e064cacea9
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
2 changed files with 4 additions and 0 deletions

View File

@ -301,6 +301,7 @@ ExecuteDistributedModify(Task *task)
Assert(currentAffectedTupleCount >= 0); Assert(currentAffectedTupleCount >= 0);
#if (PG_VERSION_NUM < 90600) #if (PG_VERSION_NUM < 90600)
/* before 9.6, PostgreSQL used a uint32 for this field, so check */ /* before 9.6, PostgreSQL used a uint32 for this field, so check */
Assert(currentAffectedTupleCount <= 0xFFFFFFFF); Assert(currentAffectedTupleCount <= 0xFFFFFFFF);
#endif #endif

View File

@ -48,6 +48,7 @@ static void RegisterCitusConfigVariables(void);
static void NormalizeWorkerListPath(void); static void NormalizeWorkerListPath(void);
/* *INDENT-OFF* */
/* GUC enum definitions */ /* GUC enum definitions */
static const struct config_enum_entry task_assignment_policy_options[] = { static const struct config_enum_entry task_assignment_policy_options[] = {
{ "greedy", TASK_ASSIGNMENT_GREEDY, false }, { "greedy", TASK_ASSIGNMENT_GREEDY, false },
@ -75,6 +76,8 @@ static const struct config_enum_entry multi_shard_commit_protocol_options[] = {
{ NULL, 0, false } { NULL, 0, false }
}; };
/* *INDENT-ON* */
/* shared library initialization function */ /* shared library initialization function */
void void