[rygel] Revert "db: Fix schema creation"
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] Revert "db: Fix schema creation"
- Date: Sun, 6 Sep 2015 10:41:53 +0000 (UTC)
commit d22aaa745eb3e9a24b30e37b5d2fd32659425fcb
Author: Jens Georg <mail jensge org>
Date: Sun Sep 6 12:40:22 2015 +0200
Revert "db: Fix schema creation"
These changes were unnecessary and cause the cache not to be created properly.
This reverts commit 6c0e2254697600a52f7ea9042db19864221101c0.
.../rygel-media-export-media-cache-upgrader.vala | 1 -
.../rygel-media-export-media-cache.vala | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/media-export/rygel-media-export-media-cache-upgrader.vala
b/src/plugins/media-export/rygel-media-export-media-cache-upgrader.vala
index 1f84b16..33d982e 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache-upgrader.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache-upgrader.vala
@@ -73,7 +73,6 @@ internal class Rygel.MediaExport.MediaCacheUpgrader {
public void ensure_indices () {
try {
this.database.exec (this.sql.make (SQLString.INDEX_COMMON));
- this.database.exec (this.sql.make (SQLString.CREATE_BLACKLIST_INDEX));
this.database.analyze ();
} catch (Error error) {
warning (_("Failed to create indices: %s"),
diff --git a/src/plugins/media-export/rygel-media-export-media-cache.vala
b/src/plugins/media-export/rygel-media-export-media-cache.vala
index 05ab422..0cb1b88 100644
--- a/src/plugins/media-export/rygel-media-export-media-cache.vala
+++ b/src/plugins/media-export/rygel-media-export-media-cache.vala
@@ -882,8 +882,6 @@ public class Rygel.MediaExport.MediaCache : Object {
db.exec (this.sql.make (SQLString.INDEX_COMMON));
db.exec (this.sql.make (SQLString.TRIGGER_CLOSURE));
db.exec (this.sql.make (SQLString.TRIGGER_REFERENCE));
- db.exec (this.sql.make (SQLString.CREATE_BLACKLIST_TABLE));
- db.exec (this.sql.make (SQLString.CREATE_BLACKLIST_INDEX));
db.commit ();
db.analyze ();
this.save_reset_token (GUPnP.get_uuid ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]