/ Check-in [4183cf97]
Login

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

Overview
Comment:Removed 3rd (file) column from PRAGMA database_list until tests are fixed. (CVS 974)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4183cf97676e64d19978941a7c4a3fe521fcb1fb
User & Date: jplyon 2003-05-13 08:01:34
Context
2003-05-16
02:30
Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution specified by an index. This fixes a bug reported on the newsgroup. (CVS 975) check-in: 0f92736d user: drh tags: trunk
2003-05-13
08:01
Removed 3rd (file) column from PRAGMA database_list until tests are fixed. (CVS 974) check-in: 4183cf97 user: jplyon tags: trunk
01:52
Fix another twos-complement negation error. Ticket #313. (CVS 973) check-in: f267a8a4 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pragma.c.

     7      7   **    May you do good and not evil.
     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   *************************************************************************
    12     12   ** This file contains code used to implement the PRAGMA command.
    13     13   **
    14         -** $Id: pragma.c,v 1.7 2003/05/11 20:09:20 jplyon Exp $
           14  +** $Id: pragma.c,v 1.8 2003/05/13 08:01:34 jplyon Exp $
    15     15   */
    16     16   #include "sqliteInt.h"
    17     17   #include <ctype.h>
    18     18   
    19     19   /*
    20     20   ** Interpret the given string as a boolean value.
    21     21   */
................................................................................
   417    417     }else
   418    418   
   419    419     if( sqliteStrICmp(zLeft, "database_list")==0 ){
   420    420       int i;
   421    421       static VdbeOp indexListPreface[] = {
   422    422         { OP_ColumnName,  0, 0,       "seq"},
   423    423         { OP_ColumnName,  1, 0,       "name"},
   424         -      { OP_ColumnName,  2, 0,       "file"},
   425    424       };
   426    425   
   427    426       sqliteVdbeAddOpList(v, ArraySize(indexListPreface), indexListPreface);
   428    427       for(i=0; i<db->nDb; i++){
   429    428         if( db->aDb[i].pBt==0 ) continue;
   430    429         assert( db->aDb[i].zName!=0 );
   431    430         sqliteVdbeAddOp(v, OP_Integer, i, 0);
   432    431         sqliteVdbeAddOp(v, OP_String, 0, 0);
   433    432         sqliteVdbeChangeP3(v, -1, db->aDb[i].zName, P3_STATIC);
   434         -      sqliteVdbeAddOp(v, OP_String, 0, 0);
   435         -      sqliteVdbeChangeP3(v, -1, btOps(db->aDb[i].pBt)->GetFilename(db->aDb[i].pBt), P3_STATIC);
   436         -      sqliteVdbeAddOp(v, OP_Callback, 3, 0);
          433  +      sqliteVdbeAddOp(v, OP_Callback, 2, 0);
   437    434       }
   438    435     }else
   439    436     /*
   440    437     **   PRAGMA temp_store
   441    438     **   PRAGMA temp_store = "default"|"memory"|"file"
   442    439     **
   443    440     ** Return or set the local value of the temp_store flag.  Changing