1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-08 14:48:32 -04:00

Updated to SQLite 3.6.14.2

This commit is contained in:
Darren Duncan 2009-05-25 19:55:52 +00:00
parent 74efd983dc
commit e9b2f71e0e
3 changed files with 23 additions and 7 deletions

View file

@ -1,7 +1,7 @@
Changes for Perl extension DBD-SQLite Changes for Perl extension DBD-SQLite
1.26_02 to be released 1.26_02 to be released
- Updated to SQLite 3.6.14.1 (DUNCAND) - Updated to SQLite 3.6.14.2 (DUNCAND)
- Resolved #44882: Use of $h->func() should be deprecated and - Resolved #44882: Use of $h->func() should be deprecated and
replaced with calls to driver-private 'installed methods' replaced with calls to driver-private 'installed methods'
(ISHIGAKI) (ISHIGAKI)

View file

@ -1,6 +1,6 @@
/****************************************************************************** /******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite ** This file is an amalgamation of many separate C source files from SQLite
** version 3.6.14.1. By combining all the individual C code files into this ** version 3.6.14.2. By combining all the individual C code files into this
** single large file, the entire code can be compiled as a one translation ** single large file, the entire code can be compiled as a one translation
** unit. This allows many compilers to do optimizations that would not be ** unit. This allows many compilers to do optimizations that would not be
** possible if the files were compiled separately. Performance improvements ** possible if the files were compiled separately. Performance improvements
@ -17,7 +17,7 @@
** is also in a separate file. This file contains only code for the core ** is also in a separate file. This file contains only code for the core
** SQLite library. ** SQLite library.
** **
** This amalgamation was generated on 2009-05-18 18:33:54 UTC. ** This amalgamation was generated on 2009-05-25 12:34:31 UTC.
*/ */
#define SQLITE_CORE 1 #define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1 #define SQLITE_AMALGAMATION 1
@ -601,7 +601,7 @@ extern "C" {
** **
** Requirements: [H10011] [H10014] ** Requirements: [H10011] [H10014]
*/ */
#define SQLITE_VERSION "3.6.14.1" #define SQLITE_VERSION "3.6.14.2"
#define SQLITE_VERSION_NUMBER 3006014 #define SQLITE_VERSION_NUMBER 3006014
/* /*
@ -57683,7 +57683,7 @@ SQLITE_PRIVATE void sqlite3ResolveSelectNames(
** This file contains routines used for analyzing expressions and ** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite. ** for generating VDBE code that evaluates expressions in SQLite.
** **
** $Id: expr.c,v 1.432 2009/05/06 18:57:10 shane Exp $ ** $Id: expr.c,v 1.432.2.1 2009/05/25 12:02:24 drh Exp $
*/ */
/* /*
@ -59472,6 +59472,22 @@ SQLITE_PRIVATE void sqlite3ExprCachePop(Parse *pParse, int N){
} }
} }
/*
** When a cached column is reused, make sure that its register is
** no longer available as a temp register. ticket #3879: that same
** register might be in the cache in multiple places, so be sure to
** get them all.
*/
static void sqlite3ExprCachePinRegister(Parse *pParse, int iReg){
int i;
struct yColCache *p;
for(i=0, p=pParse->aColCache; i<SQLITE_N_COLCACHE; i++, p++){
if( p->iReg==iReg ){
p->tempReg = 0;
}
}
}
/* /*
** Generate code that will extract the iColumn-th column from ** Generate code that will extract the iColumn-th column from
** table pTab and store the column value in a register. An effort ** table pTab and store the column value in a register. An effort
@ -59507,7 +59523,7 @@ SQLITE_PRIVATE int sqlite3ExprCodeGetColumn(
VdbeComment((v, "OPT: tab%d.col%d -> r%d", iTable, iColumn, p->iReg)); VdbeComment((v, "OPT: tab%d.col%d -> r%d", iTable, iColumn, p->iReg));
#endif #endif
p->lru = pParse->iCacheCnt++; p->lru = pParse->iCacheCnt++;
p->tempReg = 0; /* This pins the register, but also leaks it */ sqlite3ExprCachePinRegister(pParse, p->iReg);
return p->iReg; return p->iReg;
} }
} }

View file

@ -99,7 +99,7 @@ extern "C" {
** **
** Requirements: [H10011] [H10014] ** Requirements: [H10011] [H10014]
*/ */
#define SQLITE_VERSION "3.6.14.1" #define SQLITE_VERSION "3.6.14.2"
#define SQLITE_VERSION_NUMBER 3006014 #define SQLITE_VERSION_NUMBER 3006014
/* /*