Issue Details (XML | Word | Printable)

Key: PYFB-77
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Pavel Cisar
Reporter: Nathan Waite
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
Firebird driver for Python

fdb Cursor reuse existing PreparedStatement

Created: 10/Jan/19 11:01 PM   Updated: 10/Jan/19 11:01 PM
Component/s: None
Affects Version/s: 2.0
Fix Version/s: None

 Description  « Hide
In fdb Cursor.execute(), any time a string is passed a new PreparedStatement is created requiring a trip to the server. Can it instead reuse the existing prepared statement if the same string object is passed multiple times [consecutively]? In certain cases this would result in a dramatic (and free!) speed increase without requiring methods not in DB-API 2.0.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.