mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-30 01:03:44 -04:00
stop file collissions with sqlite2
This commit is contained in:
parent
bf9e414169
commit
2967af19ea
@ -123,7 +123,7 @@ int db_sqlite3_open(char **pe, char *dsn) {
|
|||||||
int ver;
|
int ver;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
snprintf(db_sqlite3_path,sizeof(db_sqlite3_path),"%s/songs.db",dsn);
|
snprintf(db_sqlite3_path,sizeof(db_sqlite3_path),"%s/songs3.db",dsn);
|
||||||
|
|
||||||
db_sqlite3_lock();
|
db_sqlite3_lock();
|
||||||
if(sqlite3_open(db_sqlite3_path,&db_sqlite3_songs) != SQLITE_OK) {
|
if(sqlite3_open(db_sqlite3_path,&db_sqlite3_songs) != SQLITE_OK) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user