pgpool2.git / summary / log / commit / refs
commit 4a1af4e3ba31f99fc8c0e264aa6c9d97e5d4ee28
Author: Bo Peng <pengbo@sraoss.co.jp>
Date: Wed Jul 22 01:23:13 2020 +0000
Fix typos.
Patch is created by Lu, Chenyang.
src/auth/pool_passwd.c | 2 +-
src/config/pool_config_variables.c | 2 +-
src/context/pool_session_context.c | 2 +-
src/watchdog/wd_json_data.c | 2 +-
src/watchdog/wd_lifecheck.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/auth/pool_passwd.c b/src/auth/pool_passwd.c
index fd7dfe9d8..15b9282b2 100644
--- a/src/auth/pool_passwd.c
+++ b/src/auth/pool_passwd.c
@@ -464,7 +464,7 @@ get_pgpool_config_user_password(char *username, char *password_in_config)
PasswordMapping *password_mapping = NULL;
/*
- * if the password specified in confg is empty strin or NULL look for the
+ * if the password specified in config is empty strin or NULL look for the
* password in pool_passwd file
*/
if (password_in_config == NULL || strlen(password_in_config) == 0)
diff --git a/src/config/pool_config_variables.c b/src/config/pool_config_variables.c
index b93c50be6..78a7dc119 100644
--- a/src/config/pool_config_variables.c
+++ b/src/config/pool_config_variables.c
@@ -174,7 +174,7 @@ static void convert_int_from_base_unit(int64 base_value, int base_unit,
/* These functions are used to provide Hints for enum type config parameters and
- * to output the vslues of the parameters.
+ * to output the values of the parameters.
* These functuons are not available for tools since they use the stringInfo that is
* not present for tools.
*/
diff --git a/src/context/pool_session_context.c b/src/context/pool_session_context.c
index 3612daeed..b72f37d21 100644
--- a/src/context/pool_session_context.c
+++ b/src/context/pool_session_context.c
@@ -267,7 +267,7 @@ pool_unset_query_in_progress(void)
s->in_progress = false;
- /* Restore where_to_send map if neccessary */
+ /* Restore where_to_send map if necessary */
if (s->need_to_restore_where_to_send)
{
memcpy(s->query_context->where_to_send, s->where_to_send_save, sizeof(s->where_to_send_save));
diff --git a/src/watchdog/wd_json_data.c b/src/watchdog/wd_json_data.c
index faff82edd..a7576e108 100644
--- a/src/watchdog/wd_json_data.c
+++ b/src/watchdog/wd_json_data.c
@@ -243,7 +243,7 @@ get_pool_config_json(void)
return json_str;
}
-/* The function returs the simple JSON string that contains
+/* The function returns the simple JSON string that contains
* only one KEY,VALUE along with the authkey key value if provided
*/
char *
diff --git a/src/watchdog/wd_lifecheck.c b/src/watchdog/wd_lifecheck.c
index 71f4374d4..ad6f92080 100644
--- a/src/watchdog/wd_lifecheck.c
+++ b/src/watchdog/wd_lifecheck.c
@@ -54,7 +54,7 @@
* lifecheck process should waits
* before giving up while fetching
* the configured watchdog node
- * infromation from watchdog
+ * information from watchdog
* process through IPC channel */
/*
[parent: 761d30a17d04]