Fix SQL command when creating magiskdb
This commit is contained in:
parent
d3b5cf82d8
commit
fd72f658c0
@ -138,7 +138,7 @@ static char *open_and_init_db(sqlite3 *&db) {
|
||||
upgrade = true;
|
||||
}
|
||||
if (ver < 10) {
|
||||
sqlite3_exec(db, "DROP TABLE logs", nullptr, nullptr, &err);
|
||||
sqlite3_exec(db, "DROP TABLE IF EXISTS logs", nullptr, nullptr, &err);
|
||||
err_ret(err);
|
||||
ver = 10;
|
||||
upgrade = true;
|
||||
|
Loading…
Reference in New Issue
Block a user