tanrj / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Add a timeout attribute to the connection #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Here is a patch to set the timeout for connections and queries.

The timeout is set once for a cursor when it is created. The query timeout
of a cursor can therefore not be changed.

Original issue reported on code.google.com by patrik.simons@neotide.fi on 17 Apr 2009 at 12:17

Attachments:

GoogleCodeExporter commented 8 years ago
Fantastic.  Thanks!

Applied in 4ba7b007968d7fb2d39f2ec4c80e87f4319e016a which will be 2.1.5.

Original comment by mkleehammer on 19 Apr 2009 at 10:03

GoogleCodeExporter commented 8 years ago

Original comment by mkleehammer on 21 Nov 2010 at 4:45