mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-13 16:03:23 -05:00
Merge pull request #1178 from chme/fix-db-updgrade
[db] Remove break after v2103 db update and directly run update for v2104
This commit is contained in:
commit
7004b08fbc
@ -1249,7 +1249,6 @@ db_upgrade(sqlite3 *hdl, int db_ver)
|
||||
ret = db_generic_upgrade(hdl, db_upgrade_v2104_queries, ARRAY_SIZE(db_upgrade_v2104_queries));
|
||||
if (ret < 0)
|
||||
return -1;
|
||||
break;
|
||||
|
||||
/* FALLTHROUGH */
|
||||
|
||||
@ -1257,6 +1256,8 @@ db_upgrade(sqlite3 *hdl, int db_ver)
|
||||
ret = db_generic_upgrade(hdl, db_upgrade_v2105_queries, ARRAY_SIZE(db_upgrade_v2105_queries));
|
||||
if (ret < 0)
|
||||
return -1;
|
||||
|
||||
/* Last case statement is the only one that ends with a break statement! */
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user