Isidre,
if I got you right, you'd like to have the command aborted if the database already exists? That's indeed expected behavior. If you want to get sure that your database does not already exist, you can run "open DB" before calling the create command.
Hope this helps, Christian ___________________________
2012/2/14 Isidre Guixà iguixa@xtec.cat:
Hello!
I see the command "create database" creates a database although there is another with the same name, destroying the existing one. I think that this is not normal...
I've tested using the option in the GUI and also using Java client (method create in BaseXClient.java)
Thanks,
Isidre
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk