SQLite

Check-in [6b9056364e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment::-) (CVS 33)
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6b9056364e62cff017447ea979bb29dc78fb9f73
User & Date: drh 2000-06-01 11:16:52.000
Context
2000-06-02
01:17
:-) (CVS 34) (check-in: 52338f4ab5 user: drh tags: trunk)
2000-06-01
11:16
:-) (CVS 33) (check-in: 6b9056364e user: drh tags: trunk)
00:04
:-) (CVS 32) (check-in: 81bee278dc user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/vdbe.c.
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
** inplicit conversion from one type to the other occurs as necessary.
** 
** Most of the code in this file is taken up by the sqliteVdbeExec()
** function which does the work of interpreting a VDBE program.
** But other routines are also provided to help in building up
** a program instruction by instruction.
**
** $Id: vdbe.c,v 1.5 2000/05/31 20:00:53 drh Exp $
*/
#include "sqliteInt.h"

/*
** SQL is translated into a sequence of instructions to be
** executed by a virtual machine.  Each instruction is an instance
** of the following structure.







|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
** inplicit conversion from one type to the other occurs as necessary.
** 
** Most of the code in this file is taken up by the sqliteVdbeExec()
** function which does the work of interpreting a VDBE program.
** But other routines are also provided to help in building up
** a program instruction by instruction.
**
** $Id: vdbe.c,v 1.6 2000/06/01 11:16:52 drh Exp $
*/
#include "sqliteInt.h"

/*
** SQL is translated into a sequence of instructions to be
** executed by a virtual machine.  Each instruction is an instance
** of the following structure.
1589
1590
1591
1592
1593
1594
1595

1596
1597
1598
1599
1600
1601
1602
            j = -1;
            pc = pOp->p2;
            if( pc<0 || pc>p->nOp ){
              sqliteSetString(pzErrMsg, "jump destination out of range", 0);
              rc = 1;
            }
            pc--;

          }
          p->aTab[i].index = j+1;
        }
        break;
      }

      /* Opcode: PutIdx P1 * *







>







1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
            j = -1;
            pc = pOp->p2;
            if( pc<0 || pc>p->nOp ){
              sqliteSetString(pzErrMsg, "jump destination out of range", 0);
              rc = 1;
            }
            pc--;
            PopStack(p, 1);
          }
          p->aTab[i].index = j+1;
        }
        break;
      }

      /* Opcode: PutIdx P1 * *