/ Check-in [5f6559ee]
Login

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

Overview
Comment::-) (CVS 137)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5f6559ee7b82eb18078ddbb14d815d0ae0c7ff50
User & Date: drh 2000-08-22 13:27:22
Context
2000-08-22
13:40
:-) (CVS 138) check-in: c6b71d9b user: drh tags: trunk
13:27
:-) (CVS 137) check-in: 5f6559ee user: drh tags: trunk
2000-08-20
11:42
bug fix in lemon (CVS 136) check-in: 6f4c0807 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to VERSION.

     1         -1.0.1
            1  +1.0.2

Changes to src/shell.c.

    20     20   **   drh@hwaci.com
    21     21   **   http://www.hwaci.com/drh/
    22     22   **
    23     23   *************************************************************************
    24     24   ** This file contains code to implement the "sqlite" command line
    25     25   ** utility for accessing SQLite databases.
    26     26   **
    27         -** $Id: shell.c,v 1.21 2000/08/17 09:50:00 drh Exp $
           27  +** $Id: shell.c,v 1.22 2000/08/22 13:27:22 drh Exp $
    28     28   */
    29     29   #include <stdlib.h>
    30     30   #include <string.h>
    31     31   #include <stdio.h>
    32     32   #include "sqlite.h"
    33     33   #include <unistd.h>
    34     34   #include <ctype.h>
................................................................................
   664    664         if( zErrMsg ){
   665    665           fprintf(stderr,"Unable to open database \"%s\": %s\n", argv[1],zErrMsg);
   666    666         }else{
   667    667           fprintf(stderr,"Unable to open database %s\n", argv[1]);
   668    668         }
   669    669         exit(1);
   670    670       }else{
   671         -      printf("Database \"%s\" opened READ ONLY!\n", argv[1]);
          671  +      fprintf(stderr,"Database \"%s\" opened READ ONLY!\n", argv[1]);
   672    672       }
   673    673     }
   674    674     data.out = stdout;
   675    675     if( argc==3 ){
   676    676       if( sqlite_exec(db, argv[2], callback, &data, &zErrMsg)!=0 && zErrMsg!=0 ){
   677    677         fprintf(stderr,"SQL error: %s\n", zErrMsg);
   678    678         exit(1);

Changes to www/changes.tcl.

    12     12   }
    13     13   
    14     14   
    15     15   proc chng {date desc} {
    16     16     puts "<DT><B>$date</B></DT>"
    17     17     puts "<DD><P><UL>$desc</UL></P></DD>"
    18     18   }
           19  +
           20  +chng {2000 Aug 22 (Version 1.0.2)} {
           21  +<li>In the sqlite shell, print the "Database opened READ ONLY" message
           22  +    to stderr instead of stdout.</li>
           23  +}
    19     24   
    20     25   chng {2000 Aug 18 (Version 1.0.1)} {
    21     26   <li>Fix a bug in the configure script.</li>
    22     27   <li>Minor revisions to the website.</li>
    23     28   }
    24     29   
    25     30   chng {2000 Aug 17 (Version 1.0)} {