Fix a pragma test so that it works in directories that have spaces in

their names. (CVS 3597)

FossilOrigin-Name: 071c957a5dcd236139113d7c0dc1d58b54180eb7
This commit is contained in:
drh 2007-01-22 13:02:24 +00:00
parent 3ad202dd17
commit 1941a3e8ac
3 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
C http://www.sqlite.org/cvstrac/tktview?tn=2166,35\n\nCalling\sUPDATE\sagainst\san\sfts\stable\sin\sa\sUTF-16\sdatabase\sinserts\ncorrupted\sdata\sinto\sthe\sdatabase.\s\sThe\sUTF-8\sdata\sis\sbeing\sinserted\ndirectly.\s\sThis\sappears\sto\shappen\sbecause\ssqlite3_\svalue_text()\ndestructively\scoerces\sa\svalue\sto\sUTF-8,\sand\sit's\snever\sconverted\sback\nwhen\supdating\sthe\stable.\sThis\sworks\saround\sthe\sproblem\sby\srearranging\nthings\sso\sthat\sthe\supdate\shappens\sbefore\sthe\scoercion.\s(CVS\s3596)
D 2007-01-19T22:59:57
C Fix\sa\spragma\stest\sso\sthat\sit\sworks\sin\sdirectories\sthat\shave\sspaces\sin\ntheir\snames.\s(CVS\s3597)
D 2007-01-22T13:02:24
F Makefile.in 7fa74bf4359aa899da5586e394d17735f221315f
F Makefile.linux-gcc 2d8574d1ba75f129aba2019f0b959db380a90935
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -269,7 +269,7 @@ F test/pager.test 6ee95e90ee8295e376e39a6c6566ef6df993601a
F test/pager2.test 49c0f57c7da0b060f0486b85fdd074025caa694e
F test/pager3.test 2323bf27fd5bd887b580247e5bce500ceee994b4
F test/pagesize.test 05c74ea49f790734ec1e9ab765d9bf1cce79b8f2
F test/pragma.test 5b58a36e3dd830cde81f70a7373321e25560a9b3
F test/pragma.test d20fe81e31c6be9cb3182f1792cf5e5a6d4e97f6
F test/printf.test cdd8e20dd901382a385afcbaa777b9377815c2ad
F test/progress.test 8b22b4974b0a95272566385f8cb8c341c7130df8 x
F test/quick.test 6bc0f7c7b905f7de5fe4d3f13239ced3e4e66fe7
@ -427,7 +427,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513
P 335863e4d16113fb9ecebce35d2db043771d98b1
R 7d82bd5b130abe01b6e3432cba59c03d
U shess
Z 5b767fc3587ea545c44144087aefb6be
P 4f2ab4b6320ffc621900049b41f50bc30d76d7f5
R c4572e9faff220a90a05c917a025c06b
U drh
Z 6a5ea2d8a3a623ebc270edd7f8866fc7

View File

@ -1 +1 @@
4f2ab4b6320ffc621900049b41f50bc30d76d7f5
071c957a5dcd236139113d7c0dc1d58b54180eb7

View File

@ -12,7 +12,7 @@
#
# This file implements tests for the PRAGMA command.
#
# $Id: pragma.test,v 1.46 2007/01/04 22:13:42 drh Exp $
# $Id: pragma.test,v 1.47 2007/01/22 13:02:24 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -695,7 +695,7 @@ do_test pragma-9.6 {
execsql {
PRAGMA temp_store_directory;
}
} [pwd]
} [list [pwd]]
do_test pragma-9.7 {
catchsql {
PRAGMA temp_store_directory='/NON/EXISTENT/PATH/FOOBAR';