diff options
author | drh <drh@noemail.net> | 2002-05-24 20:31:36 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-05-24 20:31:36 +0000 |
commit | ad2d8307aceaab85fbf827338bb8274dbf7c36de (patch) | |
tree | 395e637217bbb2bd29cb3ff7074f66dbaca9f054 /src/sqliteInt.h | |
parent | 01f3f2537602bbae6bafc18610ecba40592c68e1 (diff) | |
download | sqlite-ad2d8307aceaab85fbf827338bb8274dbf7c36de.tar.gz sqlite-ad2d8307aceaab85fbf827338bb8274dbf7c36de.zip |
Initial implementation of LEFT OUTER JOIN including the expanded SQL92 join
syntax. The basic functionality is there but there is still a lot of testing
to do. (CVS 587)
FossilOrigin-Name: 99bd1f5b9a1a20bfeefe15c00d96a34a5f40923e
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index c413b5298..d323174e7 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.114 2002/05/24 16:14:15 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.115 2002/05/24 20:31:37 drh Exp $ */ #include "sqlite.h" #include "hash.h" @@ -481,6 +481,8 @@ struct WhereLevel { int brk; /* Jump here to break out of the loop */ int cont; /* Jump here to continue with the next loop cycle */ int op, p1, p2; /* Opcode used to terminate the loop */ + int iLeftJoin; /* Memory cell used to implement LEFT OUTER JOIN */ + int top; /* First instruction of interior of the loop */ }; /* @@ -797,6 +799,7 @@ void sqliteDropTable(Parse*, Token*, int); void sqliteDeleteTable(sqlite*, Table*); void sqliteInsert(Parse*, Token*, ExprList*, Select*, IdList*, int); IdList *sqliteIdListAppend(IdList*, Token*); +int sqliteIdListIndex(IdList*,const char*); SrcList *sqliteSrcListAppend(SrcList*, Token*); void sqliteSrcListAddAlias(SrcList*, Token*); void sqliteIdListDelete(IdList*); |