diff options
author | drh <> | 2022-11-14 19:42:01 +0000 |
---|---|---|
committer | drh <> | 2022-11-14 19:42:01 +0000 |
commit | a70a01dbcb60ab770a675e95c4d90db712b8e157 (patch) | |
tree | c312808a70100675542dcc8af9f4f74215a98c0e /src | |
parent | 1da477d3abd4f23a5ec5f00903305b774f319b0c (diff) | |
download | sqlite-a70a01dbcb60ab770a675e95c4d90db712b8e157.tar.gz sqlite-a70a01dbcb60ab770a675e95c4d90db712b8e157.zip |
Previous change to the fake_big_file command in the test harness was not
correct. This one should fix the problem.
FossilOrigin-Name: 6ee57a2e4e3399481100c40da0229d2d33cbe3290016185c8a60839d14b209f6
Diffstat (limited to 'src')
-rw-r--r-- | src/test2.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test2.c b/src/test2.c index d3c1fab2e..d5db3867b 100644 --- a/src/test2.c +++ b/src/test2.c @@ -523,8 +523,9 @@ static int SQLITE_TCLAPI fake_big_file( if( Tcl_GetInt(interp, argv[1], &n) ) return TCL_ERROR; #if defined(_WIN32) if( n>2 ){ - Tcl_AppendResult(interp, "cannot create %dMB file because Windows " - "does not support sparse files", n); + Tcl_AppendResult(interp, "cannot create ", argv[1], + "MB file because Windows " + "does not support sparse files", (void*)0); return TCL_ERROR; } #endif |