If that is the case then 

  * (defvar db2 (sql:connect '(":memory:")
                             :database-type :sqlite
                             :make-default nil
                             :if-exists :old))

what does that "if-exists:old " "if-exists:new" in connect call signify? (this I 
happened to pick
up from wiki documentation from sqlite.org site

Cheers
Rajesh 

--- Christian Smith <[EMAIL PROTECTED]> wrote:

> On Wed, 4 Aug 2004, Rajesh Nagarajan wrote:
> 
> >Hi
> >
> >I am trying to move to memory database from file based sqlite db, I want
> >my memory database to be shared across various threads in my process.
> >
> >How do I do it?
> 
> 
> I believe that each ":memory:" connection will get it's own memory
> database. If you want different threads to share a memory database, you'll
> have to open a single memory database and share the connection between
> threads (with locking, obviously.)
> 
> Christian
> 
> -- 
>     /"\
>     \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
>      X                           - AGAINST MS ATTACHMENTS
>     / \
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

Reply via email to