On 12/14/2015 05:53 PM, Dimitry Sibiryakov wrote: > 14.12.2015 15:48, Alex Peshkoff wrote: >> On 12/14/2015 05:42 PM, Dimitry Sibiryakov wrote: >>> 14.12.2015 15:39, Alex Peshkoff wrote: >>>>>> Routine? not routine, but parameter in DPB makes it possible to decrease >>>>>>>> cache size. >>>>>> If you make the routine to work with already loaded database, >>>>>> these parameters will be >>>>>> already applied before it is called, no? >>>>>> >>>> No. >>> Cannot be the routine called after they are applied? >> What routine? > mapUser() >
No. To change (or not) cache settings we need to know whether current user has DBO rights or not. And this becomes known only after the call to mapUser. But forget it - looks like the only possible way to go is to reuse mapping attachment when possible - i.e. when setting for cache size is not changed. ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel