[tracker/tracker-0.10] libtracker-data: Remove useless calls before exit on database corruption
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-data: Remove useless calls before exit on database corruption
- Date: Thu, 8 Sep 2011 12:51:44 +0000 (UTC)
commit dda6ccaecf606c11095086cba02cd255e46c4575
Author: JÃrg Billeter <j bitron ch>
Date: Mon Sep 5 14:48:07 2011 +0200
libtracker-data: Remove useless calls before exit on database corruption
src/libtracker-data/tracker-db-interface-sqlite.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-interface-sqlite.c b/src/libtracker-data/tracker-db-interface-sqlite.c
index a57f28a..651a0ab 100644
--- a/src/libtracker-data/tracker-db-interface-sqlite.c
+++ b/src/libtracker-data/tracker-db-interface-sqlite.c
@@ -1387,9 +1387,6 @@ execute_stmt (TrackerDBInterface *interface,
sqlite3_errmsg (interface->db),
g_strerror (errno));
- sqlite3_finalize (stmt);
- sqlite3_close (interface->db);
-
g_unlink (interface->filename);
g_error ("SQLite experienced an error with file:'%s'. "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]