[rygel] core: Fix wrongly bound SQL for containers



commit dab85842f85fde43589e5b5e262a5431ddbae787
Author: Jens Georg <mail jensge org>
Date:   Mon Sep 21 12:06:18 2009 +0200

    core: Fix wrongly bound SQL for containers

 src/rygel/rygel-media-db.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-db.vala b/src/rygel/rygel-media-db.vala
index e663bc2..864e0ae 100644
--- a/src/rygel/rygel-media-db.vala
+++ b/src/rygel/rygel-media-db.vala
@@ -568,7 +568,7 @@ public class Rygel.MediaDB : Object {
             }
 
             if (item.parent == null) {
-                rc = statement.bind_null (5);
+                rc = statement.bind_null (4);
             } else {
                 rc = statement.bind_text (4, item.parent.id);
             }



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