diff options
author | drh <drh@noemail.net> | 2005-11-26 00:25:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-11-26 00:25:00 +0000 |
commit | 9c06c95309ab7730db6442a0e192a8a86b3a0fac (patch) | |
tree | 297e22bca6307b037d8f709058fad465fdd4b2db /src/pragma.c | |
parent | aa2289f89c9def1a983b6c557285c057186ffbc7 (diff) | |
download | sqlite-9c06c95309ab7730db6442a0e192a8a86b3a0fac.tar.gz sqlite-9c06c95309ab7730db6442a0e192a8a86b3a0fac.zip |
Modify the OS layer so that I/O routines are called through a virtual function
table. The os_test.c module has been replaced by test6.c. The crash tests
are busted now and need to be fixed. (CVS 2785)
FossilOrigin-Name: 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
Diffstat (limited to 'src/pragma.c')
-rw-r--r-- | src/pragma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pragma.c b/src/pragma.c index 93707f530..318e80715 100644 --- a/src/pragma.c +++ b/src/pragma.c @@ -11,7 +11,7 @@ ************************************************************************* ** This file contains code used to implement the PRAGMA command. ** -** $Id: pragma.c,v 1.103 2005/11/03 02:15:03 drh Exp $ +** $Id: pragma.c,v 1.104 2005/11/26 00:25:03 drh Exp $ */ #include "sqliteInt.h" #include "os.h" @@ -392,7 +392,7 @@ void sqlite3Pragma( sqlite3VdbeAddOp(v, OP_Callback, 1, 0); } }else{ - if( zRight[0] && !sqlite3OsIsDirWritable(zRight) ){ + if( zRight[0] && !sqlite3Io.xIsDirWritable(zRight) ){ sqlite3ErrorMsg(pParse, "not a writable directory"); goto pragma_out; } |