select test(-1) from rdb$database;
TEST
=====================
-281470681743361
When data type converter adding, data type changing, but length of data not updated (int was 4 as returned from engine, but long is 8 as want plugin), so part of data in message buffer overwritten by null flag.
Example:
When data type converter adding, data type changing, but length of data not updated (int was 4 as returned from engine, but long is 8 as want plugin), so part of data in message buffer overwritten by null flag.