From 3958f90edd4fcce95f02cec46ae0dcd6341c52ae Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Wed, 1 May 2013 08:56:23 +0000 Subject: [PATCH] sqlite 3.7.16.2 --- Changes | 3 ++- sqlite3.c | 8 ++++---- sqlite3.h | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Changes b/Changes index 059c81f..b35a359 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Changes for Perl extension DBD-SQLite -1.38_03 (or 1.39) to be released +1.38_03 to be released *** NOTICE ON QUERY OPTIMIZER ENHANCEMENT *** - As of SQLite 3.7.15, SQLite's query optimizer was enhanced and the result order of a SELECT statement without an ORDER @@ -9,6 +9,7 @@ Changes for Perl extension DBD-SQLite on the arbitrary output order, they may be broken with this enhancement. + - Updated to SQLite 3.7.16.2 (ISHIGAKI) - Fixed tests that mistakenly made invalid assumptions about the result order (ISHIGAKI) - Added a brief note on useful pragmata. (ISHIGAKI) diff --git a/sqlite3.c b/sqlite3.c index 37ee4ad..51e54a1 100644 --- a/sqlite3.c +++ b/sqlite3.c @@ -1,6 +1,6 @@ /****************************************************************************** ** This file is an amalgamation of many separate C source files from SQLite -** version 3.7.16.1. By combining all the individual C code files into this +** version 3.7.16.2. By combining all the individual C code files into this ** single large file, the entire code can be compiled as a single translation ** unit. This allows many compilers to do optimizations that would not be ** possible if the files were compiled separately. Performance improvements @@ -678,9 +678,9 @@ extern "C" { ** [sqlite3_libversion_number()], [sqlite3_sourceid()], ** [sqlite_version()] and [sqlite_source_id()]. */ -#define SQLITE_VERSION "3.7.16.1" +#define SQLITE_VERSION "3.7.16.2" #define SQLITE_VERSION_NUMBER 3007016 -#define SQLITE_SOURCE_ID "2013-03-29 13:44:34 527231bc67285f01fb18d4451b28f61da3c4e39d" +#define SQLITE_SOURCE_ID "2013-04-12 11:52:43 cbea02d93865ce0e06789db95fd9168ebac970c7" /* ** CAPI3REF: Run-Time Library Version Numbers @@ -32792,7 +32792,7 @@ static int winCheckReservedLock(sqlite3_file *id, int *pResOut){ rc = 1; OSTRACE(("TEST WR-LOCK %d %d (local)\n", pFile->h, rc)); }else{ - rc = winLockFile(&pFile->h, SQLITE_LOCKFILE_FLAGS, RESERVED_BYTE, 0, 1, 0); + rc = winLockFile(&pFile->h, SQLITE_LOCKFILEEX_FLAGS,RESERVED_BYTE, 0, 1, 0); if( rc ){ winUnlockFile(&pFile->h, RESERVED_BYTE, 0, 1, 0); } diff --git a/sqlite3.h b/sqlite3.h index 1332eb1..69b4586 100644 --- a/sqlite3.h +++ b/sqlite3.h @@ -107,9 +107,9 @@ extern "C" { ** [sqlite3_libversion_number()], [sqlite3_sourceid()], ** [sqlite_version()] and [sqlite_source_id()]. */ -#define SQLITE_VERSION "3.7.16.1" +#define SQLITE_VERSION "3.7.16.2" #define SQLITE_VERSION_NUMBER 3007016 -#define SQLITE_SOURCE_ID "2013-03-29 13:44:34 527231bc67285f01fb18d4451b28f61da3c4e39d" +#define SQLITE_SOURCE_ID "2013-04-12 11:52:43 cbea02d93865ce0e06789db95fd9168ebac970c7" /* ** CAPI3REF: Run-Time Library Version Numbers