/ Check-in [3afb7b35]
Login

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

Overview
Comment:Added missing error string to sqlite_error_string(). (CVS 1018)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3afb7b3586be81202c76692afea9d2b7a63b4b93
User & Date: jplyon 2003-06-12 08:59:01
Context
2003-06-14
11:42
Open the journal file for read-only when doing a playback. Ticket #351. (CVS 1019) check-in: 66ac7aea user: drh tags: trunk
2003-06-12
08:59
Added missing error string to sqlite_error_string(). (CVS 1018) check-in: 3afb7b35 user: jplyon tags: trunk
2003-06-10
02:46
Suppress the warning message about print_node() being unused in btree_rb.c. Ticket #347. (CVS 1017) check-in: b52f07e1 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/main.c.

    10     10   **
    11     11   *************************************************************************
    12     12   ** Main file for the SQLite library.  The routines in this file
    13     13   ** implement the programmer interface to the library.  Routines in
    14     14   ** other files are for internal use by SQLite and should not be
    15     15   ** accessed by users of the library.
    16     16   **
    17         -** $Id: main.c,v 1.134 2003/06/04 15:48:33 drh Exp $
           17  +** $Id: main.c,v 1.135 2003/06/12 08:59:01 jplyon Exp $
    18     18   */
    19     19   #include "sqliteInt.h"
    20     20   #include "os.h"
    21     21   #include <ctype.h>
    22     22   
    23     23   /*
    24     24   ** A pointer to this structure is used to communicate information
................................................................................
   741    741       case SQLITE_SCHEMA:     z = "database schema has changed";           break;
   742    742       case SQLITE_TOOBIG:     z = "too much data for one table row";       break;
   743    743       case SQLITE_CONSTRAINT: z = "constraint failed";                     break;
   744    744       case SQLITE_MISMATCH:   z = "datatype mismatch";                     break;
   745    745       case SQLITE_MISUSE:     z = "library routine called out of sequence";break;
   746    746       case SQLITE_NOLFS:      z = "kernel lacks large file support";       break;
   747    747       case SQLITE_AUTH:       z = "authorization denied";                  break;
          748  +    case SQLITE_FORMAT:     z = "auxiliary database format error";       break;
   748    749       default:                z = "unknown error";                         break;
   749    750     }
   750    751     return z;
   751    752   }
   752    753   
   753    754   /*
   754    755   ** This routine implements a busy callback that sleeps and tries