diff options
author | drh <drh@noemail.net> | 2005-03-31 22:26:19 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-03-31 22:26:19 +0000 |
commit | 9a7e60865da5c3ecbff7b189a48a5bbfc4397d3c (patch) | |
tree | 9c9e97f43a0b773b78b8fc5064e30255f2fee57b /src | |
parent | 4fb90f2bff3f1e93573311806c51b3cc5b374649 (diff) | |
download | sqlite-9a7e60865da5c3ecbff7b189a48a5bbfc4397d3c.tar.gz sqlite-9a7e60865da5c3ecbff7b189a48a5bbfc4397d3c.zip |
Add a "const" declaration to a constant. Fix a typo in a comment. (CVS 2438)
FossilOrigin-Name: 67aaa269068ea6b6f784979c09b3deb091928563
Diffstat (limited to 'src')
-rw-r--r-- | src/sqlite.h.in | 4 | ||||
-rw-r--r-- | src/vdbeaux.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sqlite.h.in b/src/sqlite.h.in index 613b98b7d..fc4dfd682 100644 --- a/src/sqlite.h.in +++ b/src/sqlite.h.in @@ -12,7 +12,7 @@ ** This header file defines the interface that the SQLite library ** presents to client programs. ** -** @(#) $Id: sqlite.h.in,v 1.131 2005/03/21 04:04:03 danielk1977 Exp $ +** @(#) $Id: sqlite.h.in,v 1.132 2005/03/31 22:26:20 drh Exp $ */ #ifndef _SQLITE3_H_ #define _SQLITE3_H_ @@ -1224,7 +1224,7 @@ extern char *sqlite3_temp_directory; ** This function is called to recover from a malloc() failure that occured ** within the SQLite library. Normally, after a single malloc() fails the ** library refuses to function (all major calls return SQLITE_NOMEM). -** This function library state so that it can be used again. +** This function restores the library state so that it can be used again. ** ** All existing statements (sqlite3_stmt pointers) must be finalized or ** reset before this call is made. Otherwise, SQLITE_BUSY is returned. diff --git a/src/vdbeaux.c b/src/vdbeaux.c index e8a324e9c..2866c3f9b 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -191,7 +191,7 @@ static int opcodeNoPush(u8 op){ ** error if someone builds with an awk that uses (for example) 32-bit ** IEEE floats. */ - static u32 masks[5] = { + static const u32 masks[5] = { NOPUSH_MASK_0 + (NOPUSH_MASK_1<<16), NOPUSH_MASK_2 + (NOPUSH_MASK_3<<16), NOPUSH_MASK_4 + (NOPUSH_MASK_5<<16), |