[Firebird-devel] SysFunctions returning non-null value for null input

2014-10-16 Thread Geoff Worboys
Hi, Building Firebird v2.5.3 from source, using msvc9 / Win32, trying to build a custom function into SysFunction. I've cut the problem down to the thing that's giving me trouble: I want to return a non-null value when when the input expression resolves to null. In the code below I'm just

Re: [Firebird-devel] SysFunctions returning non-null value for null input

2014-10-16 Thread Dmitry Yemanov
16.10.2014 14:55, Geoff Worboys wrote: I've cut the problem down to the thing that's giving me trouble: I want to return a non-null value when when the input expression resolves to null. In the code below I'm just trying to return a 0 (for the sake of the example). This executes but still

Re: [Firebird-devel] SysFunctions returning non-null value for null input

2014-10-16 Thread Geoff Worboys
Dmitry Yemanov wrote: 16.10.2014 14:55, Geoff Worboys wrote: I've cut the problem down to the thing that's giving me trouble: I want to return a non-null value when when the input expression resolves to null. In the code below I'm just trying to return a 0 (for the sake of the example).