drh
|
dc27851e21
|
Fix the openDirectory() routine in the unix VFS so that it works for databases
located in the root of the filesystem and for database files that have no
pathname at all.
FossilOrigin-Name: e7ae120d04cffafd9bc2b4ecd68571c17e05ed72
|
2015-12-07 18:18:33 +00:00 |
|
drh
|
d797a9b5cb
|
Changes to avoid obscure, theoretical undefined behavior. This is preventative
measures only - no actual problems observed on tested compilers.
FossilOrigin-Name: a9e819082ba19e72db03bba37edfb7702ff489a5
|
2015-12-07 16:43:44 +00:00 |
|
dan
|
818b11aebb
|
Add tests for snapshot_get(), _open() and _free().
FossilOrigin-Name: 502cc6f353358946080d9bcd335aed526825b88a
|
2015-12-07 14:33:07 +00:00 |
|
dan
|
fc1acf33b8
|
Add untested implementations of experimental APIs sqlite3_snapshot_get(), _open() and _free().
FossilOrigin-Name: 0715eb00aa8891400cd50a15509d3d7b13789626
|
2015-12-05 20:51:54 +00:00 |
|
drh
|
2f5bfd959a
|
Prevent a segfault on Solaris in the test_fs.c due to differences in the
definition of the dirent object.
FossilOrigin-Name: 042738ad3b769ad70fd7603f928d5b94a952267d
|
2015-12-04 03:27:45 +00:00 |
|
drh
|
15427279c8
|
Fix typos in requirements text and update requirements marks. No changes
to code.
FossilOrigin-Name: 8534a46c06601ad35b97caee442371f24c718d0f
|
2015-12-03 22:33:55 +00:00 |
|
drh
|
9802947fd8
|
Improved OOM recovery in the SELECT code generator logic.
FossilOrigin-Name: e6521a436d464a42b87a7d5ba5cc98235b92440a
|
2015-12-03 21:47:30 +00:00 |
|
drh
|
7a7f688979
|
Make the SQLITE_ENABLE_8_3_NAMES compile-time option available to
sqlite3_compileoption_used().
FossilOrigin-Name: 06338201f3f00151232e5c6a40edcdbea04d7553
|
2015-12-03 20:50:10 +00:00 |
|
drh
|
90e5dda217
|
Cleaner code and additional comments on the handling of 8+3 filenames when
trying to find the name of a database file based on its journal filename,
in the unix VFS.
FossilOrigin-Name: 9e489a71f2aeb1f13f9ca6f106b9144d07ca25aa
|
2015-12-03 20:42:28 +00:00 |
|
drh
|
7be53fe441
|
Make the sqlite3_status64(), sqlite3_strlike(), and
sqlite3_db_cacheflush() APIs available to loadable extensions.
FossilOrigin-Name: a78e865607194718e2ef958879dbf549ac3c9970
|
2015-12-03 13:43:07 +00:00 |
|
dan
|
48c06f32ca
|
Improve concurrency in test_multiplex.c. Add a switch to "threadtest3" allowing it to run using the multiplexor VFS.
FossilOrigin-Name: 9d2c62b04e3a9ac5d9adea2aac7ec3f3bc3e88bd
|
2015-12-03 11:51:18 +00:00 |
|
drh
|
1bb15fc973
|
Merge recent enhancements from trunk.
FossilOrigin-Name: d1a1278d7f3306536dc9cbd8fb300898f1e373e8
|
2015-12-02 20:40:26 +00:00 |
|
drh
|
f7ce4291a9
|
Remove unreachable branches from the decltype computation logic in the query
planner.
FossilOrigin-Name: 4f2bcff94c672312805be1400050a7026f93a9d7
|
2015-12-02 19:46:12 +00:00 |
|
dan
|
9a8941fc83
|
Have the sqlite3_column_decltype() API report the declared types for the left-most SELECT statement in a compound SELECT.
FossilOrigin-Name: 3e1d71fcaf57c0223ab9a7366c8607f8f66bb21c
|
2015-12-02 18:59:44 +00:00 |
|
drh
|
af19f173d3
|
Fix an incorrect, though harmless, assert() in the unix VFS.
FossilOrigin-Name: 4692ae84f93530e27d7c106a60236355e176b7fd
|
2015-12-02 17:40:13 +00:00 |
|
drh
|
ab37277367
|
Remove more (dead) SQLITE_FCNTL_WAL_BLOCK logic from wal.c - code that was
missed during the [e1d5320ca08933] check-in.
FossilOrigin-Name: 58c15c6af964563ac7ece8606d16730ccf9ee72b
|
2015-12-02 16:10:16 +00:00 |
|
drh
|
333e6ca9a5
|
Remove an unreachable branch from the unixMapfile() routine of the unix VFS.
FossilOrigin-Name: b50f67bc46e65fe4e51667d48b4add58706a9443
|
2015-12-02 15:44:39 +00:00 |
|
drh
|
f3b1ed0fc2
|
Minor simplifications to the unix VFS.
FossilOrigin-Name: 2f13c16b45685ec6850cbd9da79e8198bad6a491
|
2015-12-02 13:11:03 +00:00 |
|
drh
|
2c8fd12f42
|
Change the SQLITE_NO_SYNC compile-time option to call fstat() in place of
fsync() rather than being a total no-op.
FossilOrigin-Name: f64ea8a052af9790d5e6987cbd5e81d77da6f172
|
2015-12-02 02:33:36 +00:00 |
|
drh
|
adfa22e118
|
Fix a (harmless) off-by-one error in the unix VFS logic that fsync()s a
directory after deleting a file.
FossilOrigin-Name: 3d02711a709a7e708edb0ea8ca5d17b39dd307f6
|
2015-12-02 02:08:30 +00:00 |
|
drh
|
50358adfaa
|
Simplification of the logic used to take the process-wide lock in the
unix-excl VFS.
FossilOrigin-Name: 73defd52bb0e3e5db763d3bfbeebc972b645867e
|
2015-12-02 01:04:33 +00:00 |
|
drh
|
dcfb9652fd
|
Remove all traces of SQLITE_FCNTL_WAL_BLOCK from the unix VFS - that feature
had been disabled for a long time and never actually worked.
FossilOrigin-Name: e1d5320ca089336e26d200305b744b06ce883be4
|
2015-12-02 00:05:26 +00:00 |
|
drh
|
053378dfa8
|
Simplification to the posix_fallocate() replacement used for the
SQLITE_FCNTL_SIZE_HINT file control in the unix VFS.
FossilOrigin-Name: 74934d3f60ad9f6550297410eada0f288e0123c4
|
2015-12-01 22:09:42 +00:00 |
|
drh
|
41d2e66ef3
|
Add the SQLITE_LIKE_DOESNT_MATCH_BLOBS compile-time option.
FossilOrigin-Name: 9e1d6d4c391ff90077f0d1cdeb567969fee9f747
|
2015-12-01 21:23:07 +00:00 |
|
drh
|
415afddaae
|
The test_fs.c test module now works on Windows.
FossilOrigin-Name: e3d8628456848a70035bbdeca6dc6c21f688b9a5
|
2015-12-01 17:48:45 +00:00 |
|
drh
|
e1818ec740
|
Simplification to the read and write primatives in the unix VFS.
FossilOrigin-Name: 9eefa449792f03c4c149edcbc6b9b7692617994c
|
2015-12-01 16:21:35 +00:00 |
|
mistachkin
|
92af1ebc75
|
Add experimental support for the 'test_fs' test module on Win32.
FossilOrigin-Name: f3ffb3aeea95712e92919fd5071741327add9643
|
2015-11-30 23:29:07 +00:00 |
|
drh
|
c386ef4f2c
|
Add the SQLITE_PRINTF_PRECISION_LIMIT compile-time option.
FossilOrigin-Name: ecad75d69e0d5c83dd3584d363e557e84b65f7f2
|
2015-11-30 22:52:14 +00:00 |
|
drh
|
025d2f7ad8
|
Fix a problem in xFullPathname for the unix VFS. The problem was found by
Kostya Serebryany using libFuzzer.
FossilOrigin-Name: bb1e2c4df0b81327923f121dd6c002845486a314
|
2015-11-30 22:22:23 +00:00 |
|
drh
|
40fe8d31f5
|
The EOVERFLOW errors from fstat() is not possible unless SQLite has been
compiled with SQLITE_DISABLE_LFS.
FossilOrigin-Name: 8cfb7a50bb70ba1e021c1d12d31563e98a20d291
|
2015-11-30 20:36:26 +00:00 |
|
dan
|
c45bf341af
|
Fix the schemalint.tcl script to handle identifiers that require quoting.
FossilOrigin-Name: 451e0fafbe5b7e9c67d9b584d5e16796c3196881
|
2015-11-30 18:17:55 +00:00 |
|
dan
|
d6b459c996
|
Add the "colUsed" field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. To indicate the subset of the virtual table columns that may be required by the current scan.
FossilOrigin-Name: 47f10b7e5d8c1d965df891990090623444933cc9
|
2015-11-30 12:01:37 +00:00 |
|
drh
|
a8de1e1c90
|
Simplifications to the locking logic in the unix-dotfile VFS.
FossilOrigin-Name: 583813525888c7e106f3e8cb46c1a507006daee6
|
2015-11-30 00:05:39 +00:00 |
|
drh
|
b7e50ad555
|
Improvements to temporary file creation logic in the unix VFS.
FossilOrigin-Name: d6e177fd09c83d46adc5b5d36e9a439aa5397450
|
2015-11-28 21:49:53 +00:00 |
|
drh
|
790f287c53
|
Add the SQLITE_FCNTL_VFS_POINTER file control which obtains a pointer to
the top-level VFS in use by a database connection.
FossilOrigin-Name: 7c6a809e25138950f50554e1fb96e0b6ebbe0bd4
|
2015-11-28 18:06:36 +00:00 |
|
drh
|
a6082f699e
|
The first argument to SQLITE_CONFIG_PAGECACHE, SQLITE_CONFIG_SCRATCH, and
SQLITE_CONFIG_HEAP must always be a pointer.
FossilOrigin-Name: 5e14cadff09d7425c8e1cc5e817f2b0609e52a46
|
2015-11-26 22:12:41 +00:00 |
|
dan
|
1acb539f4c
|
Add the "colUsed" field to the sqlite3_index_info structure passed to virtual table xBestIndex methods. To indicate the subset of the virtual table columns that may be required by the current scan.
FossilOrigin-Name: 116b206494eb8ba963c7c5acfbf9e7b6db11c79c
|
2015-11-26 19:33:41 +00:00 |
|
dan
|
fab1d401f8
|
Fix a problem with the userauth extension and no-authentication databases. Run the tests for this extension as part of the Debug-One module in releasetest.tcl.
FossilOrigin-Name: 8b15621952889b4ba53b2ea3171fef7ef0479ddb
|
2015-11-26 15:51:55 +00:00 |
|
drh
|
acb6b28d60
|
Simplify logic for syncing directories after creating or deleting a file in
the unix VFS.
FossilOrigin-Name: eb180b4f04d412dcd0af138e2dd7f62fbb5ac439
|
2015-11-26 10:37:05 +00:00 |
|
drh
|
5a2d970a1a
|
Small simplification to the xOpen method in the unix VFS.
FossilOrigin-Name: 96e7d638ecdabbf84a152036eb01d408d142839e
|
2015-11-26 02:21:05 +00:00 |
|
drh
|
970942e4fc
|
Simplify the temporary filename generator and the time-of-day functions in
the unix VFS.
FossilOrigin-Name: 6c5621ce1b1a65913b088ed8be65f9b689260d2c
|
2015-11-25 23:13:14 +00:00 |
|
drh
|
489f1e86e3
|
Fix harmless compiler warnings in test_fs.c. Fix typos and clean up the text
of the documentation for sqlite3_strglob() and sqlite3_strlike().
FossilOrigin-Name: 697b20534c2d780cdd8cc165d2930f6e56480770
|
2015-11-25 18:40:38 +00:00 |
|
dan
|
1e93173ffc
|
Update test_fs.c to include a virtual table that reads a file-system hierarchy. Use it to further test GLOB and LIKE support for virtual tables.
FossilOrigin-Name: 6ef6578c03b7cfbeaaf3627b9eea2febf501ace5
|
2015-11-25 18:07:46 +00:00 |
|
drh
|
d260b5b2ce
|
Make the xAccess method of the unix VFS smaller and faster.
FossilOrigin-Name: 191aef986ffc4ef34d813e417e52a4ec820b0300
|
2015-11-25 18:03:33 +00:00 |
|
drh
|
5337dacbad
|
Remove unused methods from the unix VFS.
FossilOrigin-Name: 228bd15bbb7a1e6e3e0d03832e7f39ba169356a8
|
2015-11-25 15:15:03 +00:00 |
|
drh
|
91c4defbcf
|
Simplification of the error code translator in os_unix.c. Code cleanup only.
The logic is unchanged.
FossilOrigin-Name: 2a20f793fdf6a2e88b679a7bd4e8ccf2935df049
|
2015-11-25 14:00:07 +00:00 |
|
drh
|
8b4a94adc1
|
Add the sqlite3_strlike() interface, which might be useful for implementing
LIKE operators on virtual tables.
FossilOrigin-Name: e70ec71d6883f2f8fc75301ff985bccb5aa06127
|
2015-11-24 21:23:59 +00:00 |
|
dan
|
ff7b22b714
|
Fix a problem in whereexpr.c causing a crash while processing a user-function taht accepts zero arguments.
FossilOrigin-Name: 069e51b19c773aa3017a8d307c8daa0766c224ba
|
2015-11-24 18:16:15 +00:00 |
|
drh
|
060f9a4a18
|
Fix harmless compiler warnings in the TCL test harness logic.
FossilOrigin-Name: 2fba7a96566b5448f527a4ec6a26e860c4889813
|
2015-11-24 18:04:39 +00:00 |
|
dan
|
898f70bc28
|
Merge latest trunk changes with this branch.
FossilOrigin-Name: 99222bb3e5f9b2a9a10d9561a9fd8c0f717baaff
|
2015-11-24 17:44:26 +00:00 |
|