Re: Enable authorizer-feature in PDO_SQLITE
| From: | Mario Wolff | Date: | Thu, 16 Nov 2006 15:21:56 +0000 |
| Subject: | Re: Enable authorizer-feature in PDO_SQLITE | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26643@lists.php.net to get a copy of this message | ||
2006/11/16, Wez Furlong <kingwez@gmail.com>:
I suggest that you adjust your patch to cache the function callback information in the pdo_dbh_t to reduce some of that overhead, and run some benchmarks for a simple authorizer function in PHP that always returns true vs the same script with no authorizer, so that we get a feel for what kind of impact that has for various common queries.Is the pdo_sqlite_db_handle not the better place to store? I'm not so deep in the architecture to decide!
--Wez.