mirror of https://github.com/citusdata/citus.git
Replace words that have bad associations (#3992)
We had a few words in our codebase that static analysis flagged as having bad
associations.
(cherry picked from commit f6e2f1b1cb
)
pull/4206/head
parent
9a4fddc9c5
commit
48fab6f264
|
@ -915,7 +915,7 @@ NodeDDLTaskList(TargetWorkerSet targets, List *commands)
|
|||
{
|
||||
/*
|
||||
* if there are no nodes we don't have to plan any ddl tasks. Planning them would
|
||||
* cause a hang in the executor.
|
||||
* cause the executor to stop responding.
|
||||
*/
|
||||
return NIL;
|
||||
}
|
||||
|
|
|
@ -367,8 +367,8 @@ CreateCertificate(EVP_PKEY *privateKey)
|
|||
* Postgres does not check the validity on the certificates, but we can't omit the
|
||||
* dates either to create a certificate that can be parsed. We settled on a validity
|
||||
* of 0 seconds. When postgres would fix the validity check in a future version it
|
||||
* would fail right after an upgrade instead of setting a time bomb till certificate
|
||||
* expiration date.
|
||||
* would fail right after an upgrade. Instead of working until the certificate
|
||||
* expiration date and then suddenly erroring out.
|
||||
*/
|
||||
X509_gmtime_adj(X509_get_notBefore(certificate), 0);
|
||||
X509_gmtime_adj(X509_get_notAfter(certificate), 0);
|
||||
|
|
|
@ -96,7 +96,7 @@ typedef enum MultiConnectionStructInitializationState
|
|||
} MultiConnectionStructInitializationState;
|
||||
|
||||
|
||||
/* declaring this directly above makes uncrustify go crazy */
|
||||
/* declaring this directly above causes uncrustify to format it badly */
|
||||
typedef enum MultiConnectionMode MultiConnectionMode;
|
||||
|
||||
typedef struct MultiConnection
|
||||
|
|
Loading…
Reference in New Issue