diff options
author | drh <drh@noemail.net> | 2007-01-26 19:04:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2007-01-26 19:04:00 +0000 |
commit | 0ee5a1e763edd6133130d2e7b4d471aa9dead12f (patch) | |
tree | 2cc54c5eb7f8a0d93d585d7c32a7c2bb6fcb339b /src | |
parent | e31a1fb018db7ea108004e29904061046bf5080f (diff) | |
download | sqlite-0ee5a1e763edd6133130d2e7b4d471aa9dead12f.tar.gz sqlite-0ee5a1e763edd6133130d2e7b4d471aa9dead12f.zip |
Fix a (harmless) assertion fault on nested views where the inner views
are compound selects. Ticket #2192. (CVS 3605)
FossilOrigin-Name: 942e7193bbf1ffe9a703891d175e016631e2ad5c
Diffstat (limited to 'src')
-rw-r--r-- | src/select.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c index 343a30558..9e3833629 100644 --- a/src/select.c +++ b/src/select.c @@ -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; } } |