aboutsummaryrefslogtreecommitdiff
path: root/src/test_osinst.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-07-12 15:55:54 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-07-12 15:55:54 +0000
commit185eac95b6231abe4afe440c86684fe8f49ab5a1 (patch)
treec4776b12483b257c3e841cc5aa6dc371c563acb9 /src/test_osinst.c
parente8f52c50895b16148ee4b806b88c59220dc1a3df (diff)
downloadsqlite-185eac95b6231abe4afe440c86684fe8f49ab5a1.tar.gz
sqlite-185eac95b6231abe4afe440c86684fe8f49ab5a1.zip
Fix the test script --binarylog option. (CVS 5401)
FossilOrigin-Name: 03e3cfc4ccab3c6441d41ade175dc041b8fa6c98
Diffstat (limited to 'src/test_osinst.c')
-rw-r--r--src/test_osinst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_osinst.c b/src/test_osinst.c
index 753273bd4..c2230786f 100644
--- a/src/test_osinst.c
+++ b/src/test_osinst.c
@@ -14,7 +14,7 @@
** adds instrumentation to all vfs and file methods. C and Tcl interfaces
** are provided to control the instrumentation.
**
-** $Id: test_osinst.c,v 1.16 2008/06/12 12:40:14 drh Exp $
+** $Id: test_osinst.c,v 1.17 2008/07/12 15:55:55 danielk1977 Exp $
*/
/*
@@ -714,7 +714,7 @@ static void binarylog_blob(
return;
}
pLog = (InstVfsBinaryLog *)pInstVfs->pClient;
- if( !isBinary || pLog->log_data ){
+ if( zBlob && (!isBinary || pLog->log_data) ){
unsigned char *zRec;
int nWrite;