Re: Enable authorizer-feature in PDO_SQLITE
| From: | Mario Wolff | Date: | Thu, 16 Nov 2006 15:45:36 +0000 |
| Subject: | Re: Enable authorizer-feature in PDO_SQLITE | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26644@lists.php.net to get a copy of this message | ||
2006/11/16, Mario Wolff <wolfshoehle@googlemail.com>:
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!New patches attached! static-stuff removed. user_authorizer cleanup done.
--Wez.
Attachment: [text/x-patch] php_pdo_sqlite_int.h.diff
Attachment: [text/x-patch] sqlite_driver.c.diff