On 03/11/2016 02:28 PM, Dimitry Sibiryakov wrote: > 11.03.2016 12:19, Alex Peshkoff wrote: >> When 2 different files will be opened as same dbb in SS that will be >> definitely not very convenient. > SS rely on file name when is looking if database is already opened?
Currently yes. The main reason is that inode is missing in NT. > Inode would be more > robust... > Yes, and in FB3 inode check was added. First of all to work correctly with hard-links. But present additional fle name check (case-sensitive, yes) helps to avoid races when one client creates database and another one tries to attach to it. I agree it's not good user's behaviour - but currently we deal even with it. On the other hand breaking it and returning no such file error may be not too awful. But we have dozens of related issues. In posix file differing only by case can coexist, and if yes - we should support that, we should be able to have different configs for that databases, etc. Unfortunately inode comparison does not work for not created yet databases, therefore we can't use only it everywhere. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel