mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
Remove no-op "OR REPLACE"
This commit is contained in:
parent
f50e17b60f
commit
e90e81cdf5
2
src/db.c
2
src/db.c
@ -3018,7 +3018,7 @@ db_config_save_int(const char *key, int val)
|
||||
int
|
||||
db_config_save_hex64(const char *key, uint64_t val)
|
||||
{
|
||||
#define Q_TMPL "INSERT OR REPLACE INTO admin (key, value) VALUES ('%q', '%016" PRIx64 "');"
|
||||
#define Q_TMPL "INSERT INTO admin (key, value) VALUES ('%q', '%016" PRIx64 "');"
|
||||
char *query;
|
||||
char *errmsg;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user