mirror of https://github.com/citusdata/citus.git
Apply code review feedback
parent
f3394b2283
commit
501e57e78e
|
@ -329,7 +329,7 @@ StartNodeUserDatabaseConnection(uint32 flags, const char *hostname, int32 port,
|
||||||
dlist_push_tail(entry->connections, &connection->connectionNode);
|
dlist_push_tail(entry->connections, &connection->connectionNode);
|
||||||
|
|
||||||
/* these two flags are by nature cannot happen at the same time */
|
/* these two flags are by nature cannot happen at the same time */
|
||||||
Assert((flags & OPTIONAL_CONNECTION) && (flags & WAIT_FOR_CONNECTION));
|
Assert((!(flags & OPTIONAL_CONNECTION) && (flags & WAIT_FOR_CONNECTION)));
|
||||||
|
|
||||||
if (flags & WAIT_FOR_CONNECTION)
|
if (flags & WAIT_FOR_CONNECTION)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue