mistachkin
98e2cb8bd1
Simplifications to winOpenSharedMemory in the Win32 VFS.
...
FossilOrigin-Name: 3e04999dabb87715de46255b1a9b08d5dfa70d140e0a09a37ea2842d71c77caf
2018-01-17 01:40:57 +00:00
mistachkin
5685257b83
Corrections to error code handling in os_win.c, pursuant to walfault.test.
...
FossilOrigin-Name: 568192228c9578b8ea34c363e10ff28450045cda76248b2f0f89f84b3a57e680
2018-01-17 01:26:05 +00:00
mistachkin
824f28426a
Fix duplicate test names in 'walfault.test'.
...
FossilOrigin-Name: 7274d05ff43fc9872f0e4857ae583689e4a6c429b7fa991dcc29744da3048879
2018-01-17 01:15:08 +00:00
dan
2879952faa
Fix a problem causing zipfile to store 0 in place of the CRC32 value for
...
uncompressed files.
FossilOrigin-Name: ba44724bcca2e87788b7c6d8c5de7fa388360127bd894ee6a171fd66e794fcae
2018-01-16 21:09:00 +00:00
drh
8c9e30ba2f
Remove an unused field from the internal definition of the sqlite3_context
...
object.
FossilOrigin-Name: 948a26b5a64d8a89c4ec7546ec4a4bee36e29e82edda677ca75424e7091325d0
2018-01-16 21:05:10 +00:00
drh
2d9e8c55da
Fix compiler warning in the FTS5 test interface.
...
FossilOrigin-Name: 2ab4e8d5d82ab410c00f048c12555f2f40f9fd8bffda64ccbdd3dfe036727315
2018-01-16 21:00:58 +00:00
drh
4a4532bbb7
Make the new sqlite3_vtab_collation() interface accessible to loadable
...
extensions.
FossilOrigin-Name: f301db3c2343fd2086bc5b69a17b2d226175584ccd09549ebb2cb603590da487
2018-01-16 20:50:37 +00:00
dan
4bd387495f
Fix a test problem causing an error in fts5fault9.test.
...
FossilOrigin-Name: 8e2048113fc6ed87fc7d5ba470261926aa0bd35474744bb2b99ea596bc468f02
2018-01-16 20:44:00 +00:00
drh
eb0b6f364e
Remove the unused SQLITE_CANTOPEN_DIRTYWAL result code.
...
FossilOrigin-Name: 3c786305fc6eaa6856ec6c71fc7969f61de266ba1bea0abf0ae133eb94e54b2d
2018-01-16 20:37:56 +00:00
dan
70bc717c0e
Fix a makefile problem causing -DSQLITE_ENABLE_STMTVTAB builds to fail.
...
FossilOrigin-Name: 7f6e5bdf9021c31e8bde82c224bf53be3c93b79f7bb5c2802c54be8031cf89fb
2018-01-16 20:20:00 +00:00
drh
0ed2fd8a25
Move the ZLIB version announcement in the CLI out of the default banner
...
and put it in the ".version" command.
FossilOrigin-Name: 231679d6f8c0c3d957c8daa88b0743449b60b47159e114f4bc073a8612a73b2a
2018-01-16 20:05:27 +00:00
mistachkin
fff5367c24
Show version of zlib in use when running the shell tool in interactive mode.
...
FossilOrigin-Name: a8906b527a8f7a2cec88cc3b05c063a2785f0d1d141e148d954fc7440972a484
2018-01-16 19:03:51 +00:00
dan
194a17bbb7
Change a cat in zipfile.c from (z_const Bytef*) to just (Bytef*). This allows the module to build with older versions of zlib.
...
FossilOrigin-Name: ac9af91d5a2927e71903461e7bbdd2c0168fde9a042853c8bcd4c7ebd0d51e0d
2018-01-16 17:33:09 +00:00
dan
0c2ba13e02
Fix a problem causing an infinite loop or other malfunction in some UPDATE
...
statements with an OR term in the WHERE clause.
FossilOrigin-Name: feb2c2b6f66b0f45490beb1642d99cdb89fa220e299a8c118929df557c814189
2018-01-16 13:37:43 +00:00
drh
ded2d99d73
Disable the ".archive" command tests in shell8.test if the CLI is compiled without
...
ZLIB support.
FossilOrigin-Name: ce8bfe6c2b87090a2de1e04bc88fcb878597fe1f4ecd5df6d9d588a65601c901
2018-01-16 02:38:35 +00:00
dan
2d620070b9
Fix a problem in the zipfile module causing it to generate incorrect
...
checksums. Remove the ability to insert compressed data into a zip archive.
FossilOrigin-Name: b0b7d0363acf38c2178e2d3041d8ce2a0de061a51caa64670dbf539ee6d4356b
2018-01-15 19:00:35 +00:00
dan
89fa746941
Fix a zipfile problem with extracting zero length files compressed using
...
deflate.
FossilOrigin-Name: cf64087224aff1a2fe169d23996d9e5ed8d86459c655eb5d0bace0466a557ec6
2018-01-15 15:49:46 +00:00
drh
a9be508a97
Fix an error in the setDeviceCharacteristics() procedure for the
...
(unsupported) QNX code in os_unix.c.
FossilOrigin-Name: 8151913a3987f4dd2d6efee046727f5fa9b6f11d5d3867ea8f512c03a212ac2b
2018-01-15 14:32:37 +00:00
drh
b058d05452
Avoid excess stack usage when a VALUES clause with lots of rows occurs
...
within a scalar expression. This fixes a problem discovered by OSSFuzz.
FossilOrigin-Name: a4fa0581ba7cfd45fabe0198f55b3c2c8ee3ecfd2825aeed91116f44e77d760b
2018-01-14 20:12:23 +00:00
drh
eb54500419
Fix harmless compiler warnings in zipfile.c.
...
FossilOrigin-Name: 8f7a592f8c044d75b4615a95e27454100b10c2b26f4cafee97dec23343821130
2018-01-13 23:28:33 +00:00
dan
f42884c307
Support UPDATE statements against zipfile virtual tables.
...
FossilOrigin-Name: f2d2a5df4f29b47212fd2411eae6545087b901a270655640c87ceb472e02a24c
2018-01-13 19:08:24 +00:00
drh
cdb60978b9
Fully initialize the Mem object for serial-type 10, in case such a
...
serial-type is found in a corrupt database file.
FossilOrigin-Name: bd70a07d819a54346cb6c40fab681424c5af0dfb6bf29321a3de9fc99d285376
2018-01-13 14:28:00 +00:00
dan
098728fc9c
Fix various problems in test scripts preventing "make test" from passing on
...
F2FS file-systems with the "atomic-write" feature.
FossilOrigin-Name: 6bedc7435d26c1f21c0d1b3a52daa0169fa5416b690a99347328dcafdcd78740
2018-01-13 14:02:16 +00:00
dan
2483a111db
Fix a typo in crash8.test.
...
FossilOrigin-Name: c3dc7b8d9de94e46fae75fcc96ec68743205e0a2591e14391c394fff203004d1
2018-01-13 14:01:26 +00:00
dan
69aedc8db4
Fix various problems in test scripts preventing "make test" from passing on
...
F2FS file-systems with the "atomic-write" feature.
FossilOrigin-Name: 56d93d070d6b92d8a5a3fec1b09aae8911116c73d072fc5022f0b51668ed996b
2018-01-13 13:07:49 +00:00
mistachkin
2034353db4
Updates and minor typo fix for the README.
...
FossilOrigin-Name: bb196fcb677e962db4308c02097968615729a51fe4a1292e468aaf3e4bf522d3
2018-01-13 02:07:16 +00:00
drh
76506cd3a7
Add the new "nochange" APIs to the extension loading mechanism.
...
FossilOrigin-Name: cd7c42699e73b688dbed29ed5d243d06439d7dbe0ba8c42d8299e04cc0dd4464
2018-01-13 01:53:09 +00:00
drh
9df81a2989
Add the sqlite3_value_nochange() API, usable from within the xUpdate method
...
of a virtual table to discover whether or not a column was unchanged at the
SQL level.
FossilOrigin-Name: dec3ea4e4e6c4b1761ddc883a29eaa50dcd663ce6199667cc0ff82f7849d4f2a
2018-01-12 23:38:10 +00:00
drh
41fb367a2c
Improved comments. Slightly tighter implementation, but no big changes.
...
FossilOrigin-Name: a1b3f28569f2a8d82b2931527fdfe191b421f3e1ea18ee30e04211e1ad645993
2018-01-12 23:18:38 +00:00
drh
ce2fbd1b02
Add the experimental sqlite3_value_nochange() interface usable by xUpdate
...
methods of virtual tables to see if a column has actually changed values.
FossilOrigin-Name: 8b7be15ece9e2e83959bb0e21e240106fe1077431242c3cc6b81f1baa2382f40
2018-01-12 21:00:14 +00:00
drh
4ec6f3a075
Simplification to the implementation of OP_Insert.
...
FossilOrigin-Name: 6acbdba59e9df4313a6232d925a70390acdc43dfa380b4fba7bb8bd442d6e728
2018-01-12 19:33:18 +00:00
dan
5871318407
Fix error handling in sqlite3session_diff() when it is invoked for table
...
"sqlite_stat1".
FossilOrigin-Name: 874285e477dd9bd164e25ddb08b6b80daaa8cfd111b4180ecce59b1ce26f77a5
2018-01-12 19:20:15 +00:00
drh
84ebe2b303
Avoid an unnecessary branch when not using pre-update hooks.
...
FossilOrigin-Name: ec96707eb359c7e0597ee22e5ae017774366463dffa6bdb06e4438b09549f5c0
2018-01-12 18:46:52 +00:00
drh
3f975373ce
Fix obsolete comments. No changes to code.
...
FossilOrigin-Name: ec39c99bea024ffce9b87bbf3d80087ff772f43f7fb7e238754c364f7db2a17b
2018-01-12 18:03:38 +00:00
dan
f3e3dfe96c
Include changes made to the sqlite_stat1 table in changesets
...
generated by the sessions module. sqlite_stat1 entries in such changesets are
ignored by legacy clients.
FossilOrigin-Name: 2064233533edec0308d0212fb08e72fd14c760a1c88452424cae298e9eaf4af8
2018-01-12 17:25:25 +00:00
dan
614efe2b4b
Experimental change to include changes made to the sqlite_stat1 table in
...
changesets generated by the sessions module. sqlite_stat1 entries in such
changesets are ignored by legacy clients.
FossilOrigin-Name: bd46c4429693545eb16db85692fc591ac529796aa746f5f21df1ce4380619320
2018-01-12 16:44:29 +00:00
drh
6ac7303e1a
Always use utimes() instead of utimensat() since the latter is not available
...
even on some recent unix systems.
FossilOrigin-Name: 30ed7a4b6408f0ca921abc4d8b7bb5404fc7708cedcd104b017b361054e7148c
2018-01-12 14:34:45 +00:00
dan
f225059b8b
Add a test to ensure that the sqlite3changeset_apply() function ignores tables
...
that do not have the expected primary keys.
FossilOrigin-Name: bf2daf06279e46bc37cc92ad1becec1b12d2aa804a14b101fca8b3a7fdb280c3
2018-01-12 12:02:02 +00:00
drh
afd4eef575
Add the sqlite3_vtab_nochange() interface. Test cases are in TH3.
...
FossilOrigin-Name: a5d09dfaa337fa51d6e702c6aefe58824ab1e7d221c6e79166e2c6f9c7ab1501
2018-01-11 18:15:40 +00:00
dan
66a3a91aa6
Change zipfile to be a WITHOUT ROWID virtual table and table-valued function.
...
FossilOrigin-Name: 931201f64e04247ed613a0301fcc86c3a337c2ed162c6370a80c67a1dd919e7c
2018-01-11 17:33:48 +00:00
drh
6f390beb7f
Add the sqlite3_vtab_nochange() method which virtual table implementations
...
can use to optimize UPDATEs.
FossilOrigin-Name: d444b1ff39f0a1673a977b8047e1e14a49d461c9934be080d27c2392a830c1c0
2018-01-11 17:04:26 +00:00
dan
5e9bbe1924
Add test cases for running multiple RBU operations within the same process
...
concurrently.
FossilOrigin-Name: 407b5ed35c178bb0dbc69c8b902652038a0653d55a58a7543f9d4857c6baf3ea
2018-01-11 16:16:03 +00:00
drh
e4185bda9a
Minor formatting changes in zipfile.c. No logical code differences.
...
FossilOrigin-Name: 4f68bed3b9a63a349a2a2d7f26609491577e9717034ad86af404cf9eed9d6aaf
2018-01-11 14:50:40 +00:00
drh
24cd20ffa4
Fix typo in comment. No code changes.
...
FossilOrigin-Name: 2c55571baaae58d6f5b6210cf85d0fa325a9977682bd449e3802191f7a4142de
2018-01-11 13:43:04 +00:00
drh
536c345107
Update the .help screen in the CLI. Make sure the temporary files for
...
".open" are not deleted too soon.
FossilOrigin-Name: b8d92d8dc239597c6f01a6e572b047f98ce374a8f48257683fa839dde3ec993f
2018-01-11 00:38:39 +00:00
drh
9791313474
Add the built-in edit(VALUE) and edit(VALUE,EDITOR) function to the CLI.
...
FossilOrigin-Name: ef823c47a0ac4f3b001e6c89c38354b45b5229d872cfc69a29c82e99414b89c8
2018-01-11 00:04:00 +00:00
drh
df53b05e3c
Add the ".once -e" and ".once -x" commands to the CLI, and the ".excel" command
...
that is an alias for ".once -x".
FossilOrigin-Name: a6ed5ab9bc9741267fd1207e63b4c49d074291085c7e3f25e9f62a82f916a656
2018-01-10 23:29:42 +00:00
drh
6c9dcc427d
Update test cases for the new "usage" for .output.
...
FossilOrigin-Name: fbf5e43c07e7c012cb39b33a74b3fab9e46ba946c48497fbd990110692125f57
2018-01-10 23:27:30 +00:00
drh
3c484e8c1f
Save and restore the output mode when doing ".once -x" or ".excel".
...
FossilOrigin-Name: f697c164518d36f2a63c87d9f2708d0f9481fad3ded2de61f3f48c393cf7a500
2018-01-10 22:27:21 +00:00
drh
a92a01a77e
An attempt to get ".once -e" working reliably on Windows.
...
FossilOrigin-Name: 9b97f9d2c876162139dbd9485fcf68412d1572d9ddc179b08938b8a602e895d6
2018-01-10 22:15:37 +00:00