1. Pypy
  2. Untitled project
  3. pypy

Commits

David Ripton  committed 80014f1

Do not call statement.reset() after executing DDL.

Fixes issue996.

  • Participants
  • Parent commits 6141b73
  • Branches default

Comments (0)

Files changed (1)

File lib_pypy/_sqlite3.py

View file
  • Ignore whitespace
             self.statement.item = None
             self.statement.exhausted = True
 
-        if self.statement.kind == DML or self.statement.kind == DDL:
+        if self.statement.kind == DML:
             self.statement.reset()
 
         self.rowcount = -1