Here's the results. Looks like it's leaking even with UDR.

I used Firebird-4.0.0.2496-1-x64-pdb. Only initialized security database. 
Nothing else. 

MemoryDemo plugin (https://snipboard.io/AmZ5I7.jpg):
Function `isLeapYear` from `udr_compat` (https://snipboard.io/yIDAMZ.jpg):
Either the [1] or [2] was executed for the test.

[1]:
while ($true) {
'select test() from rdb$database where 0=1;' | & $isql -u sysdba -p masterkey 
'localhost:memory.fdb';
}

[2]:
while ($true) {
'select isLeapYear(current_timestamp) from rdb$database where 0=1;' | & $isql 
-u sysdba -p masterkey 'localhost:memory.fdb';
}

In case somebody wants to try it, here's 
https://www.uschovna.cz/zasilka/MTSA3D3G4BPT3BYY-I8V/ the whole setup.

-- 
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

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

Reply via email to