Sandro Santilli

Results 178 issues of Sandro Santilli

See http://editorconfig.org

Reported errors are: Mismatched free() / delete / delete []

This is only done in sqlparser/ and sqlines/ dirs, as they were the only place I needed for now. Example usage: make CXXFLAGS="-fpermissive -g" NOTE: -fpermissive is needed with gcc...

or so it looks by lack of feedback or any other action against any of the old contributions. I file this ticket aiming to gather interest in an active fork...

This valid Informix function does not convert correctly to PostgreSQL: ``` CREATE FUNCTION test_returning() RETURNING VARCHAR(3), VARCHAR(3) ; RETURN '0','1'; END FUNCTION ``` The output shows some memory issue too,...

In informix you can use double-quotes to wrap literal values containing single quotes, but in PostgreSQL double-quotes are only for identifiers, never for literal. In PostgreSQL you can use dollar-quoting...

PostgreSQL plpgsql does not support `ELIF`, but such construct is kept unconverted when going from Informix to PostgreSQL.

sqlines exits with code 244 when it succeeds, scripts would expect a 0 instead

This informix function: ``` CREATE FUNCTION cf_cde_ParseRight( avc_ref VARCHAR(100) ) RETURNS VARCHAR(100) WITH (NOT VARIANT); DEFINE li_pos INTEGER; DEFINE lvc_return VARCHAR(100); LET lvc_return = UPPER(TRIM(avc_ref)); IF NVL( lvc_return, '' )...

An Informix function like this: ``` CREATE FUNCTION crs_upperAnsi(avc VARCHAR(255) ) RETURNING VARCHAR(255) AS normalised WITH (NOT VARIANT); -- Call function for macron and case insensitive functional indexes RETURN cf_ccl_upperAnsi(avc);...