SQLite database interface

chx - November 19, 2004 - 23:07

I am happy to introduce the first test version of this. You may download it from http://cvs.drupal.org/viewcvs/contributions/sandbox/chx/. Alter table implementation will come from http://code.jenseng.com/db/ but I've not made it yet. The database is based upon the latest database.mysql.

Does this imply PHP5 functionality too?

kbahey - November 20, 2004 - 20:22

SQLite is part of the PHP5 distribution.

Does this mean we have a version of Drupal that works with both SQLite and PHP5? Or does one have to custom build PHP to include SQLite at the moment?

I've used PHP4

chx - November 20, 2004 - 21:47

As I mention in the README.txt, I've used PHP4. As far as I know, there is no sanctioned PHP5 version of Drupal, but there is a thread about it.

I know that at the moment this limits the usefulness of this SQLite layer, but by the time it will get into the core, Drupal will be PHP5 compatible, I am pretty sure of that... Meanwhile, interested parties still may test it.

And there is no difference between the PECL and the PHP5 SQLite function except maybe sqlite_fetch_object, but that is just a technicality, (object)sqlite_fetch_array serves well.

Previous SQLite discussion

kbahey - January 22, 2005 - 15:05
 
 

Drupal is a registered trademark of Dries Buytaert.