mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Fix assertion for query with unused named window and no other window expression.
This commit is contained in:
parent
0ea61c13f8
commit
723c45904b
@ -1354,7 +1354,9 @@ void AggregateSourceNode::genBlr(DsqlCompilerScratch* dsqlScratch)
|
||||
|
||||
if (dsqlWindow)
|
||||
{
|
||||
fb_assert(dsqlContext->ctx_win_maps.hasData());
|
||||
// There may be unused named windows.
|
||||
//fb_assert(dsqlContext->ctx_win_maps.hasData());
|
||||
|
||||
dsqlScratch->appendUChar(dsqlContext->ctx_win_maps.getCount()); // number of windows
|
||||
|
||||
for (Array<WindowMap*>::iterator i = dsqlContext->ctx_win_maps.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user