summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-10-10 16:52:22 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-10-11 20:25:29 +0000
commite9c0c5b2724e9e0f749e9c24d77e73d7cbe3ede6 (patch)
tree0dc8897812d626e5e919d1b8f51f1113b5256cad
parent3522819d8bf9d6634a504effe4f171975439e77d (diff)
cosmetic: log: "SQLite" with capital L
-rw-r--r--src/db.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/db.c b/src/db.c
index 2c10ba0..0ece61b 100644
--- a/src/db.c
+++ b/src/db.c
@@ -132,16 +132,16 @@ struct db_context *db_open(void *ctx, const char *fname)
const char *o = sqlite3_compileoption_get(i);
if (!o)
break;
- LOGP(DDB, LOGL_DEBUG, "SQlite3 compiled with '%s'\n", o);
+ LOGP(DDB, LOGL_DEBUG, "SQLite3 compiled with '%s'\n", o);
}
rc = sqlite3_config(SQLITE_CONFIG_LOG, sql3_error_log_cb, NULL);
if (rc != SQLITE_OK)
- LOGP(DDB, LOGL_NOTICE, "Unable to set SQlite3 error log callback\n");
+ LOGP(DDB, LOGL_NOTICE, "Unable to set SQLite3 error log callback\n");
rc = sqlite3_config(SQLITE_CONFIG_SQLLOG, sql3_sql_log_cb, NULL);
if (rc != SQLITE_OK)
- LOGP(DDB, LOGL_NOTICE, "Unable to set SQlite3 SQL statement log callback\n");
+ LOGP(DDB, LOGL_NOTICE, "Unable to set SQLite3 SQL statement log callback\n");
rc = sqlite3_open(dbc->fname, &dbc->db);
if (rc != SQLITE_OK) {
@@ -153,7 +153,7 @@ struct db_context *db_open(void *ctx, const char *fname)
/* enable extended result codes */
rc = sqlite3_extended_result_codes(dbc->db, 1);
if (rc != SQLITE_OK)
- LOGP(DDB, LOGL_ERROR, "Unable to enable SQlite3 extended result codes\n");
+ LOGP(DDB, LOGL_ERROR, "Unable to enable SQLite3 extended result codes\n");
char *err_msg;
rc = sqlite3_exec(dbc->db, "PRAGMA journal_mode=WAL; PRAGMA synchonous = NORMAL;", 0, 0, &err_msg);