SQLite
Check-in [4f106123]
Not logged in
Overview
SHA1 Hash:4f1061230e0e5a66038a4db99f1ee6203e4d2b9f
Date: 2012-10-30 14:44:14
User: drh
Comment:Fix a typo in the header comment for the OpenPseudo opcode.
Tags And Properties
Context
2012-10-30
15:31
[f83aa0de] Closed-Leaf: Make sure that the optimizer never tries to create an automatic index on a coroutine subquery. (user: drh, tags: subquery-as-coroutine)
14:44
[4f106123] Fix a typo in the header comment for the OpenPseudo opcode. (user: drh, tags: subquery-as-coroutine)
14:39
[564631f3] Make it possible to disable the subquery-by-coroutine optimization using sqlite3_test_control(). Remove an always-false conditional. (user: drh, tags: subquery-as-coroutine)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vdbe.c

3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
#else
  pOp->opcode = OP_OpenEphemeral;
  pc--;
#endif
  break;
}

/* Opcode: OpenPseudo P1 P2 P3 * *
**
** Open a new cursor that points to a fake table that contains a single
** row of data.  The content of that one row in the content of memory
** register P2 when P5==0.  In other words, cursor P1 becomes an alias for the 
** MEM_Blob content contained in register P2.  When P5==1, then the
** row is represented by P3 consecutive registers beginning with P2.
**







|







3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
#else
  pOp->opcode = OP_OpenEphemeral;
  pc--;
#endif
  break;
}

/* Opcode: OpenPseudo P1 P2 P3 * P5
**
** Open a new cursor that points to a fake table that contains a single
** row of data.  The content of that one row in the content of memory
** register P2 when P5==0.  In other words, cursor P1 becomes an alias for the 
** MEM_Blob content contained in register P2.  When P5==1, then the
** row is represented by P3 consecutive registers beginning with P2.
**