From: Firman W. <fi...@gm...> - 2005-08-25 03:35:54
|
Last night I read about pdo_sqlite extension, it's support SQLite3. I wondering why the SQLite extension is very slow to upgrade the engine into version 3. And this morning I asked to SQLite mailing-list about SQLite3 backward compatibility, then I got SQLite3 isn't support SQLite2 databases. Now, the problem is, If we want phpsla support SQLite3 too, we need use pdo_sqlite extension for it, but then when we support both of SQLite2 and SQLite3 we use 2 extensions with very different behaviour. My solution is create the pdo2sqlite or sqlite2pdo wrapper, so we just only need to call the same function for same operations. What do you think guys? And does anyone has create the sqlite2pdo or pdo2sqlite? Other problem is, how to know a database is SQLite2 or SQLite3 format? Regards, --=20 Firman Wandayandi Never Dreamt Before (http://php.hm/~firman/) |