diff options
author | drh <drh@noemail.net> | 2010-02-23 17:36:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-02-23 17:36:32 +0000 |
commit | 9978c97ec5d480741365687534690f04bc8cc6e4 (patch) | |
tree | 85ee2b948fb789b9245796ca35a2e947e8e662e2 /src/vdbeapi.c | |
parent | 127f9d75e289e3a4cd45a16889bced0d94a1a608 (diff) | |
download | sqlite-9978c97ec5d480741365687534690f04bc8cc6e4.tar.gz sqlite-9978c97ec5d480741365687534690f04bc8cc6e4.zip |
Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging
output for CORRUPT, and CANTOPEN errors.
FossilOrigin-Name: 7c4cca6d1a23a6d1591b62f58c3716a944969947
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 964c620e3..242d428e0 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -316,10 +316,6 @@ static int sqlite3Step(Vdbe *p){ rc = SQLITE_ERROR; goto end_of_step; } - if( sqlite3SafetyOn(db) ){ - p->rc = SQLITE_MISUSE; - return SQLITE_MISUSE; - } if( p->pc<0 ){ /* If there are no other statements currently running, then ** reset the interrupt flag. This prevents a call to sqlite3_interrupt @@ -352,10 +348,6 @@ static int sqlite3Step(Vdbe *p){ rc = sqlite3VdbeExec(p); } - if( sqlite3SafetyOff(db) ){ - rc = SQLITE_MISUSE; - } - #ifndef SQLITE_OMIT_TRACE /* Invoke the profile callback if there is one */ |