The storage for :memory: databases depends on the pysqlite connection 
object, which you cannot share among threads.

So what you want is not possible.

I recommend you just use disk-based databases and delete them when you 
don't need them any longer.

On Unix, you can even do something like:

<connect to database file 'db1'>
<delete database file 'db1'>
<continue using connection to database file 'db1'>

because Unix has something like "referenced counted garbage collection" 
at the filesystem level.

-- Gerhard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to