Upgrade SQLite from version 3.4.1 to version 3.4.2; patch by sdwilsh, r=sspitzer, a=bsmedberg

git-svn-id: svn://10.0.0.236/trunk@235994 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org 2007-09-14 20:46:32 +00:00
parent e3a6bee18d
commit 89af1bf829
3 changed files with 590 additions and 601 deletions

View File

@ -1,8 +1,7 @@
This is sqlite 3.4.1
This is sqlite 3.4.2
This version has some security stuff dealing with the upper
bounds of data types. See the change log for more details:
http://www.sqlite.org/changes.html#version_3_4_1
See the change log for more details:
http://www.sqlite.org/changes.html#version_3_4_2
-- Shawn Wilsher <me@shawnwilsher.com> 08/2007
@ -18,7 +17,7 @@ Simply copy the sqlite3.h and sqlite3.c files from the amalgamation of sqlite.
They you need to update sqlite3file.h, which pulls out random bits of the
internal files that we need to export. If any of these internal structures
change, they need to be changed in sqlite3file.h as well. This may involve
downloading the whole souce (not the amalgamation) to check.
downloading the whole source (not the amalgamation) to check.
-- Shawn Wilsher <me@shawnwilsher.com> 06/2007

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,7 @@
** the version number) and changes its name to "sqlite3.h" as
** part of the build process.
**
** @(#) $Id: sqlite.h.in,v 1.218 2007/07/19 12:41:40 drh Exp $
** @(#) $Id: sqlite.h.in,v 1.219 2007/08/08 12:11:21 drh Exp $
*/
#ifndef _SQLITE3_H_
#define _SQLITE3_H_
@ -43,6 +43,13 @@
extern "C" {
#endif
/*
** Add the ability to override 'extern'
*/
#ifndef SQLITE_EXTERN
# define SQLITE_EXTERN extern
#endif
/*
** Make sure these symbols where not defined by some previous header
** file.
@ -81,8 +88,8 @@ extern "C" {
**
** See also: [sqlite3_libversion()] and [sqlite3_libversion_number()].
*/
#define SQLITE_VERSION "3.4.1"
#define SQLITE_VERSION_NUMBER 3004001
#define SQLITE_VERSION "3.4.2"
#define SQLITE_VERSION_NUMBER 3004002
/*
** CAPI3REF: Run-Time Library Version Numbers
@ -100,7 +107,7 @@ extern "C" {
** is provided for DLL users who can only access functions and not
** constants within the DLL.
*/
extern const char sqlite3_version[];
SQLITE_EXTERN const char sqlite3_version[];
const char *sqlite3_libversion(void);
int sqlite3_libversion_number(void);
@ -2020,7 +2027,7 @@ int sqlite3_sleep(int);
** it is not safe to invoke this routine after [sqlite3_open()] has
** been called.
*/
extern char *sqlite3_temp_directory;
SQLITE_EXTERN char *sqlite3_temp_directory;
/*
** CAPI3REF: Test To See If The Databse Is In Auto-Commit Mode