- Functions that use an output argument shouldn't return anything.
- Signal null output blob if the engine understands it.
- Make input parameter const except in some cases where the library plays with input params using internal engine knowledge (not recommended for general usage).
- The old ib_udf.sql works as always with ib_udf.c
- You can use ib_udf.cpp with the old ib_udf.sql, but it won't detect NULL
- You must use ib_udf2.sql ONLY with ib_udf.cpp and will have complete functionality
- You can point your build schema to use ib_udf.cpp instead of ib_udf.c
- The changes are backward compatible, except for the detection of NULL that needs the new DDL declarations.
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds
o use predefined macros to test for sys/wait.h, time.h and sys/time.h
o search strcasecmp in libresolv only if strcasecmp and stricmp are not in libc
o use predefined macro AC_SYS_LARGEFILE to determine 64Bit I/O
o determine the alignment of long and double (ALIGNMENT,DOUBLE_ALIGN),
still need to write a test for FB_ALIGN!
o check for the availability in configure
o check for the number of arguments in configure
o synchronised config.h.in and MSVC pendant
NOTE: If you have problems on your system, don't change the source.
Extend the tests in configure.in!!!