Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | MinGW/MSYS build fixes; ticket #765 (CVS 1625) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
5f383c1ee1a2aec9e192f29528ec2a02 |
User & Date: | dougcurrie 2004-06-18 23:21:47.000 |
Context
2004-06-19
| ||
00:16 | Change the name of the TCL command from "sqlite" to "sqlite3" so that both SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626) (check-in: d705d051be user: drh tags: trunk) | |
2004-06-18
| ||
23:21 | MinGW/MSYS build fixes; ticket #765 (CVS 1625) (check-in: 5f383c1ee1 user: dougcurrie tags: trunk) | |
23:20 | MinGW/MSYS build fixes; ticket #765 (CVS 1624) (check-in: 3c6b9b41a6 user: dougcurrie tags: trunk) | |
Changes
Changes to src/pager.c.
︙ | ︙ | |||
14 15 16 17 18 19 20 | ** The pager is used to access a database disk file. It implements ** atomic commit and rollback through the use of a journal file that ** is separate from the database file. The pager also implements file ** locking to prevent two processes from writing the same database ** file simultaneously, or one process from reading the database while ** another is writing. ** | | | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ** The pager is used to access a database disk file. It implements ** atomic commit and rollback through the use of a journal file that ** is separate from the database file. The pager also implements file ** locking to prevent two processes from writing the same database ** file simultaneously, or one process from reading the database while ** another is writing. ** ** @(#) $Id: pager.c,v 1.132 2004/06/18 23:21:47 dougcurrie Exp $ */ #include "os.h" /* Must be first to enable large file support */ #include "sqliteInt.h" #include "pager.h" #include <assert.h> #include <string.h> |
︙ | ︙ | |||
2774 2775 2776 2777 2778 2779 2780 | pPager->state = PAGER_SYNCED; } sync_exit: return rc; } | | | 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 | pPager->state = PAGER_SYNCED; } sync_exit: return rc; } #if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) /* ** Return the current state of the file lock for the given pager. ** The return value is one of NO_LOCK, SHARED_LOCK, RESERVED_LOCK, ** PENDING_LOCK, or EXCLUSIVE_LOCK. */ int sqlite3pager_lockstate(Pager *pPager){ return pPager->fd.locktype; |
︙ | ︙ |
Changes to src/pragma.c.
1 2 3 4 5 6 7 8 9 10 11 12 13 | /* ** 2003 April 6 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* ** This file contains code used to implement the PRAGMA command. ** | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* ** 2003 April 6 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ************************************************************************* ** This file contains code used to implement the PRAGMA command. ** ** $Id: pragma.c,v 1.48 2004/06/18 23:21:47 dougcurrie Exp $ */ #include "sqliteInt.h" #include <ctype.h> #if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) # include "pager.h" # include "btree.h" #endif /* ** Interpret the given string as a boolean value. */ |
︙ | ︙ | |||
812 813 814 815 816 817 818 | sqlite3Error(pParse->db, SQLITE_ERROR, "Unsupported encoding: %s", zRight); } } } }else | | | 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 | sqlite3Error(pParse->db, SQLITE_ERROR, "Unsupported encoding: %s", zRight); } } } }else #if defined(SQLITE_DEBUG) || defined(SQLITE_TEST) /* ** Report the current state of file logs for all databases */ if( sqlite3StrICmp(zLeft, "lock_status")==0 ){ static char *azLockName[] = { "unlocked", "shared", "reserved", "pending", "exclusive" }; |
︙ | ︙ |