Hi,
It seems that IUtil.formatStatus() needs a minimal buffer size of 50 because 
of src/yvalve/gds.cpp:749
"
static SLONG safe_interpret(char* const s, const FB_SIZE_T bufsize,
        const ISC_STATUS** const vector, bool legacy)
{
        // CVC: It doesn't make sense to provide a buffer smaller than 50 bytes.
        // Return error otherwise.
        if (bufsize < 50)
                return 0;
"
Maybe that minimal size should be documented in the interface description 
because we can not distinguish between empty message text and too small 
buffer in this case.

Martin

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

Reply via email to