/ Check-in [2e5e6515]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Do not exit the command-line shell if a ".read" command invokes a script that contains two errors. But reported on the mailing list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2e5e65152758bc37439584ccba4c1b1c5ceb24f8
User & Date: drh 2012-12-01 20:21:22
Original Comment: Do not exist the command-line shell if a ".read" command invokes a script that contains two errors. But reported on the mailing list.
Context
2012-12-03
17:04
Make sure that the optimization that set the maximum column that will be used on a particular query does not mistakenly change an opcode other than OP_OpenRead or OP_OpenWrite. In particular, make sure it does not overwrite the P4 field of an OP_SorterOpen. check-in: b0c1ba65 user: drh tags: trunk
2012-12-01
20:21
Do not exit the command-line shell if a ".read" command invokes a script that contains two errors. But reported on the mailing list. check-in: 2e5e6515 user: drh tags: trunk
2012-11-29
14:26
Mark the "async" module as deprecated as its functionality has been superceded by WAL mode. This closes ticket [f46ca03b55ae0e] check-in: 3d548db7 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  2707   2707     if( zSql ){
  2708   2708       if( !_all_whitespace(zSql) ){
  2709   2709         fprintf(stderr, "Error: incomplete SQL: %s\n", zSql);
  2710   2710       }
  2711   2711       free(zSql);
  2712   2712     }
  2713   2713     free(zLine);
  2714         -  return errCnt;
         2714  +  return errCnt>0;
  2715   2715   }
  2716   2716   
  2717   2717   /*
  2718   2718   ** Return a pathname which is the user's home directory.  A
  2719   2719   ** 0 return indicates an error of some kind.
  2720   2720   */
  2721   2721   static char *find_home_dir(void){