mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-08 03:22:21 +03:00
Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** This file contains routines used for analyzing expressions and
|
||||
** for generating VDBE code that evaluates expressions in SQLite.
|
||||
**
|
||||
** $Id: expr.c,v 1.253 2006/01/30 14:36:59 drh Exp $
|
||||
** $Id: expr.c,v 1.254 2006/02/10 07:07:15 danielk1977 Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <ctype.h>
|
||||
@@ -495,6 +495,7 @@ SrcList *sqlite3SrcListDup(SrcList *p){
|
||||
pNewItem->zAlias = sqliteStrDup(pOldItem->zAlias);
|
||||
pNewItem->jointype = pOldItem->jointype;
|
||||
pNewItem->iCursor = pOldItem->iCursor;
|
||||
pNewItem->isPopulated = pOldItem->isPopulated;
|
||||
pTab = pNewItem->pTab = pOldItem->pTab;
|
||||
if( pTab ){
|
||||
pTab->nRef++;
|
||||
|
||||
Reference in New Issue
Block a user