sqlparser/informix.cpp
// Define the name of parameter or column to be used for RETURNING value
Define the name of parameter or column to be used for RETURNING value
Define the name of parameter or column to be used for RETURNING value
void SqlParser::InformixGetReturningName(Token *retvalue, TokenStr &name, const char *prefix, 
											const wchar_t *wprefix, size_t plen, int num, bool always_prefix)
{
	if(retvalue == NULL)
		return;
	if(retvalue->type == TOKEN_STRING)
	{
		name.Append(prefix, wprefix, plen);
		name.Append(num);
	}
	else
	{
		if(always_prefix == true)
			name.Append(prefix, wprefix, plen);
		name.Append(retvalue);
	}
}
void SqlParser :: InformixGetReturningName ( Token * retvalue , TokenStr & name , const char * prefix , const wchar_t * wprefix , size_t plen , int num , bool always_prefix ) { if ( retvalue == NULL ) return ; if ( retvalue -> type == TOKEN_STRING ) { name . Append ( prefix , wprefix , plen ) ; name . Append ( num ) ; } else { if ( always_prefix == true ) name . Append ( prefix , wprefix , plen ) ; name . Append ( retvalue ) ; } }
Define the name of parameter or column to be used for RETURNING value
Define the name of parameter or column to be used for RETURNING value
// String literal in return value // Use prefix and order number instead of literal