[rygel] media-export: Add missing schema version bump in database upgrade.



commit 383784e194b6afaf60ec8323608906ad4812fd06
Author: Krzesimir Nowak <krnowak openismus com>
Date:   Mon Mar 4 09:27:12 2013 +0100

    media-export: Add missing schema version bump in database upgrade.

 .../rygel-media-export-media-cache-upgrader.vala   |    1 +
 1 files changed, 1 insertions(+), 0 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 bb22737..9e8b133 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
@@ -426,6 +426,7 @@ internal class Rygel.MediaExport.MediaCacheUpgrader {
              * to zero.
              */
             this.database.exec ("UPDATE object SET is_guarded = 0");
+            this.database.exec ("UPDATE schema_info SET version = '13'");
 
             database.commit ();
             database.exec ("VACUUM");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]