1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a (harmless) assertion fault on nested views where the inner views

are compound selects.  Ticket #2192. (CVS 3605)

FossilOrigin-Name: 942e7193bbf1ffe9a703891d175e016631e2ad5c
This commit is contained in:
drh
2007-01-26 19:04:00 +00:00
parent e31a1fb018
commit 0ee5a1e763
4 changed files with 146 additions and 8 deletions

View File

@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle SELECT statements in SQLite.
**
** $Id: select.c,v 1.323 2006/12/16 16:25:15 drh Exp $
** $Id: select.c,v 1.324 2007/01/26 19:04:00 drh Exp $
*/
#include "sqliteInt.h"
@@ -1936,6 +1936,7 @@ static int multiSelect(
}
sqlite3VdbeChangeP2(v, addr, nCol);
sqlite3VdbeChangeP3(v, addr, (char*)pKeyInfo, P3_KEYINFO);
pLoop->addrOpenEphm[i] = -1;
}
}