summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/gfdb/gfdb_sqlite3.h
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /libglusterfs/src/gfdb/gfdb_sqlite3.h
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'libglusterfs/src/gfdb/gfdb_sqlite3.h')
-rw-r--r--libglusterfs/src/gfdb/gfdb_sqlite3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3.h b/libglusterfs/src/gfdb/gfdb_sqlite3.h
index 5b55b0ace5e..11bf3e82707 100644
--- a/libglusterfs/src/gfdb/gfdb_sqlite3.h
+++ b/libglusterfs/src/gfdb/gfdb_sqlite3.h
@@ -229,7 +229,7 @@ gfdb_set_sql_params(char *comp_name, dict_t *from_dict, dict_t *to_dict)
GF_ASSERT (from_dict);
GF_ASSERT (to_dict);
- /*Extact and Set of the sql params from page_size*/
+ /*Extract and Set of the sql params from page_size*/
for (sql_index = sql_pagesize_ix; sql_index < sql_index_max;
sql_index++) {
_val_str = NULL;
@@ -292,7 +292,7 @@ int gf_sqlite3_clear_files_heat (void *db_conn);
* this variable. The freeing of the memory should be done by
* the caller.
* Return:
- * On success return the lenght of the version string that is
+ * On success return the length of the version string that is
* extracted.
* On failure return -1
* */
@@ -306,7 +306,7 @@ int gf_sqlite3_version (void *db_conn, char **version);
* extracted. This function will allocate memory
* to pragma_value. The caller should free the memory
* Return:
- * On success return the lenght of the pragma/setting value that is
+ * On success return the length of the pragma/setting value that is
* extracted.
* On failure return -1
* */
@@ -328,7 +328,7 @@ gf_sqlite3_set_pragma (void *db_conn, char *pragma_key, char *pragma_value);
* Input:
* void *db_conn : Sqlite connection
* gf_boolean_t compact_active : Is compaction on?
- * gf_boolean_t compact_mode_switched : Did we just flip the compaction swtich?
+ * gf_boolean_t compact_mode_switched : Did we just flip the compaction switch?
* Return:
* On success return 0
* On failure return -1