mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Fix stupid oversight that can cause segfault
- how typical to discover this right after making a release
This commit is contained in:
2
src/db.c
2
src/db.c
@@ -753,7 +753,7 @@ void
|
|||||||
db_purge_all(void)
|
db_purge_all(void)
|
||||||
{
|
{
|
||||||
#define Q_TMPL "DELETE FROM playlists WHERE type <> %d;"
|
#define Q_TMPL "DELETE FROM playlists WHERE type <> %d;"
|
||||||
char *queries[5] =
|
char *queries[4] =
|
||||||
{
|
{
|
||||||
"DELETE FROM inotify;",
|
"DELETE FROM inotify;",
|
||||||
"DELETE FROM playlistitems;",
|
"DELETE FROM playlistitems;",
|
||||||
|
|||||||
Reference in New Issue
Block a user