TODO note

Change-Id: I1b310119c08052949e975bfa3838e229d4e140b2
This commit is contained in:
Lionel Elie Mamane
2013-07-10 02:58:01 +02:00
parent c9a8f238e0
commit 83076c22e1

View File

@@ -589,6 +589,13 @@ const OSQLParseNode* OSQLParseTreeIterator::getTableNode( OSQLTables& _rTables,
if ( SQL_ISRULE( pQueryExpression, select_statement ) )
{
getSelect_statement( *m_pImpl->m_pSubTables, pQueryExpression );
// LEM TODO: now, we need to setup a OSQLTable from pQueryExpression in some way
// and stick it in _rTables[rTableRange]. Probably fake it by
// setting up a full OSQLParseTreeIterator on pQueryExpression
// and using its m_aSelectColumns
// This is necessary in stuff like "SELECT * FROM tbl1 INNER JOIN (SELECT foo, bar FROM tbl2) AS tbl3"
// so that setSelectColumnName() can expand the "*" correctly.
// See e.g. R_UserAndLastSubscription query of https://bugs.freedesktop.org/attachment.cgi?id=71871
}
else
{