Skip to content

Commit cd47d9b

Browse files
committed
Reset stmt_deadline when preparing a statement
1 parent ae76a01 commit cd47d9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/sqlite3/statement.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ prepare(VALUE self, VALUE db, VALUE sql)
7070
);
7171

7272
CHECK(db_ctx->db, status);
73+
db_ctx->stmt_deadline = 0;
7374

7475
return rb_str_new2(tail);
7576
}

0 commit comments

Comments
 (0)