diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-10 16:52:22 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-11 01:48:25 +0200 |
commit | 0451e985905985a8025e49b20821c67874cdd085 (patch) | |
tree | ed89843d11ba7ce7d0ae39987631b251877933a8 | |
parent | 96782fa5f76076a0d8e6d9a8932d5fe7b8d5352d (diff) |
cosmetic: log: "SQLite" with capital L
Change-Id: I43a6ea646f14cfea3a7cd4eb88237ada6d47f5f1
-rw-r--r-- | src/db.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -196,19 +196,19 @@ 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); if (!strcmp(o, "ENABLE_SQLLOG")) has_sqlite_config_sqllog = true; } 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"); if (has_sqlite_config_sqllog) { rc = sqlite3_config(SQLITE_CONFIG_SQLLOG, sql3_sql_log_cb, NULL); if (rc != SQLITE_OK) - LOGP(DDB, LOGL_NOTICE, "Unable to set SQlite3 SQL log callback\n"); + LOGP(DDB, LOGL_NOTICE, "Unable to set SQLite3 SQL log callback\n"); } else LOGP(DDB, LOGL_DEBUG, "Not setting SQL log callback:" " SQLite3 compiled without support for it\n"); @@ -223,7 +223,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); |