mirror of https://github.com/citusdata/citus.git
Add assert back
parent
310a0cd442
commit
597651add4
|
@ -437,6 +437,9 @@ DecrementSharedConnectionCounter(const char *hostname, int port)
|
|||
return;
|
||||
}
|
||||
|
||||
/* we should never go below 0 */
|
||||
Assert (connectionEntry->connectionCount > 0);
|
||||
|
||||
connectionEntry->connectionCount -= 1;
|
||||
|
||||
UnLockConnectionSharedMemory();
|
||||
|
|
Loading…
Reference in New Issue