1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Add a "const" declaration to a constant. Fix a typo in a comment. (CVS 2438)

FossilOrigin-Name: 67aaa269068ea6b6f784979c09b3deb091928563
This commit is contained in:
drh
2005-03-31 22:26:19 +00:00
parent 4fb90f2bff
commit 9a7e60865d
4 changed files with 11 additions and 11 deletions

View File

@@ -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.

View File

@@ -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),