Recompute all songalbumids at startup

Due to the two Murmur64 implementations for 64 and 32bit machines, the
hash is not compatible when moving the SQLite DB between 32/64 bit hosts.

So we'll recompute all the songalbumids at startup, just in case.
This commit is contained in:
Julien BLACHE
2010-03-06 17:39:35 +01:00
parent 0e9a8674d9
commit 88dde32fc7
3 changed files with 27 additions and 0 deletions

View File

@@ -289,6 +289,9 @@ db_query_fetch_string(struct query_params *qp, char **string);
int
db_files_get_count(void);
void
db_files_update_songalbumid(void);
void
db_file_inc_playcount(int id);