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

This commit is contained in:
dmose@mozilla.org 2007-09-14 13:46:32 -07:00
Родитель 64ac003037
Коммит 0edc0f6a2e
3 изменённых файлов: 616 добавлений и 627 удалений

Просмотреть файл

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

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -30,7 +30,7 @@
** the version number) and changes its name to "sqlite3.h" as
** part of the build process.
**
** @(#) $Id: sqlite3.h,v 1.11 2007/08/02 15:24:51 sspitzer%mozilla.org Exp $
** @(#) $Id: sqlite3.h,v 1.12 2007/09/14 20:46:32 dmose%mozilla.org 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