Finished up parsing of ORDER BY clause - needed to look for commas between column specifiers.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@696 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -482,6 +482,19 @@ RCODE SQLStatement::processSelect( void)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// Token better be a comma
|
||||
|
||||
if (f_stricmp( szToken, ",") != 0)
|
||||
{
|
||||
setErrInfo( m_uiCurrLineNum,
|
||||
uiTokenLineOffset,
|
||||
SQL_ERR_EXPECTING_COMMA,
|
||||
m_uiCurrLineFilePos,
|
||||
m_uiCurrLineBytes);
|
||||
rc = RC_SET( NE_SFLM_INVALID_SQL);
|
||||
goto Exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user