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:
dsandersoremutah
2006-07-20 22:38:00 +00:00
parent f717f55dd9
commit 6adb693947

View File

@@ -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;
}
}
}