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.

Comments

kbahey’s picture

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?

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba

chx’s picture

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.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

kbahey’s picture

--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba