mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[db] Upgrade schema to 21.06, change default of query_limit to 0
This commit is contained in:
@@ -73,7 +73,7 @@ scan_smartpl(const char *file, time_t mtime, int dir_id)
|
||||
swap_pointers(&pli->title, &smartpl.title);
|
||||
swap_pointers(&pli->query, &smartpl.query_where);
|
||||
swap_pointers(&pli->query_order, &smartpl.order);
|
||||
pli->query_limit = smartpl.limit;
|
||||
pli->query_limit = (smartpl.limit > 0) ? smartpl.limit : 0;
|
||||
|
||||
free_smartpl(&smartpl, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user