mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 02:03:45 -04:00
Fix stupid oversight that can cause segfault
- how typical to discover this right after making a release
This commit is contained in:
parent
e994b345c0
commit
f6f584bf84
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;",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user