1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Finish incomplete edit of resolve.c from check-in (5998). (CVS 6000)

FossilOrigin-Name: 0d7e150e8c6cb801e68273c9d0793ce31d1f31fd
This commit is contained in:
drh
2008-12-09 14:03:22 +00:00
parent e1991d2a8d
commit cd2b561302
3 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@
** resolve all identifiers by associating them with a particular
** table and column.
**
** $Id: resolve.c,v 1.12 2008/12/09 13:04:29 drh Exp $
** $Id: resolve.c,v 1.13 2008/12/09 14:03:22 drh Exp $
*/
#include "sqliteInt.h"
#include <stdlib.h>
@ -963,7 +963,7 @@ static int resolveSelectStep(Walker *pWalker, Select *p){
if( pItem->pSelect ){
const char *zSavedContext = pParse->zAuthContext;
if( pItem->zName ) pParse->zAuthContext = pItem->zName;
sqlite3ResolveSelectNames(pParse, pItem->pSelect, pOuterNC /*&sNC*/);
sqlite3ResolveSelectNames(pParse, pItem->pSelect, pOuterNC);
pParse->zAuthContext = zSavedContext;
if( pParse->nErr || db->mallocFailed ) return WRC_Abort;
}