Ticket #503 (new enhancement)
Opened 5 months ago
cache statement handles, uneeded finish()
| Reported by: | mortonda@… | Owned by: | rjl |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.3 |
| Component: | amavisd-maia | Version: | 1.0.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
We spend a lot of time preparing sql statements that could be cached very easily by DBI's prepare_cached() call. This might be a simple way to speed up the database layer some... at the very least, reduce some waste.
Also mentioned in that documentation is that finish() is only needed when you know you are leaving the statement with unfetched rows. We could eliminate a lot of those calls.
Note: See
TracTickets for help on using
tickets.

