cosmetic: log: "SQLite" with capital L

Change-Id: I43a6ea646f14cfea3a7cd4eb88237ada6d47f5f1
This commit is contained in:
Neels Hofmeyr 2017-10-10 16:52:22 +02:00 committed by Neels Hofmeyr
parent 3522819d8b
commit e9c0c5b272
1 changed files with 4 additions and 4 deletions

View File

@ -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);