Specs for the backup api

This commit is contained in:
Maas-Maarten Zeeman
2022-05-29 17:19:04 +02:00
parent 331579e8dc
commit 540bd64263
4 changed files with 27 additions and 9 deletions

View File

@@ -943,7 +943,7 @@ esqlite_backup_step(ErlNifEnv *env, int argc, const ERL_NIF_TERM argv[])
int rc = sqlite3_backup_step(backup->backup, n_page);
if(rc == SQLITE_DONE) {
return make_atom(env, "done");
return make_atom(env, "$done");
}
if(rc != SQLITE_OK) {