aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-04-04 13:19:36 +0000
committerdrh <drh@noemail.net>2011-04-04 13:19:36 +0000
commitb92fce1eae7d894cbc16385dc654e63dc61f723f (patch)
treeff46bed41e3117be445ba42244369920bbefcbd6 /src/os_unix.c
parent3d062377702a59cf6c3419fe4d74c0ae70869fb8 (diff)
parent7b94e7f8382b0a29b12e3ee2427331d41a6a0061 (diff)
downloadsqlite-b92fce1eae7d894cbc16385dc654e63dc61f723f.tar.gz
sqlite-b92fce1eae7d894cbc16385dc654e63dc61f723f.zip
Merge the latest changes of trunk into the session branch.
FossilOrigin-Name: 95d53c44320b9639f2623aa9cc88d0d3e1a3be8f
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index f04b6af27..67dd06fc1 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -394,10 +394,10 @@ static int unixSetSystemCall(
/* If no zName is given, restore all system calls to their default
** settings and return NULL
*/
+ rc = SQLITE_OK;
for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
if( aSyscall[i].pDefault ){
aSyscall[i].pCurrent = aSyscall[i].pDefault;
- rc = SQLITE_OK;
}
}
}else{