commit abe7da3dead584cb65f97437f419914c00cb62dcAuthor: Christophe Fergeau <cfergeau@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.diff --git a/src/itdb_sqlite.c b/src/itdb_sqlite.cindex 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; }