Defer prepare and prepexec
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
I just committed some patches for prepare/execute performances. First prepare using tds7+ is always defered as ms drivers do. For this reason if you bind afterthe prepare server receive a single prepare, not two. Prepexec is used to collapse prepare and execute. So now a sequence like SQLPrepare/SQLBindParameter/SQLExecute can lead to' only 2 round trips instead of 6. All tests passed, even perl ones. Frediano Ziglio