Improve SetInterrupt performance.

This commit is contained in:
Nuno Cruces
2025-03-23 11:04:10 +00:00
parent 35a2dbd847
commit c067e3630b
4 changed files with 36 additions and 32 deletions

View File

@@ -106,7 +106,7 @@ func (s *Stmt) Busy() bool {
//
// https://sqlite.org/c3ref/step.html
func (s *Stmt) Step() bool {
s.c.checkInterrupt(s.c.handle)
s.c.checkInterrupt()
rc := res_t(s.c.call("sqlite3_step", stk_t(s.handle)))
switch rc {
case _ROW: