mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix error tests in seldom-used compile-time branches of the unix backend.
FossilOrigin-Name: 885c2b44a44f8d054014e4079b2cac8279c11d13206d5b5215189ef75b9c5254
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Remove\san\sunnecessary\sconditional.
|
C Fix\serror\stests\sin\sseldom-used\scompile-time\sbranches\sof\sthe\sunix\sbackend.
|
||||||
D 2017-08-21T02:20:57.510
|
D 2017-08-22T15:21:54.760
|
||||||
F Makefile.in d9873c9925917cca9990ee24be17eb9613a668012c85a343aef7e5536ae266e8
|
F Makefile.in d9873c9925917cca9990ee24be17eb9613a668012c85a343aef7e5536ae266e8
|
||||||
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
|
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
|
||||||
F Makefile.msc 02b469e9dcd5b7ee63fc1fb05babc174260ee4cfa4e0ef2e48c3c6801567a016
|
F Makefile.msc 02b469e9dcd5b7ee63fc1fb05babc174260ee4cfa4e0ef2e48c3c6801567a016
|
||||||
@@ -440,7 +440,7 @@ F src/os.c add02933b1dce7a39a005b00a2f5364b763e9a24
|
|||||||
F src/os.h 8e976e59eb4ca1c0fca6d35ee803e38951cb0343
|
F src/os.h 8e976e59eb4ca1c0fca6d35ee803e38951cb0343
|
||||||
F src/os_common.h b2f4707a603e36811d9b1a13278bffd757857b85
|
F src/os_common.h b2f4707a603e36811d9b1a13278bffd757857b85
|
||||||
F src/os_setup.h 0dbaea40a7d36bf311613d31342e0b99e2536586
|
F src/os_setup.h 0dbaea40a7d36bf311613d31342e0b99e2536586
|
||||||
F src/os_unix.c 0a7730f6cb797ba1fd12825e4ea751e1325041410c063c258e30089ca71f9a88
|
F src/os_unix.c 489aa972ccc34f7b4770b891694b32101c59ddd4be4ef0ddd9a4da58c145c1a6
|
||||||
F src/os_win.c 964165b66cde03abc72fe948198b01be608436894732eadb94c8720d2467f223
|
F src/os_win.c 964165b66cde03abc72fe948198b01be608436894732eadb94c8720d2467f223
|
||||||
F src/os_win.h 7b073010f1451abe501be30d12f6bc599824944a
|
F src/os_win.h 7b073010f1451abe501be30d12f6bc599824944a
|
||||||
F src/pager.c c1dc0609f04a0659519bb2b8ca1440a64b0ad82b6c2afd675f1a50f6c918321a
|
F src/pager.c c1dc0609f04a0659519bb2b8ca1440a64b0ad82b6c2afd675f1a50f6c918321a
|
||||||
@@ -1649,7 +1649,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
|||||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||||
P 6538ef7b6b56c7a6629a0bb7418910c64c8b2e73af2296a116c073ecf2e0d429
|
P 56d19f9fd7b01d4ed5c3e7309977b43fedffee168c9760d3e3b7e885790f781e
|
||||||
R 44db9cb33f37af7df65ab136e59cd109
|
R fadb89000aeb50524d087e05d444ff10
|
||||||
U drh
|
U drh
|
||||||
Z bcd0fe0605e077fa72b238dc51f819ad
|
Z b11624f2af9f39a4604e682002fd5d5e
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
56d19f9fd7b01d4ed5c3e7309977b43fedffee168c9760d3e3b7e885790f781e
|
885c2b44a44f8d054014e4079b2cac8279c11d13206d5b5215189ef75b9c5254
|
||||||
@@ -2321,7 +2321,7 @@ static int flockCheckReservedLock(sqlite3_file *id, int *pResOut){
|
|||||||
OSTRACE(("TEST WR-LOCK %d %d %d (flock)\n", pFile->h, rc, reserved));
|
OSTRACE(("TEST WR-LOCK %d %d %d (flock)\n", pFile->h, rc, reserved));
|
||||||
|
|
||||||
#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
|
#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
|
||||||
if( (rc & SQLITE_IOERR) == SQLITE_IOERR ){
|
if( (rc & 0xff) == SQLITE_IOERR ){
|
||||||
rc = SQLITE_OK;
|
rc = SQLITE_OK;
|
||||||
reserved=1;
|
reserved=1;
|
||||||
}
|
}
|
||||||
@@ -2388,7 +2388,7 @@ static int flockLock(sqlite3_file *id, int eFileLock) {
|
|||||||
OSTRACE(("LOCK %d %s %s (flock)\n", pFile->h, azFileLock(eFileLock),
|
OSTRACE(("LOCK %d %s %s (flock)\n", pFile->h, azFileLock(eFileLock),
|
||||||
rc==SQLITE_OK ? "ok" : "failed"));
|
rc==SQLITE_OK ? "ok" : "failed"));
|
||||||
#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
|
#ifdef SQLITE_IGNORE_FLOCK_LOCK_ERRORS
|
||||||
if( (rc & SQLITE_IOERR) == SQLITE_IOERR ){
|
if( (rc & 0xff) == SQLITE_IOERR ){
|
||||||
rc = SQLITE_BUSY;
|
rc = SQLITE_BUSY;
|
||||||
}
|
}
|
||||||
#endif /* SQLITE_IGNORE_FLOCK_LOCK_ERRORS */
|
#endif /* SQLITE_IGNORE_FLOCK_LOCK_ERRORS */
|
||||||
@@ -2925,7 +2925,7 @@ static int afpLock(sqlite3_file *id, int eFileLock){
|
|||||||
/* Can't reestablish the shared lock. Sqlite can't deal, this is
|
/* Can't reestablish the shared lock. Sqlite can't deal, this is
|
||||||
** a critical I/O error
|
** a critical I/O error
|
||||||
*/
|
*/
|
||||||
rc = ((failed & SQLITE_IOERR) == SQLITE_IOERR) ? failed2 :
|
rc = ((failed & 0xff) == SQLITE_IOERR) ? failed2 :
|
||||||
SQLITE_IOERR_LOCK;
|
SQLITE_IOERR_LOCK;
|
||||||
goto afp_end_lock;
|
goto afp_end_lock;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user