Lines Matching defs:sqlite
20 sqlite3 *sqlite;
48 db->rc = sqlite3_open(db->dbfile, &db->sqlite);
52 sqlite3_busy_timeout(db->sqlite, sqlite_busy_timeout);
55 i_error("sqlite: open(%s) failed: %s", db->dbfile,
56 sqlite3_errmsg(db->sqlite));
57 sqlite3_close(db->sqlite);
58 db->sqlite = NULL;
67 sqlite3_close(db->sqlite);
68 db->sqlite = NULL;
78 pool = pool_alloconly_create("sqlite driver", 512);
95 sqlite3_close(db->sqlite);
137 db->rc = sqlite3_exec(db->sqlite, query, NULL, NULL, NULL);
139 i_error("sqlite: exec(%s) failed: %s (%d)",
140 query, sqlite3_errmsg(db->sqlite), db->rc);
170 rc = sqlite3_prepare(db->sqlite, query, -1, &result->stmt, NULL);
198 i_warning("sqlite: finalize failed: %s (%d)",
199 sqlite3_errmsg(db->sqlite), rc);
303 return sqlite3_errmsg(db->sqlite);
349 commit_result.error = sqlite3_errmsg(db->sqlite);
374 *error_r = sqlite3_errmsg(db->sqlite);
394 *affected_rows = sqlite3_changes(db->sqlite);
410 .name = "sqlite",