Re: [Modeling-users] SQLite adaptor (buglets)
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-08-02 08:45:27
|
I wrote: [About: failure/traceback when re-creating a sqlite db] > Okay, the error is horrible, this should not happen, I'll check > this. However, true, I'm not sure the adaptor for SQLite can be able to > create a database, I'm not sure this can be easily done w/ pure python > (I mean, no os.system()) --but it should raise accordingly, and this > should be documented. I must have been quite tired yesterday when writing this: simply opening a connection to a non-existent sqlite db is sufficient to create the database. That's how it's done now (and 'drop database' is implemented with os.unlink()). -- S=E9bastien. |