Remove no-op "OR REPLACE"

This commit is contained in:
Julien BLACHE 2010-09-04 11:38:15 +02:00
parent f50e17b60f
commit e90e81cdf5

View File

@ -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;