sqlparser/functions.cpp
// Unknown function (probably use-defined)
Unknown function (probably use-defined)
Unknown function ( probably use - defined )
bool SqlParser::ParseUnknownFunction(Token *name, Token * )
{
	if(name == NULL)
		return false;
	while(true)
	{
		Token *next = GetNextToken();
		if(next == NULL || next->Compare(')', L')') == true)
			break;
		ParseExpression(next);
		Token *comma = GetNextCharToken(',', L',');
		if(comma == NULL)
			break;
	}
	Token *close = GetNextCharToken(')', L')');
	return (close != NULL) ? true : false;
}
bool SqlParser :: ParseUnknownFunction ( Token * name , Token * ) { if ( name == NULL ) return false ; while ( true ) { Token * next = GetNextToken ( ) ; if ( next == NULL || next -> Compare ( ' ' , L' ' ) == true ) break ; ParseExpression ( next ) ; Token * comma = GetNextCharToken ( ' ' , L' ' ) ; if ( comma == NULL ) break ; } Token * close = GetNextCharToken ( ' ' , L' ' ) ; return ( close != NULL ) ? true : false ; }
Unknown function (probably use-defined)
Unknown function ( probably use - defined )
/*open*/ // Handle comma separated expressions until ) // Must be comma // Must be close (