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

Fix a bug in the test scripts that was preventing many scripts from

running with all.test.  Lots of hidden failures now come to light. (CVS 4723)

FossilOrigin-Name: 251c78a982a33194a052897c37a2a79ae9654452
This commit is contained in:
drh
2008-01-18 02:31:56 +00:00
parent 008e476c28
commit c5531beb56
4 changed files with 13 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
C Test\scoverage\sfor\sdate.c.\s(CVS\s4722)
D 2008-01-17T22:27:54
C Fix\sa\sbug\sin\sthe\stest\sscripts\sthat\swas\spreventing\smany\sscripts\sfrom\nrunning\swith\sall.test.\s\sLots\sof\shidden\sfailures\snow\scome\sto\slight.\s(CVS\s4723)
D 2008-01-18T02:31:56
F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7
F Makefile.in 30789bf70614bad659351660d76b8e533f3340e9
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -92,7 +92,7 @@ F src/complete.c 4cf68fd75d60257524cbe74f87351b9848399131
F src/date.c 8ce763c68143b1e8fb6f79dcfc8b801853c97017
F src/delete.c 739ccbab8fa7478762bded5c9cc67f16a4d09dbe
F src/experimental.c 1b2d1a6cd62ecc39610e97670332ca073c50792b
F src/expr.c f13ad688f64d93efe6c4f86c46e9d172d9166217
F src/expr.c 3162c112a327bb81aa5c38d6416b31af3569e7cd
F src/func.c 996071cf0af9d967e58b69fce1909555059ebc7d
F src/hash.c 45a7005aac044b6c86bd7e49c44bc15d30006d6c
F src/hash.h 031cd9f915aff27e12262cb9eb570ac1b8326b53
@@ -393,7 +393,7 @@ F test/misc7.test b7f829bc371981503de5229683c078e793c39c96
F test/misuse.test 30b3a458e5a70c31e74c291937b6c82204c59f33
F test/notnull.test 44d600f916b770def8b095a9962dbe3be5a70d82
F test/null.test a8b09b8ed87852742343b33441a9240022108993
F test/onefile.test b9cce375fd2a41ee3afa79a0a808954046b74458
F test/onefile.test 5af2867a8097cea08f15de5382b8d57d1219d8e3
F test/openv2.test f5dd6b23e4dce828eb211649b600763c42a668df
F test/pager.test 60303481b22b240c18d6dd1b64edcecc2f4b5a97
F test/pager2.test c025f91b75fe65e85febda64d9416428b8a5cab5
@@ -606,7 +606,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P 495fb41626dfbfbeeb748675b9476a4f7cec6c7a
R 44b7cf7c7631ced0327987df0e419a17
P a676f949b68c968d7e71aceb060c1639b42ba680
R 93839145c08ea324c5b675c4f45479fc
U drh
Z 08c8b2a3ecf57a5c9fe6eb42188de03e
Z 1ea0b43eccaa7ba550cce0e2e929012f

View File

@@ -1 +1 @@
a676f949b68c968d7e71aceb060c1639b42ba680
251c78a982a33194a052897c37a2a79ae9654452

View File

@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
** $Id: expr.c,v 1.348 2008/01/17 17:15:56 drh Exp $
** $Id: expr.c,v 1.349 2008/01/18 02:31:56 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -2054,9 +2054,6 @@ static int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
assert( TK_GE==OP_Ge );
assert( TK_EQ==OP_Eq );
assert( TK_NE==OP_Ne );
if( target==0 ){
inReg = ++pParse->nMem;
}
r1 = sqlite3ExprCodeTemp(pParse, pExpr->pLeft, &regFree1);
r2 = sqlite3ExprCodeTemp(pParse, pExpr->pRight, &regFree2);
codeCompare(pParse, pExpr->pLeft, pExpr->pRight, op,
@@ -2225,9 +2222,6 @@ static int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
*/
affinity = comparisonAffinity(pExpr);
if( target==0 ){
target = inReg = ++pParse->nMem;
}
sqlite3VdbeAddOp2(v, OP_Integer, 1, target);
/* Code the <expr> from "<expr> IN (...)". The temporary table
@@ -2271,9 +2265,6 @@ static int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
struct ExprList_item *pLItem = pExpr->pList->a;
Expr *pRight = pLItem->pExpr;
if( target==0 ){
inReg = target = ++pParse->nMem;
}
r1 = sqlite3ExprCodeTemp(pParse, pLeft, &regFree1);
r2 = sqlite3ExprCodeTemp(pParse, pRight, &regFree2);
r3 = sqlite3GetTempReg(pParse);

View File

@@ -6,7 +6,7 @@
#***********************************************************************
# This file runs all tests.
#
# $Id: onefile.test,v 1.2 2007/10/03 08:46:45 danielk1977 Exp $
# $Id: onefile.test,v 1.3 2008/01/18 02:31:56 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -18,7 +18,7 @@ proc finish_test {} {
}
set ISQUICK 1
set INCLUDE {
set onefile_INCLUDE {
conflict.test
insert.test
insert2.test
@@ -29,7 +29,7 @@ set INCLUDE {
select3.test
temptable.test
}
#set INCLUDE insert2.test
#set onefile_INCLUDE insert2.test
rename sqlite3 really_sqlite3
proc sqlite3 {args} {
@@ -46,7 +46,7 @@ proc do_test {name args} {
foreach testfile [lsort -dictionary [glob $testdir/*.test]] {
set tail [file tail $testfile]
if {[lsearch -exact $INCLUDE $tail]<0} continue
if {[lsearch -exact $onefile_INCLUDE $tail]<0} continue
source $testfile
}