pypyodbc icon indicating copy to clipboard operation
pypyodbc copied to clipboard

Overload causes crash?

Open axpatito opened this issue 8 years ago • 0 comments

When querying a large number of times to the same DB (batching), I get the following stack trace:

  File "pypy/site-packages/pypyodbc.py", line 2652, in __exit__
    self.commit()
  File "pypy/site-packages/pypyodbc.py", line 2591, in commit
    check_success(self, ret)
  File "pypy/site-packages/pypyodbc.py", line 1007, in check_success
    ctrl_err(SQL_HANDLE_DBC, ODBC_obj.dbc_h, ret, ODBC_obj.ansi)
  File "pypy/site-packages/pypyodbc.py", line 970, in ctrl_err
    state = err_list[0][0]
IndexError: list index out of range

axpatito avatar Jul 17 '16 14:07 axpatito