/ Check-in [42687d45]
Login

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

Overview
Comment:Improvements to the ".eqp trace" command in the CLI so that it ensures that the schema has been read prior to activing the tracing feature, to avoid cluttering the output with a trace of the schema parse.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 42687d45aa1a2b2a32ddfc5711b4ae9cf76b8cfbeb20b57d6705ecaf5824fcb6
User & Date: drh 2019-01-27 19:50:56
Context
2019-01-28
00:42
Change the definition of the BtCursor.skipNext field so that it is undefined for states CURSOR_VALID and CURSOR_INVALID. check-in: 6089d5db user: drh tags: trunk
2019-01-27
19:50
Improvements to the ".eqp trace" command in the CLI so that it ensures that the schema has been read prior to activing the tracing feature, to avoid cluttering the output with a trace of the schema parse. check-in: 42687d45 user: drh tags: trunk
02:45
New test cases form dbsqlfuzz check-in: 9cf8ebd1 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

  6283   6283         }else if( strcmp(azArg[1],"test")==0 ){
  6284   6284           p->autoEQP = AUTOEQP_on;
  6285   6285           p->autoEQPtest = 1;
  6286   6286         }else if( strcmp(azArg[1],"trace")==0 ){
  6287   6287           p->autoEQP = AUTOEQP_full;
  6288   6288           p->autoEQPtrace = 1;
  6289   6289           open_db(p, 0);
  6290         -        (void)sqlite3_table_column_metadata(p->db, "x","x",0,0,0,0,0,0);
         6290  +        sqlite3_exec(p->db, "SELECT name FROM sqlite_master LIMIT 1", 0, 0, 0);
  6291   6291           sqlite3_exec(p->db, "PRAGMA vdbe_trace=ON;", 0, 0, 0);
  6292   6292   #endif
  6293   6293         }else{
  6294   6294           p->autoEQP = (u8)booleanValue(azArg[1]);
  6295   6295         }
  6296   6296       }else{
  6297   6297         raw_printf(stderr, "Usage: .eqp off|on|trace|trigger|full\n");