[shotwell] Prevent dropping the index on evey start
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Prevent dropping the index on evey start
- Date: Thu, 10 Nov 2016 23:32:21 +0000 (UTC)
commit c8cacef72095daef28bc71945b7bd42ab40662ce
Author: Jens Georg <mail jensge org>
Date: Fri Nov 11 00:32:04 2016 +0100
Prevent dropping the index on evey start
Signed-off-by: Jens Georg <mail jensge org>
src/db/PhotoTable.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/db/PhotoTable.vala b/src/db/PhotoTable.vala
index 4ea2790..4304da8 100644
--- a/src/db/PhotoTable.vala
+++ b/src/db/PhotoTable.vala
@@ -169,7 +169,7 @@ public class PhotoTable : DatabaseTable {
DatabaseTable.warning ("Failed to drop old PhotoTable index", res);
}
- res = db.prepare_v2 ("CREATE INDEX IF NOT EXISTS PhotoTableMD5Format on PhotoTable(md5,
file_format)", -1, out stmt);
+ res = db.prepare_v2 ("CREATE INDEX IF NOT EXISTS PhotoTableMD5FormatV2 on PhotoTable(md5,
file_format)", -1, out stmt);
assert (res == Sqlite.OK);
res = stmt.step ();
if (res != Sqlite.DONE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]