sqlite3?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

sqlite3?

Post by Painless »

Hi all,

Just wondering, does serendipity support sqlite3 as well as sqlite?

Regards,

Rob
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

You'll probably have to wait for Garvin for that one. It's not mentioned anywhere in the code, so it's not specifically supported. How different is it from sqlite?
Judebert
---
Website | Wishlist | PayPal
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

Post by Painless »

Hi,

Thanks for the reply.

I'm no expert, but I understand that sqlite3 has improved concurrency and a different file format which uses less space, as well as a bunch of other improvements which I don't really understand the benefits of.

Regards,

Rob
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

If you've got the time, give it a try. If it works, let us know. I it doesn't work, let us know why.
Judebert
---
Website | Wishlist | PayPal
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

For SQLite support, serendipity simply relies on the PHP sqlite* function calls.

Thus, if PHP on your server supports SQLite3 (which I think it does in recent versions), then s9y will automatically support it. I believe that the SQLite functions even take care of converting SQLite2 to SQLite3 databases when opening.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply