aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-08-08 15:38:11 +0000
committerdrh <drh@noemail.net>2014-08-08 15:38:11 +0000
commit3c19bbea0abf6fa092f5a6a4eeb3a45655b0c5e5 (patch)
tree5cafc9c53283acfa25ac703776f7c0d2112f1b4f /src/os_unix.c
parent1d8ba02445b68bb2f66a7cffffe52aed3f7508ae (diff)
downloadsqlite-3c19bbea0abf6fa092f5a6a4eeb3a45655b0c5e5.tar.gz
sqlite-3c19bbea0abf6fa092f5a6a4eeb3a45655b0c5e5.zip
The SQLITE_IOERR_BLOCKED extended error code is not longer used, so remove
assert() statements and documentation for that error code. Also make other documentation improvements. FossilOrigin-Name: 36b7c5cefcad6bad044806092593c84876fee8bc
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 347e82220..28feb1182 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -761,16 +761,6 @@ static int sqliteErrorFromPosixError(int posixError, int sqliteIOErr) {
case EPERM:
return SQLITE_PERM;
- /* EDEADLK is only possible if a call to fcntl(F_SETLKW) is made. And
- ** this module never makes such a call. And the code in SQLite itself
- ** asserts that SQLITE_IOERR_BLOCKED is never returned. For these reasons
- ** this case is also commented out. If the system does set errno to EDEADLK,
- ** the default SQLITE_IOERR_XXX code will be returned. */
-#if 0
- case EDEADLK:
- return SQLITE_IOERR_BLOCKED;
-#endif
-
#if EOPNOTSUPP!=ENOTSUP
case EOPNOTSUPP:
/* something went terribly awry, unless during file system support