/ Check-in [61a44961]
Login

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

Overview
Comment:Prevent a harmless unused variable warning when compiling with SQLITE_OMIT_TRACE.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:61a44961b5811c993ae8d4f820a21a0ee739fe5e88cbfe5e4190e0091912ca19
User & Date: drh 2018-01-24 12:14:43
Context
2018-01-24
13:15
Improved error message output when the btreeinfo.c extension is run in a connection that lacks sqlite_dbpage support. check-in: 461b0b81 user: drh tags: trunk
12:14
Prevent a harmless unused variable warning when compiling with SQLITE_OMIT_TRACE. check-in: 61a44961 user: drh tags: trunk
11:29
Fix a formatting issue in sqlite3_prepare_v3() documentation. No changes to code. check-in: 9e6066de user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/vdbe.c.

7103
7104
7105
7106
7107
7108
7109
7110
7111



7112
7113
7114
7115
7116
7117
7118
** first time they are evaluated for this run.
**
** If P3 is not zero, then it is an address to jump to if an SQLITE_CORRUPT
** error is encountered.
*/
case OP_Trace:
case OP_Init: {          /* jump */
  char *zTrace;
  int i;




  /* If the P4 argument is not NULL, then it must be an SQL comment string.
  ** The "--" string is broken up to prevent false-positives with srcck1.c.
  **
  ** This assert() provides evidence for:
  ** EVIDENCE-OF: R-50676-09860 The callback can compute the same text that
  ** would have been returned by the legacy sqlite3_trace() interface by







<

>
>
>







7103
7104
7105
7106
7107
7108
7109

7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
** first time they are evaluated for this run.
**
** If P3 is not zero, then it is an address to jump to if an SQLITE_CORRUPT
** error is encountered.
*/
case OP_Trace:
case OP_Init: {          /* jump */

  int i;
#ifndef SQLITE_OMIT_TRACE
  char *zTrace;
#endif

  /* If the P4 argument is not NULL, then it must be an SQL comment string.
  ** The "--" string is broken up to prevent false-positives with srcck1.c.
  **
  ** This assert() provides evidence for:
  ** EVIDENCE-OF: R-50676-09860 The callback can compute the same text that
  ** would have been returned by the legacy sqlite3_trace() interface by