Hi devs, sfSQLiteCache class is checking for two extensions: "sqlite" and "pdo_sqlite". If either of them is found, the class will assume that sqlite is installed. It won't work well if only "pdo_sqlite" is installed because PDO API is different than sqlite driver API. Also, in this setup sqlite3 is not supported as the extension name is "sqlite3" (it's now also supported via PDO). The above is a bug but I wanted to run something by you before reporting it. What do you think about creating class sfPDOCache that would handle any valid PDO DSN - similar to sfPDOSessionStorage. That would provide support for Sqlite3 or anything else. The only issue I can see here is that cache class would need to create all the tables, indices, etc - I'm not sure how easy it will be to write SQL to handle all possible PDO drivers (especially table creation) without depending on something like Propel/Doctrine.
cheers, Tomek -- You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en.
