Skip to content

Commit b3c9884

Browse files
author
virco
committed
fix
1 parent 783ffca commit b3c9884

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ppagecache.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3024,7 +3024,6 @@ static void psync_pagecache_add_task(uint32_t type, uint64_t taskid, uint64_t ha
30243024
int run;
30253025
// TODO: remove this check
30263026
if (type==PAGE_TASK_TYPE_MODIFY){
3027-
psync_sql_start_transaction();
30283027
res=psync_sql_prep_statement("DELETE FROM fstaskdepend WHERE dependfstaskid=?");
30293028
psync_sql_bind_uint(res, 1, taskid);
30303029
psync_sql_run_free(res);
@@ -3033,7 +3032,6 @@ static void psync_pagecache_add_task(uint32_t type, uint64_t taskid, uint64_t ha
30333032
res=psync_sql_prep_statement("DELETE FROM fstask WHERE id=?");
30343033
psync_sql_bind_uint(res, 1, taskid);
30353034
psync_sql_run_free(res);
3036-
psync_sql_commit_transaction();
30373035
return;
30383036
}
30393037
run=0;

0 commit comments

Comments
 (0)