commit abe7da3dead584cb65f97437f419914c00cb62dc
Author: Christophe Fergeau <cferg...@mandriva.com>
Date:   Sun Feb 14 17:33:33 2010 +0100

    [sqlite] fix insertion of "remember_bookmark" field
    
    In the commit adding support for it, the sqlite3_prepare_v2 statement
    setting it was only partially modified, which caused the creation of the
    Libarary.itdb database to fail.

 src/itdb_sqlite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/itdb_sqlite.c b/src/itdb_sqlite.c
index db39a65..d7626bf 100644
--- a/src/itdb_sqlite.c
+++ b/src/itdb_sqlite.c
@@ -647,7 +647,7 @@ static int mk_Library(Itdb_iTunesDB *itdb,
            
"album_artist,composer,sort_title,sort_artist,sort_album,sort_album_artist,sort_composer,title_order,artist_order,"
            
"album_order,genre_order,composer_order,album_artist_order,album_by_artist_order,series_name_order,comment,grouping,"
            "description,description_long) "
-           
"VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);",
 -1, &stmt_item, NULL)) {
+           
"VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?);",
 -1, &stmt_item, NULL)) {
        fprintf(stderr, "[%s] sqlite3_prepare error: %s\n", __func__, 
sqlite3_errmsg(db));
        goto leave;
     }

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to