/ Check-in [775a02d5]
Login

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

Overview
Comment:Fix typo in shell error message.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 775a02d597549567a0634483525664643064b3fd
User & Date: mistachkin 2015-03-19 14:48:38
Context
2015-03-19
15:04
Add an assert() to check that the database mutex is held in sqlite3BtreeLeave(). check-in: 31f54d7b user: dan tags: trunk
14:48
Fix typo in shell error message. check-in: 775a02d5 user: mistachkin tags: trunk
13:30
Fix a bug in error handling in the ".trace" command of the command-line shell. check-in: 6a48b5d7 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/shell.c.

  2951   2951                         " for import\n");
  2952   2952         return 1;
  2953   2953       }
  2954   2954       sCtx.zFile = zFile;
  2955   2955       sCtx.nLine = 1;
  2956   2956       if( sCtx.zFile[0]=='|' ){
  2957   2957   #ifdef SQLITE_OMIT_POPEN
  2958         -      fprintf(stderr, "Error: pipes are not supporte in this OS\n");
         2958  +      fprintf(stderr, "Error: pipes are not supported in this OS\n");
  2959   2959         return 1;
  2960   2960   #else
  2961   2961         sCtx.in = popen(sCtx.zFile+1, "r");
  2962   2962         sCtx.zFile = "<pipe>";
  2963   2963         xCloser = pclose;
  2964   2964   #endif
  2965   2965       }else{