Expand the cursor index in SrcList_item to 32-bits to accomodate really

huge VDBE programs resulting from deeply nested triggers.  This is an
interim fix until we rework triggers to use subroutines. (CVS 3640)

FossilOrigin-Name: 22769e2d37f4912ad388d2ed79f93571d0279fb8
This commit is contained in:
drh 2007-02-13 12:49:24 +00:00
parent 8e79d2577b
commit e68fbe7978
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Changed\smy\smind.\s\sConvert\s"GUID"\sback\sto\s"UUID".\s(CVS\s3639)
D 2007-02-13T02:12:02
C Expand\sthe\scursor\sindex\sin\sSrcList_item\sto\s32-bits\sto\saccomodate\sreally\nhuge\sVDBE\sprograms\sresulting\sfrom\sdeeply\snested\striggers.\s\sThis\sis\san\ninterim\sfix\suntil\swe\srework\striggers\sto\suse\ssubroutines.\s(CVS\s3640)
D 2007-02-13T12:49:24
F Makefile.in 7fa74bf4359aa899da5586e394d17735f221315f
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -97,7 +97,7 @@ F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
F src/shell.c d13ca007cd18192c07a668aeddcdd6a9fe639be9
F src/sqlite.h.in 6b7383baf76070214f6381f603328ca9b22a7fae
F src/sqlite3ext.h 011c75fd6459a61454514af07c7a4f1f5c767f27
F src/sqliteInt.h 650d05a8c530ee3c28ad8b19684d70f889458e60
F src/sqliteInt.h 409dfff7f08135017aa2dfb65245dfc7b1db7099
F src/table.c 6d0da66dde26ee75614ed8f584a1996467088d06
F src/tclsqlite.c cd2b3b86ab07c0e0779f6c6e71e72c6c7dc1e704
F src/test1.c cb314bfa3e9251b545fa3669ec80a8c8a0a86310
@ -432,7 +432,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P dddd31f4e09f1b83d9c8fb9280cdc5aff13855ca
R 6521be28831bb68fe765f37045ab2f8e
P c258840515de6ab16725d98dab6ae654d50bcc3c
R 33227a017c1f0fcd65890777836edae2
U drh
Z 8465afc60e38e845d356306e06ff0e5e
Z 4e71975dc2e9f561ed8938e994254a71

View File

@ -1 +1 @@
c258840515de6ab16725d98dab6ae654d50bcc3c
22769e2d37f4912ad388d2ed79f93571d0279fb8

View File

@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.535 2007/02/01 23:02:45 drh Exp $
** @(#) $Id: sqliteInt.h,v 1.536 2007/02/13 12:49:24 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@ -1113,7 +1113,7 @@ struct SrcList {
Select *pSelect; /* A SELECT statement used in place of a table name */
u8 isPopulated; /* Temporary table associated with SELECT is populated */
u8 jointype; /* Type of join between this able and the previous */
i16 iCursor; /* The VDBE cursor number used to access this table */
int iCursor; /* The VDBE cursor number used to access this table */
Expr *pOn; /* The ON clause of a join */
IdList *pUsing; /* The USING clause of a join */
Bitmask colUsed; /* Bit N (1<<N) set if column N or pTab is used */