14.03.2016 10:13, Alex Peshkoff wrote:
> There is a least one reason why expansion is needed (I have no idea how
> can it be avoided) in yvalve. "Providers" config parameter is
> per-database configurable, i.e. to have correct list of providers yvalve
> needs to load database specific configuration which is impossible
> without filename expansion cause in databases.conf expanded filenames
> are used.

   Ok, check me, please: in following code, if alias was found, you forget 
about that and 
feed original database name to providers. If it wasn't alias but a regular file 
expansion 
from current dir or environment ISC_PATH, you use expanded file name. Why?

> if (expandDatabaseName(orgFilename, expandedFilename, &config))
> {
>       expandedFilename = orgFilename;
> }

-- 
   WBR, SD.

------------------------------------------------------------------------------
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to