Dear all, So one has to disable CREATEONLY in order to set MEMMAIN. I just tried it because I thought this could explain the issue.
In memory database is a powerful tool, But it's confusing because database name is lost (no trace in db:list()), But you can still use it in db:list, db:add, db:open... Thank you for your impressive software, I always wonder how I could process xml before. Best regards. Fabrice -----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de Marc Envoyé : mercredi 4 juin 2014 10:32 À : Christian Grün Cc : BaseX Objet : Re: [basex-talk] mainmem bug? ok thank Marc Le mercredi 4 juin 2014 10:31:42, Christian Grün a écrit : >> I agree with you, that for my use the main memory database are not >> right because I have to open other database. >> But in the example, I just create one and open it! > > After having created the database, it is already open, so there is no > need to use "open". > Christian > > >> Marc >> >> Le mercredi 4 juin 2014 10:24:53, Christian Grün a écrit : >> >>> Hi Marc, >>> >>>> I try to use the mainmem flag because I use a temporally base to do >>>> some specific treatments and extract it after. >>>> But when I create the database it isn't! >>>> [...] >>>> The main memory database doesn't exist anymore? >>> >>> >>> >>> Exactly. For more information, please have a look at the following >>> pages (a thank you to Max for extending our Wiki entry): >>> >>> http://docs.basex.org/wiki/Databases#In_Memory_Database >>> >>> http://www.mail-archive.com/basex-talk%40mailman.uni-konstanz.de/msg >>> 04139.html >>> >>> Hope this helps, >>> Christian

