Re: [sqlite] Virtual tables: rename, disconnect and reconnect

2012-06-26 Thread OBones
Jay A. Kreibich wrote: On Tue, Jun 26, 2012 at 03:47:07PM +0200, OBones scratched on the wall: I would have thought that since the disconnect was given a valid pVTab, this one could have been given back to xConnect when reconnecting the database after its rename. Except SQLite doesn't store

Re: [sqlite] Virtual tables: rename, disconnect and reconnect

2012-06-26 Thread Jay A. Kreibich
On Tue, Jun 26, 2012 at 03:47:07PM +0200, OBones scratched on the wall: > Hello all, > > I'm experimenting with virtual tables and I must say that it's a > very nice feature to have, it saves me from inserting millions of > records in a database when I can simply map the source file in > memory

[sqlite] Virtual tables: rename, disconnect and reconnect

2012-06-26 Thread OBones
Hello all, I'm experimenting with virtual tables and I must say that it's a very nice feature to have, it saves me from inserting millions of records in a database when I can simply map the source file in memory and read it directly. However, I have a small issue when renaming a database.