drh
634c70fa15
Implement the ".ar --create" command using a single
...
"REPLACE INTO sqlar SELECT ... FROM fsdir();" statement. Add the
shell_putsnl() SQL function for providing --verbose output.
FossilOrigin-Name: 28ab930436fea33c79073e84f39d9e381fa60b4702a5dcbfaaed72baeeae8431
2018-01-10 16:50:18 +00:00
dan
f2ed70e4de
Have the zipfile module automatically append "/" to directory names that do
...
not already end with such a character. This is required for info-zip
compatibility.
FossilOrigin-Name: 94bc3c60e7d2ec849b90444b06e3057ed645edf3af334f2737252960602868e5
2018-01-10 16:30:40 +00:00
drh
6c237b1fa7
Add the "filetype()" SQL function for interpreting file modes to the
...
fileio.c extension.
FossilOrigin-Name: 58c0c74c407d93f48930a4964b6cc48f008b522d193a62a559de0e6a319a8bd0
2018-01-10 15:53:06 +00:00
drh
a5676c4d2d
The ".ar" command deduces whether or not the target file is
...
a ZIP or SQLAR and does the appropropriate thing. The "-z" option is omitted.
The "--append" option is added to open auxiliary databases using apndvfs.
FossilOrigin-Name: 430d1a7daa823ae53606b7a158af4e7c16f62ff9b072b90606524e7c3f6131df
2018-01-10 15:17:34 +00:00
drh
a82c95b47d
Allow the use of ".ar -t" without specifying an archive file or the "-z"
...
option when the command-line shell is opened on a ZIP archive.
FossilOrigin-Name: 9340a2c145bcb4b38d19276a16264a37341c617f0554d66e1da653f1d9f85163
2018-01-10 14:00:00 +00:00
drh
e75d1f5290
Tag an unreachable branch using ALWAYS().
...
FossilOrigin-Name: c42c734f11c58724f5d8b32cb1c92e274be350028868d6ed045b2cfd274c64e7
2018-01-10 13:58:23 +00:00
drh
b376b3d6aa
Work on the ".archive" command.
...
(1) Add the --dryrun option.
(2) Do not require --file when open on a ZIP archive.
(3) Miscellaneous code simplifications.
This is an incremental check-in of work in progress.
FossilOrigin-Name: a2baada429e84dc4b7243173a056e3c8bc042682f7efb01fdf8d2cc452c97e04
2018-01-10 13:11:51 +00:00
dan
a688ca5ea9
Fix a problem in os_unix.c causing it to return SQLITE_CANTOPEN instead of
...
SQLITE_READONLY_RECOVERY.
FossilOrigin-Name: 6a16f554f027ba268276b728588b5eaea837cbed85358a06a2f6da3b70e834ad
2018-01-10 11:56:03 +00:00
drh
5af0698356
Rearrange some routines in shell.c to avoid the need to forward reference a
...
static function.
FossilOrigin-Name: fd7f51a107806666d5c3a3a7a62528ec3e1fb71c4256f49d57b4dcdac4bf8680
2018-01-10 00:53:55 +00:00
drh
6116ee4eee
Compute the correct column name even if the column identifier is the
...
very last token in the SQL statement. This fixes a problem introduced
by check-in [0fdf97efe5df745510c6b] and reported by the community during
beta-testing.
FossilOrigin-Name: 36b89d728ff13d395fe0e1db8e7c01263f73dccb278b3ece27f6ef78e909b492
2018-01-10 00:40:06 +00:00
mistachkin
dc006e05aa
When disconnecting from the 'swarmvtab' extension, close each database prior to invoking the 'openclose' function on it.
...
FossilOrigin-Name: 3e5647cb6c4553683e24b9cb62548f16c79c4e2ac9e39cf135ea52a623f7cc33
2018-01-09 22:23:42 +00:00
mistachkin
7026bd6753
Fix harmless compiler warnings.
...
FossilOrigin-Name: 0fb42090cb2c785e044abe273a00da134927db191fea7b0c67ba4028944bce3a
2018-01-09 20:49:33 +00:00
dan
2c4df97591
Return SQLITE_CONSTRAINT if a user attempts to update a zipfile table.
...
FossilOrigin-Name: 64c9ccf6c5598a68135e78dad128ec070afa49416e1d1f35745a24276e7aeeea
2018-01-09 20:44:04 +00:00
dan
9898c4a0c4
In the os_unix.c implementation of xOpen(), do not return
...
SQLITE_READONLY_DIRECTORY in cases where the file cannot be opened for reasons
other than a readonly directory, such as the process running out of file
descriptors.
FossilOrigin-Name: fa8b80bb967792de99808712ac03e37ace0f11eb8fbe444aacd3d19184c425ea
2018-01-09 20:34:53 +00:00
dan
c48e0271f6
Fix a potential crash in sqlite3expert.c caused by a missing sqlite3_reset()
...
call.
FossilOrigin-Name: f6355970f04a3c4d85801c806366788139d8d5ad29383ec7faa81e2176ffe987
2018-01-09 18:31:11 +00:00
dan
e2d22ffaa3
Fix another -fsanitize issue in new shell code.
...
FossilOrigin-Name: 6ee7b54c580de0240e0f49a5fd2d11ddcdbcce8a2ae4b249618d0ab2d54b5e5b
2018-01-09 15:57:55 +00:00
drh
4297584d66
Updates to the README.md file for the ext/misc directory. No code changes.
...
FossilOrigin-Name: 6b3f4349d7156501f05270d494d6002ee03a0860b6e77b46d17effcab027b753
2018-01-09 15:28:25 +00:00
dan
6b046be41a
Fix the shell so that it can be built with SQLITE_OMIT_VIRTUALTABLE.
...
FossilOrigin-Name: 931421a22507a5e1edb46e19cb5b3958ec3904807836ab5bcc7a90f37f476e6a
2018-01-09 15:25:55 +00:00
dan
f87ae41f52
Do not attempt to build the code in ext/expert/sqlite3expert.c if
...
SQLITE_OMIT_VIRTUALTABLE is defined.
FossilOrigin-Name: ba967ad2e38590fe2a51e814a087140089be5e6a06a795a958e70a8a47f6350f
2018-01-09 14:30:49 +00:00
drh
8ee5d0fc05
Attempt to fix the fileio.c extension so that it builds on MinGW-64.
...
FossilOrigin-Name: a7446d3217d39c96c884fbfb294dd320378255f3bfb34e35d15ba6d7c6698f53
2018-01-09 14:27:58 +00:00
dan
128011a258
Fix a zipfile problem with adding new directories to an archive.
...
FossilOrigin-Name: 5fed67033c9dd4492bf8cfcf98874284581f448d8cc84fa5470dde239f218375
2018-01-09 10:29:34 +00:00
dan
cc234a4b66
Fix a problem in zipfile.c found by -fsanitize.
...
FossilOrigin-Name: 4fe697fa6c2b45aec60c33eff1ce2ea97b8a2ca124ef0c0059930269d25cdb2e
2018-01-09 07:16:51 +00:00
drh
a8691309dd
Avoid a compiler warning when building with newer versions of MinGW
...
FossilOrigin-Name: cba0206a15f30313e16a08634995ebfd5d325d83affb859a215e72509f539b4e
2018-01-09 02:27:13 +00:00
mistachkin
562f0c8e46
Improve portability of compile-time MinGW detection for the command line shell.
...
FossilOrigin-Name: 4a7236140cb0f40fa846da4673a0d56218def1929d58cf016909ce881a681140
2018-01-09 00:28:24 +00:00
mistachkin
88a1d6b92c
Fix harmless compiler warnings.
...
FossilOrigin-Name: 1adf4e60391326ba699260402c06604ea25b456e903157ecb05017e7ea954fc4
2018-01-09 00:26:39 +00:00
drh
91694dbdd2
Test cases for sqlite3_normalize().
...
FossilOrigin-Name: 658f42257d56a3562dfa8e55023c6e497f55c565cd751d942de3a9e0cb2fa708
2018-01-08 20:04:57 +00:00
dan
7c15ac1ada
Update the zipfile module so that it matches the documentation.
...
FossilOrigin-Name: 7e7e472fa91a2bad2e521d4d67f176c8eb9edc1a07b283e425ea0fa2b6abba1f
2018-01-08 19:59:59 +00:00
drh
d19866bb98
Special handling of the NULL keyword. Sometimes it is a literal, and sometimes
...
it is a keyword.
FossilOrigin-Name: db5d138e97f22ad4d4d11dbef96df93696ba0e557809066bc263ca3c3898f349
2018-01-08 19:29:28 +00:00
drh
ef42481224
Add IN-operator normalizating and the SQLITE_NORMALIZE_CLI compile-time
...
option for generating a stand-alone program.
FossilOrigin-Name: d77dbb398afa80c1b3373c55f278491e83d5c80ddc22dbc303876bdcbc127df9
2018-01-08 19:18:27 +00:00
dan
d4bb7c180b
Fix problems in the sqlite3expert.c code revealed by -fsanitize.
...
FossilOrigin-Name: 7a93dd784bfdbf01927979a61643796e0901d9ac285fe4214677838def93a9a4
2018-01-08 17:34:15 +00:00
dan
4064a4cc58
Add an "ifcapable trace {}" block to a test in fkey1.test that uses SQL
...
tracing.
FossilOrigin-Name: 7182591d351dde22ed2f6a60521d1d7c10a610d702e79693412efc6938167be0
2018-01-08 17:12:54 +00:00
mistachkin
1bc1e2fb5d
Remove a superfluous define from the 'fileio' extension when compiled for Win32.
...
FossilOrigin-Name: 6dcba6693f064b0e21360c5eab18abe4a1534f6699b5d7b92e60eab6be14c347
2018-01-08 17:09:05 +00:00
dan
dcfbff9a86
Fix a malloc/sqlite3_free mismatch in the shell tool code.
...
FossilOrigin-Name: fe053b2ecdc04b918367fa503bf10292fd7cd84a6929670857b2e9153df4d1f9
2018-01-08 17:05:32 +00:00
drh
a41f2855e9
First code for an auxiliary function that will normalize an SQL statement.
...
FossilOrigin-Name: 84814aac81e54f03430f180926156ab0fc01e22bbce2bb228b698ea0d4a588ea
2018-01-08 16:54:26 +00:00
mistachkin
98dfb2fc08
Fix compilation of 'sqltclsh.exe' for MSVC.
...
FossilOrigin-Name: abb112d9e1a51c1c2f15d1e5f3dc161c9a947841f69a56715f5f1c62603096b2
2018-01-08 14:24:08 +00:00
drh
a5da4ef4ad
Avoid the use of utimensat() on older unix platforms.
...
FossilOrigin-Name: 90cb01d8d6ac12d0b88f2952a75aeefa81ba66f5e4a5377fdd8b9f86aec8e927
2018-01-07 23:28:10 +00:00
drh
03491a1a1a
Remove the dependency on test_windirent.h from the generated shell.c file.
...
FossilOrigin-Name: 0a50c9e3bb0dbdaaec819ac6453276ba287b475ea322918ddda1ab3a1ec4b58b
2018-01-07 21:58:17 +00:00
drh
8682e12190
Modify the sqltclsh startup script to look for a properly formatted
...
SQLAR at the end of the executable. Fix the CLI so that it automatically
links against appendvfs and so that the --append command-line option works.
FossilOrigin-Name: 67c4a8c6881e33b830aa27c80e7e3d697a4222939edd77cd5ca77ece16471ea4
2018-01-07 20:38:10 +00:00
drh
acd6fdee98
Improved comments on the sqlar.c and compress.c extensions that describe
...
the differences between the "zlib format" used by SQLAR, the raw deflate
format used by ZIP, and the custom format used by compress.c. No changes
to code.
FossilOrigin-Name: c13415c5caf06eaa73086c500907451dfcdfd1354ac4a9ab63edb7255edbfa1b
2018-01-07 19:52:28 +00:00
drh
1fa6d9f96f
The shell detects and opens ZIP archives using the zipfile extension.
...
FossilOrigin-Name: 05c99eb8cefbb3366b6d4ae91e10aa0c82bdf5ea361f4b3375413783af9167ac
2018-01-06 21:46:01 +00:00
drh
e37c0e1ce7
In the shell, include the ".archive" command only if compiling with
...
SQLITE_HAVE_ZLIB. Add ".archive" to the ".help" output.
FossilOrigin-Name: 366469f5603367fabcadfc9ffe8cd1e23c649fea49a560178ca0858a16a7e4d1
2018-01-06 19:19:50 +00:00
drh
afba1802a0
Better whitespace in the "CREATE TABLE sqlar()" statement for the ".ar"
...
command.
FossilOrigin-Name: 252ee55a7fc0b068b707af27bd912e684c28320996e78f0675217046b8c2fb49
2018-01-06 15:49:57 +00:00
drh
11be81d413
Improved output from ".schema --indent" when a column definition is followed
...
by a comment.
FossilOrigin-Name: 87da7efff07327278b1437f862ed8683c2d5d6ada7ea7461601a58f9762646b4
2018-01-06 15:46:20 +00:00
mistachkin
5e6f782f11
Remove a trailing tab from the Makefile for MSVC.
...
FossilOrigin-Name: 00cc26e34d2b81f140b031aa2f9ae0e2a4835cdd261d68f94b3e18a1388ca73d
2018-01-06 14:44:29 +00:00
mistachkin
0476b95c43
Minor tweaks to the Makefile for MSVC.
...
FossilOrigin-Name: 2f6cc5d8a0d9d961d1daf46e8725f7373f740afa788cf99ede9689f49d3a54ec
2018-01-06 14:43:33 +00:00
drh
4574db78a4
Add the appendvfs extension and code for the sqltclsh.exe executable.
...
FossilOrigin-Name: b0a43e325c53ec0df50fd41acffbbee65eac47b9318868e6959cd39da66fa8d6
2018-01-06 13:42:27 +00:00
drh
6b9986e84a
Fix the appendvfs so that it leaves sqlite3_file->pMethods as NULL if it
...
fails to open.
FossilOrigin-Name: 46b341e3ad11b807ae50f001b970299de7ea0d523dbb639ee10f1d5aca5d958b
2018-01-06 13:33:21 +00:00
drh
9dea173154
Add sqltclsh.exe to the windows makefile.
...
FossilOrigin-Name: a6d5c7c2aabd70b4fb2bd8f6278f70272a5bd166adf2f7225ea582e10a46fafa
2018-01-06 04:34:05 +00:00
drh
1e506b5527
Make sure i64 and u64 typedefs are available throughout shell.c.
...
FossilOrigin-Name: 656fb5aab32f40412389e43de209867cedee1589533949cc8c01ba24218ea434
2018-01-05 21:01:37 +00:00
drh
f5c75626ff
Fix the shell.c.in amalgamator script so that it avoids generating
...
redundant typedef statements.
FossilOrigin-Name: 6c53c740cb4f62305689ea0a73beca83e71ed86707094e850bed975965c8c9f2
2018-01-05 20:30:54 +00:00
mistachkin
2f74b3c3ab
MinGW does not define the S_ISLNK macro; therefore, define it in the shell when needed.
...
FossilOrigin-Name: 73023febbe57495a22db05904bd6ddff439d6c25970cbe87e0ba4a923f3e8a29
2018-01-05 20:26:06 +00:00
mistachkin
f2e8aa637e
Skip running the 'zipfile' test if the necessary static package cannot be loaded.
...
FossilOrigin-Name: 5bc816ec4010c20407396a1051e9f9b0a360ca27c0a99dafa867225cf974e306
2018-01-05 20:13:33 +00:00
mistachkin
acae8c3e5d
Fix shell compilation with MinGW by including the 'dirent.h' header.
...
FossilOrigin-Name: dfe510b51046a53c7f5c54fe73ec9de3364923eabd4b909c11984552e6bea406
2018-01-05 20:08:46 +00:00
drh
411dfd4e6d
Fix the autoconf makefile so that it builds testfixture correctly.
...
FossilOrigin-Name: fbfe04c0b4f261789cbda3d2e98d12508181c283eab0bb757b081f0383e891bd
2018-01-05 19:49:54 +00:00
mistachkin
b3ec2e1f4a
Sync up the autoconf Makefile for MSVC.
...
FossilOrigin-Name: da8712bdb8f69dee9efb42b74d0b2ec10043f281c5f93e2724078bdf1370ecb1
2018-01-05 19:28:16 +00:00
mistachkin
992fdfc5d8
The 'releasetest' tool should pass the TCLDIR macro for MSVC to nmake.
...
FossilOrigin-Name: eaa9c0dda73808f1458f9968be59947636fbd4781c9fc535eb50bcaf790093c1
2018-01-05 19:27:19 +00:00
mistachkin
370732a83a
For the MSVC Makefile, the 'sqlite3_checker.exe' target requires the Tcl library.
...
FossilOrigin-Name: 38109a47ffa977f1f962af2e183285d4e5db6fac2344868c5f1de64779dd0839
2018-01-05 19:25:52 +00:00
drh
b2b7274e10
Add the ".ar" command to the command-line shell.
...
FossilOrigin-Name: 148b8aee78e40cab9a758a920589bd3ca8fc1c45cc93598bc50d96b85cd17e6c
2018-01-05 19:01:05 +00:00
drh
7ee8836e08
Fix a bug introduced by efforts to reduce compiler warnings in
...
check-in [364ac333b030f0]
FossilOrigin-Name: 1d6cee9ad448b10e69f351ef9dbec09110c5b189cba8734e637f41abe8f35bf8
2018-01-05 18:51:25 +00:00
mistachkin
af23899318
In the Makefile for MSVC, the default target should not include binaries that link against the Tcl library.
...
FossilOrigin-Name: 5c6d0a1d58533feb4ea6926f4d3611664a275ad216492b424056276da38e84a2
2018-01-05 17:40:38 +00:00
mistachkin
5d7503a789
More adjustments to MSVC Makefile dependencies for zlib.
...
FossilOrigin-Name: bb650e5d14642b925c5ea65ba7991b35c4e941405d2557d542b99c66ca4bc130
2018-01-05 17:12:13 +00:00
mistachkin
9a5efdec70
Fix compiler warnings.
...
FossilOrigin-Name: 19aabccfe34c956599f33cd3ddc846816adc06784c2496838f1ef53059e038e5
2018-01-05 17:10:49 +00:00
drh
c932033630
Fix missing dependencies for shell.c in all makefiles.
...
FossilOrigin-Name: 45495d3e256fef4d0669754726878ed17248fc781397ebb0421149ee9492f977
2018-01-05 16:23:43 +00:00
mistachkin
590522c18e
In the Makefile for MSVC, only attempt to link against Tcl when it is needed. Also, only compile 'zipfile.c' when use of zlib is enabled.
...
FossilOrigin-Name: a33ad33cf031edee273afa4735c8564870465be22962a9c277e4ac43a307ff2c
2018-01-05 16:05:51 +00:00
mistachkin
91f7211caa
Add some missing #ifdefs for building without zlib.
...
FossilOrigin-Name: c63fb1700c0f67d90857b1f3859c203880d0939f356a64d8ae7cafc814ea72bf
2018-01-05 16:03:52 +00:00
drh
af2770f842
Fix compiler warnings.
...
FossilOrigin-Name: 364ac333b030f0e3372937df723f1098183da87913ba0e8ae162864ee24a50d3
2018-01-05 14:55:43 +00:00
dan
303b02cc0b
Fix an LSM problem causing the wrong amount of "auto-work" to be performed
...
under fairly obscure circumstances.
FossilOrigin-Name: a4876672edea4e96103efd2463ce9a34a0b994a8744c941660940578aafbd454
2018-01-05 11:34:18 +00:00
dan
8503d6451b
Fix an LSM crash that could occur if LSM_CONFIG_AUTOFLUSH was set to 0.
...
FossilOrigin-Name: 05346f83d587e6049da0e8ec5f62c749daa9e80359cf48f8c37e333e6a1e7d2a
2018-01-05 07:57:54 +00:00
mistachkin
47be3b23e9
Revise detection of 'tclsh.exe' in the Makefile for MSVC.
...
FossilOrigin-Name: 45fabd868dc690894f5a911d373a3d6410ba2d95d177307a42009afc8ae296cc
2018-01-05 01:22:37 +00:00
mistachkin
1152250b44
Enhance the 'zlib' build target for MSVC.
...
FossilOrigin-Name: 0bc3b76ec9b83f3034e282ea0369a53673e2cb64dde42e8cf5e800f6d642d527
2018-01-05 01:00:17 +00:00
mistachkin
3acaf4c07a
Add missing #ifdef.
...
FossilOrigin-Name: a0e18aea0950f5ebdf4112f826ff64d24e8660b341031132dcb65bb15579ef1c
2018-01-05 00:53:03 +00:00
mistachkin
104958cab0
In the 'fileio' extension code for Win32, use the FILE_FLAG_BACKUP_SEMANTICS flag when setting the file times, just in case the file is actually a directory.
...
FossilOrigin-Name: 4f3444060057127bce81787ed83cb5225cdbdd577596bc3fb06a40be2208f238
2018-01-04 23:49:08 +00:00
mistachkin
e55988074f
Remove 'timespec' related code from the shell that has no effect and a (now) superfluous 'timespec' typedef from the Win32 dirent header file.
...
FossilOrigin-Name: 57dac995dd028e4b7c8ce6806f5769831715c1bb9b886318fceb3fa50563d537
2018-01-04 22:50:52 +00:00
mistachkin
dfdfd8c7f2
Get the shell enhancements compiling with MSVC.
...
FossilOrigin-Name: 335387f9e0d4569097d34cd99cd332b38a282e9b7ae25f088eb47df5c25837ef
2018-01-04 22:46:08 +00:00
drh
c76ed3d57d
Merge in all recent trunk enhancements.
...
FossilOrigin-Name: 406f79183736b6ad360169b837172afef2c82a4312f5787db08c54167a44b15e
2018-01-04 19:54:55 +00:00
drh
35100fb194
Remove the snarky "_supported_" qualifier from the name of the
...
sqlite_offset() SQL function.
FossilOrigin-Name: a6eee0fcd89d3958f8720ebdb5f0a8558b4795d747128091dae283eb81c4f74f
2018-01-04 19:20:37 +00:00
drh
64c1990c00
Fix a broken documentation hyperlink. No code changes.
...
FossilOrigin-Name: d91e3f3d343d281af374dd23eea333e61228539023ad5c5aea622085e5863bc7
2018-01-04 16:40:44 +00:00
drh
9eb8dbad4d
Add another test case (found by OSSFuzz) for the problem fixed in
...
check-in [2846458a] and described by ticket [dc3f932f5a147771].
No changes to code.
FossilOrigin-Name: 4165fae920a1176c68bfaa1f2cfe17df7f8dd8793519d458b71e3e63670b5495
2018-01-03 01:47:30 +00:00
drh
d9620b8555
Fix code indentation. No logic changes.
...
FossilOrigin-Name: e115f2583499df0c7ee991d372bed4b89aa717b10a4e4b10977864390cb4fc11
2018-01-02 21:29:42 +00:00
drh
4d795ef7e4
In the constraint resolution logic, be careful not to cache column values
...
in registers whose initialization might be bypassed by an OP_NoConflict opcode.
Fix for ticket [dc3f932f5a147771] reported by OSSFuzz.
FossilOrigin-Name: 2846458af5d029a8e4fdcc8f50873a44e57897bbfe6aee8a23a01ffc34c5579f
2018-01-02 18:11:11 +00:00
drh
595a0e2a4a
Enhance the memvfs extension so that it can be read/write.
...
FossilOrigin-Name: 04c9197d589666299aef86ee6a56df63448c050274c9fba4af94f932752be237
2018-01-02 16:02:50 +00:00
drh
9199ac1048
Updates to the sqlite3_file_control() documentation. No changes to code.
...
FossilOrigin-Name: 240e32ab1f2a18e3c9b92f577b1cc8f8ecb4c68c44eac863d859491e042cb72a
2018-01-02 13:48:48 +00:00
drh
cde7b77932
Do not attempt to use pragma_module_list in the command-line shell unless
...
it has been compiled with -DSQLITE_INTROSPECTION_PRAGMAS.
FossilOrigin-Name: 39ca5fcd31c902cbade4da05125b0dbf2bc5e2b8901af1645f113c9d3dbc8209
2018-01-02 12:50:40 +00:00
drh
667a2a25ba
The ".schema" command in the command-line shell now shows the structure of
...
table-valued functions and eponymous virtual tables if they are named on the
".schema" command line. Example: ".schema sql%" shows the structure of
the "sqlite_dbstat" and "sqlite_stmt" virtual tables.
FossilOrigin-Name: f80f6651df0b2843c6c9619a8f3e05c56cd50363402800a2e166e6eb664f7768
2018-01-02 00:04:37 +00:00
drh
1d315cf7b8
Improved name quoting and escaping in the auxiliary column info section
...
of the ".schema" output for views and virtual tables.
FossilOrigin-Name: d64b14e37d9624bf5d86059ddd091170d8e6d341a8043f84548b9b3dbb96a908
2018-01-01 21:49:43 +00:00
drh
ceba792a2f
In the output of ".schema", show the column names of virtual tables and
...
views in a separate comment.
FossilOrigin-Name: 2234a87fa905312b23f46d52e06cff7cacbf23b187e16c4398a42e6bdae0ee9f
2018-01-01 21:28:25 +00:00
drh
c22b716e31
Minor simplification to the ".schema" logic in the command-line shell.
...
FossilOrigin-Name: add45c47288248ca3745e0fceb5e0d9062a852d173d93ff2ff1a0f8fdf3237dc
2018-01-01 20:11:23 +00:00
drh
470fc9ddaa
Enable the introspection pragmas for command-line shell builds.
...
FossilOrigin-Name: 0b04223f256f5c1e06fa6e899727815ebf650f2dfcf8f36d6cbfb6cb62d4ead8
2018-01-01 19:33:12 +00:00
dan
0cde0c62b1
Have zipfile support DELETE commands.
...
FossilOrigin-Name: 01d4e866fb7b01aeada537d41c4a47747c7810e2028f51077ee5b8b78c348954
2017-12-30 18:32:27 +00:00
dan
db0cb303ad
Rearrange things a bit so that writing to a zipfile does not invert the order
...
of objects it contains.
FossilOrigin-Name: f69e8194bfa7de436c96028730ebd57f186d2e6207792e172e1aa38c7f4211c9
2017-12-30 14:26:29 +00:00
dan
373dc3bb3f
Update ext/misc/zipfile.c to support creating and adding entries to existing
...
zip archives.
FossilOrigin-Name: 2dec2dec592c0726ebe87b841b9c8d493dea7074a99f278eb1bf0b744d658a9d
2017-12-29 20:19:03 +00:00
drh
c64487b9c8
Add support for the sqlite_unsupported_offset() SQL function if and only
...
if compiled using -DSQLITE_ENABLE_OFFSET_SQL_FUNC. Use that definition
when compiling the command-line shell.
FossilOrigin-Name: 4f1f1f521ae6da96b899e10bfeff6bc1ab7a45de0705076febaae20b441f48c6
2017-12-29 17:21:21 +00:00
drh
9af41ff452
Stricter test cases.
...
FossilOrigin-Name: 9406c0a685fd5ff3516a66402b0514a1440652822a5eecf0b7af85929f3079e8
2017-12-29 16:37:33 +00:00
drh
23b440f883
Fix a typo in the MSVC makefile.
...
FossilOrigin-Name: 89e5720a8d8d46d4e2f16f15678e91336117e64abc977174e2b345a30308d0d2
2017-12-29 15:19:03 +00:00
drh
092457b18c
Change the function name to sqlite_unsupported_offset(X). Only enable the
...
function if compiled with -DSQLITE_ENABLE_OFFSET_SQL_FUNC. The makefiles add
that definition to shell builds.
FossilOrigin-Name: 7a7f826e324b1a2c332e2f1d0740fd0babffcaca6275a798572f02ad367b99ab
2017-12-29 15:04:49 +00:00
drh
fe6d20e9f4
Enhance location(X) so that it works with indexes and WITHOUT ROWID tables.
...
The function might return an offset to the main table or to an index,
depending on whether the column X would be loaded from the main table or
from the index.
FossilOrigin-Name: dd94d6a880dfec4bddd247239b815b84964f804d24841e25f33f1d46a4b5274d
2017-12-29 14:33:54 +00:00
drh
7a8573bafa
Merge recent enhancements from trunk.
...
FossilOrigin-Name: 6251e438f2a76170fd1e95aa512a46086ed88ab93b9b97a1dba97c4558689305
2017-12-29 13:35:09 +00:00
drh
ee052a1c94
Add test cases for the undocumented behavior of duplicate columns on an
...
INSERT or UPDATE.
FossilOrigin-Name: f4349c0c26611de8a7d5beb99431a575cf531cdeb0ca2413efabcf0a61e6f424
2017-12-29 12:50:43 +00:00
drh
6e42757644
The output of sqlite3_trace() now shows each command of a trigger as it is
...
evaluated. This feature involved major changes to the parser, such as
removing the ExprSpan object and replacing it with a new mechanism for
capturing the original SQL text of phrases in the input SQL.
FossilOrigin-Name: 0fdf97efe5df745510c6b4b377a8ee5683a3a237630bfbd0f56e57c7c6e5b246
2017-12-27 22:09:53 +00:00
drh
e307e11d0a
Omit all sqlite3_trace() output from the triggers associated with
...
foreign key constraints.
FossilOrigin-Name: fda08e3d10cc850664a356efdafcfc68187053849e1b00991b0b35d892a6776b
2017-12-27 21:30:34 +00:00
dan
b5090e4897
Improve the shell tool ".ar --list --verbose" command.
...
FossilOrigin-Name: b64681a644c419bb98d00980a6cb56ef5a0aff5ef5321955631f0b4c88aac283
2017-12-27 21:13:21 +00:00
drh
f259df5fc8
Show the text of individual statements within a trigger, as they
...
execute, as comments in the output from sqlite3_trace() and sqlite3_trace_v2().
FossilOrigin-Name: fe3d2b97d8945e6a9636472f77bcdc92cc5dda8b3e6e3a4fcbdd0a212ea5b9aa
2017-12-27 20:38:35 +00:00
drh
9b2e0435d2
Add and use the internal sqlite3DbSpanDup() interface.
...
FossilOrigin-Name: a8e1545cb7aacb6a26a8c92a3ad4a3d584d150c3a00d2828c8adbb1ee19fcb6d
2017-12-27 19:43:22 +00:00
drh
908cc6207f
Merge recent enhancements from trunk.
...
FossilOrigin-Name: 76373091354f27577e5235e96cfaa4b31429a38d1e0e1d6e094c4cc323b92a0a
2017-12-27 19:27:26 +00:00
dan
5a78b81b1b
Have the shell tool ".ar --list" and ".ar --extract" commands support zip
...
files. Currently the "-zip" switch is required.
FossilOrigin-Name: a532a0f6fd59e81086d46f09151ba7fb26725198231d902c71d0f95cb01dbe91
2017-12-27 18:54:11 +00:00
drh
2c804becea
Enhance the Lemon parser generator so that it creates a faster parser at the
...
cost of slightly larger parser tables. Add the ability to measure coverage
of the generated state machine when compiling with the -DYYCONVERGE option.
In SQLite, add the SQLITE_TESTCTRL_PARSER_COVERAGE test-control to query the
new parser coverage feature.
FossilOrigin-Name: 1b22b42e59793af19c69a2e5f6822883cc2687d4a0d9b9280bbff885276c6baa
2017-12-27 18:19:06 +00:00
drh
cf8e0e9cb7
The previous check-in had an error in the coverage reporting logic.
...
FossilOrigin-Name: ec9b19eb652e81cd3c8a5595eb39aac3aca4abe72136c4b65c9cc257594a9c92
2017-12-27 17:36:58 +00:00
drh
7038a991b0
Change the coverage measurement logic in the lemon-generated parser so that
...
it only checks for coverage of state/lookahead pairs that are valid syntax.
It turns out that some states are unreachable if the lookahead is not valid
syntax, because the states are only reachable through a shift following a
reduce, and the reduce does not happen if the lookahead is a syntax error.
FossilOrigin-Name: 9dce46508772bd0f9e940c4d44933154044bb58c1b3511dd0143287bf795dd6b
2017-12-27 17:14:50 +00:00
drh
7e7b753158
In the lemon-generated parser, do not report the End-of-input character and
...
the wildcard character as missed coverage.
FossilOrigin-Name: 3fe964873da16c0e0b1c4f1945f965d4137df7a307acd6a3eb6585ffbaa2afd1
2017-12-27 16:13:22 +00:00
drh
4396c61959
In LEMON, fix an off-by-one error that can make the lookahead table one
...
byte too smal.
FossilOrigin-Name: 93792bc58a2eccc7e07b14307388350bb376db32c5055b79a44e4fa8ff91d58e
2017-12-27 15:21:16 +00:00
dan
9ebfaad25d
Add new file ext/misc/zipfile.c, containing a virtual table for read-only
...
access to simple zip archives.
FossilOrigin-Name: 8e366b99b13d765d8bf000a7ec5919e582702e51dc07c27a746b6002898a2302
2017-12-26 20:39:58 +00:00
drh
22716cbb0b
Change the lemon-parser coverage report format to report all state/lookahead
...
pairs and indicate on each whether it is hit or missed.
FossilOrigin-Name: 86e30fc284c740b55f75884b67988fe837b28878f586f6ec8850ecf80164e700
2017-12-26 18:32:06 +00:00
drh
4fb5c2dcc1
Merge bug fixes from trunk.
...
FossilOrigin-Name: d76e12066fa6950f877cbe33b1892e2b0afa948978815d5b9a90cde1fff8ec98
2017-12-26 18:14:53 +00:00
drh
0d9de99c5c
Add support for measuring and reporting coverage of the parser state machine
...
using the SQLITE_TESTCTRL_PARSER_COVERAGE test-control.
FossilOrigin-Name: 1253a872dbf48656d4efd588ab61223a5ac550d9b2b932249d6ba585276ba573
2017-12-26 18:04:23 +00:00
drh
02a43f6def
Faster and smaller implementation of sqlite3AtoF() based on a suggestion
...
from Cezary H. Noweta.
FossilOrigin-Name: fd2e0e7a770c2ce9355068aad1024c3d2861c104fd3be304a91c55ca742155fa
2017-12-26 14:46:20 +00:00
dan
c8f44d245c
Fix crashes that could occur if SQL NULL values were passed to the built-in
...
FTS5 snippet function. Edit: breaks amalgamation builds.
FossilOrigin-Name: 6a790b67a0a5c698526db16ea262b13ecdd1b6ca74e80bdccfcad88ddbdc933a
2017-12-26 14:32:25 +00:00
dan
f6c37dbc8c
Add options to speedtest1.c and speed-check.sh for testing performance of
...
floating-point computatations.
FossilOrigin-Name: ebfea8728fec955b1d74b1d0a3de498fd1a32e8b39572a8fdab606ed87b169b4
2017-12-26 14:30:44 +00:00
drh
5060a67c4d
Fix an assertion fault on a syntax error input caused by check-in
...
[6b2ff26c25bb9da3]. Problem discovered by OSSFuzz.
FossilOrigin-Name: 90d6e4f10d3055a776d24854c442a2a68e726af8fc382cdb6241a834082e4c4c
2017-12-25 13:43:54 +00:00
drh
3a9d6c7156
Enhance LEMON so that it generates the action table in such a way that no
...
range check is needed on the lookahead table to verify that the next input
token is valid. This makes the lookahead table slightly larger (about 120
bytes) but helps the parser to run faster.
FossilOrigin-Name: 7eb0198d0102e97e4b7ad9e359d95985e55e09c510ea4b360265ac8feb9ed814
2017-12-25 04:15:38 +00:00
drh
ef53a9f0af
In the LEMON-generated parser, avoid unnecessary tests for the acceptance
...
state.
FossilOrigin-Name: fdbb35c54f2b6cb65d04ac295f207ff3e69360e0558348c77eb5e62691807046
2017-12-25 00:10:05 +00:00
drh
5c8241b875
In the LEMON-generated parser, rearrange the meanings of integer action codes
...
so that reduce actions occur last. This means that the most common case
(reduce actions) can be recognized with a single comparison operation, thus
speeding up the main parser loop, slightly.
FossilOrigin-Name: 7bfe7a360261ac7227840db49487c2f0fe338a2f1b868fcaada1e04a8d2b8f7a
2017-12-24 23:38:10 +00:00
drh
512795dfea
Fix a NULL pointer dereference after a syntax error that can occur as a
...
result of check-in [6b2ff26c25bb9da3] yesterday. This problem was
discovered by the OSSFuzz.
FossilOrigin-Name: d49afb8f9804e96662d1e3cadc4c6643908706d848a53d5ed019919c98f2ccba
2017-12-24 18:56:28 +00:00
drh
e58f74f680
Improved parser tracing output.
...
FossilOrigin-Name: 25be5750545b7b0ed9e1a1baca31611b354519688f875aa1590b21bb6ff42f1b
2017-12-24 17:06:41 +00:00
drh
d3f5d6110b
Grammar changes: the sclp non-terminal should always be followed by a scanpt.
...
FossilOrigin-Name: 74a0181fc016fb0b7934188cfcc2ec26c689f0d33cc42453875f4392b7240d3a
2017-12-24 17:01:54 +00:00
drh
ec64c6cfd2
Improved parser tracing output.
...
FossilOrigin-Name: c4951833c2b976223c2393d82fd2606068c71cd19612ca9df4e26debab980e32
2017-12-24 14:14:21 +00:00
drh
1be266ba08
Remove the ExprSpan object. Instead, keep track of the test of subphrases in
...
the parse using the "scanpt" non-terminal.
FossilOrigin-Name: 3eab7bdc44e0878b83dc86f27058a40c2ffafeacadc566f03693f6dc7e40a504
2017-12-24 00:18:47 +00:00
drh
844cf56bc6
Merge recent enhancements from trunk.
...
FossilOrigin-Name: edceaccd66a65d6b36e53ce33d760a7bd9c2261a592d12189f5f55417b5d5d74
2017-12-23 18:40:39 +00:00
drh
60ba57d9c5
Merge enhancements from trunk.
...
FossilOrigin-Name: 150f07fec1e6d1fc0601820d717d8712fc513fe0d4bed67c8679eb51bca30d53
2017-12-23 18:34:49 +00:00
drh
88a921ce60
Simplification to the error handling logic in the extension loader.
...
FossilOrigin-Name: 07c773148d8db185fa54991df09298b64f4fef28879e6c9395759265e8183977
2017-12-23 14:39:36 +00:00
drh
ab42a2fe8e
Improve the error message that comes back when sqlite3_load_extension()
...
fails because the named file exists but is not a valid shared library.
FossilOrigin-Name: 05fee1a21ea398f1e4d6f1cf361657eff25ed6cd8f85ab398262dcfd30da57e9
2017-12-23 13:55:43 +00:00
drh
755b0fd358
Move the generation of output column names earlier in the case of a
...
CREATE TABLE AS. This is a fix for ticket [3b4450072511e62] and a
continuation of check-in [ade7ddf1998190b2b63] that fixes cases of
ticket [de3403bf5ae5f72ed6] that were missed previously.
FossilOrigin-Name: 6b2ff26c25bb9da344add79c93fb3e49fa034a89b38ef56e08e18d21de61f707
2017-12-23 12:33:40 +00:00
drh
07859486c6
Add a SELECTTRACE() macro to indicate when column names are assigned to
...
a SELECT statement. This helps with debugging for tickets like
[de3403bf5ae5f72e] and [3b4450072511e621].
FossilOrigin-Name: 8f194008c3aaa4ef287200e37bc5278ba9c377a7091ee3f95bad66513226b083
2017-12-23 11:51:40 +00:00
drh
5a699a01ca
In the sqlite3TreeViewExprList() routine, show the "AS" alias name for
...
each expression in the list, if it exists.
FossilOrigin-Name: 5efd854fe21470336ba4140294b6c90ef39af32e103b92c664438d7485c50f9a
2017-12-22 19:53:02 +00:00
drh
efc88d020c
Modify the new sqlite3_vtab_collation() interface so that it takes a
...
pointer to the sqlite3_index_info object passed into xBestIndex rather than
an sqlite3 connection pointer, which the xBestIndex method might not have
access to.
FossilOrigin-Name: 5c1fe6666019147a26480b5db1bf2f474a5d072c234c736f16ed5d2a9a040b3f
2017-12-22 00:52:50 +00:00
drh
ef7231b865
Fix SQLITE_DBCONFIG_TRIGGER_EQP so that it works even if SQLITE_DEBUG is
...
not defined.
FossilOrigin-Name: afbbfff72002089fa73b5473cc98360df14288d489e93e667332d6e884ef60da
2017-12-21 21:41:13 +00:00
drh
ada7045eab
Add the ".eqp trigger" option to the ".eqp" command in the command-line
...
shell. Implemented using the new SQLITE_DBCONFIG_TRIGGER_EQP control.
FossilOrigin-Name: 2c51644a12a638d89e4f7cc3fd561236ce424f2d4e1db31f1e8388f77add02b8
2017-12-21 21:02:27 +00:00
dan
2e1ea57f8b
Add the ".expert" command to the shell tool's ".help" output.
...
FossilOrigin-Name: fc6193af5d216b4066fbc47e75a7d0538fd5fda40b94ee15e2ff4037ea89221b
2017-12-21 18:55:24 +00:00
drh
36e31c6915
Change the name of SQLITE_DBCONFIG_FULL_EQP to be SQLITE_DBCONFIG_TRIGGER_EQP
...
(which we can do without breaking compatibility because the former name has
not yet appeared in an official release) and streamline its implementation.
FossilOrigin-Name: fffc7685d19f78ec322a4e834ad727af20a17e2e1c35680e4b1c4162c4786f60
2017-12-21 18:23:26 +00:00
drh
3c5d285762
Add the SQLITE_DBCONFIG_MAX preprocessor macro which will always be equal to
...
the largest SQLITE_DECONFIG value.
FossilOrigin-Name: 95d4103348d14f9d4c3fee30bd1d882f717b047b2b92f8fef52bec4878281907
2017-12-21 14:46:11 +00:00
drh
fafd6fbb49
Add the experimental ".expert" command to the sqlite3.exe shell.
...
FossilOrigin-Name: 0821bae7afefed98102c81104b4a477e81816bb1f43353c80865411771e3c5a7
2017-12-21 02:17:02 +00:00
drh
0872e268ab
Lowercase local variable names in the SHA3 extension in order to avoid
...
collisions with macros in termios.h.
FossilOrigin-Name: 3ec7371161bd617e40328aa015b09acc2b37b0b5d269a87050a0c57163f92801
2017-12-20 23:46:29 +00:00
dan
e42e1bc594
Fix crash in sqlite3_vtab_collation() when called for an IS NOT NULL
...
constraint.
FossilOrigin-Name: ad38d2c4f073705c02c7b38675e8ae86fe4a794d54eb796e7ed51a905824d5f5
2017-12-19 18:56:28 +00:00
dan
43efc18669
Experimentally add the SQLite expert functionality to the shell tool.
...
FossilOrigin-Name: 51068dbaeaef13bb80af8126b8c4f3a454dee63de5127d706db50bf789533e60
2017-12-19 17:42:13 +00:00
drh
2fc865c115
Add an experimental location(X) SQL function that attempt to return the
...
location of the payload within the database for the record that contains
column X. location(X) returns NULL if X is not an ordinary table column or
if SQLite cannot figure out the location because it is using a covering index.
FossilOrigin-Name: 51be9558164301c5dd4df23ab8b3e67de0b522f8d36f79f3d84d45d3dc2a83a4
2017-12-16 20:20:37 +00:00
dan
ebeffef36c
Add the sqlite3_vtab_collation() function, which allows an xBestIndex callback
...
to determine the collation sequence that SQLite will use for a comparison. And
the SQLITE_DBCONFIG_FULL_EQP configuration option, which enhances the output
of "EXPLAIN QUERY PLAN" so that it includes statements run by triggers. And
the code for the sqlite3_expert extension and command line application.
FossilOrigin-Name: 4c782c950204c09c1d8f857c39c4cf476539ec4e7eee6fd86419d47cf0f8b9e0
2017-12-16 19:36:52 +00:00
dan
11546779b7
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: d5b597b52a1213cdf382d96f4df3535727be0852b25bafd12bbef54da946c5f2
2017-12-16 19:16:24 +00:00
dan
d1b51d4955
Do not use the compress() and uncompress() functions in ext/misc/compress.c -
...
they are not quite compatible with the spec. Instead use new functions in
ext/misc/sqlar.c.
FossilOrigin-Name: 7652b3c2374084047b6c1da3e525e0cac34fe220597f81e793bc4fd9f33358da
2017-12-16 19:11:26 +00:00
drh
468c649331
Add unnecessary initializations to some local variables in the rtree module
...
to suppress false-positive compiler warnings coming out of MSVC.
FossilOrigin-Name: 64487d658cb3b6c8c67f1e198c70813c963de52599f3ea974bdc2aa432e74de9
2017-12-16 04:37:15 +00:00
dan
2c44e370f1
Enhance the "swarmvtab" extension. See header comments in ext/misc/unionvtab.c
...
for details.
FossilOrigin-Name: 01c173651ab22b7b0c139eded6f2ad8504efd09088df8ae6a3471230ebf2306f
2017-12-15 20:21:17 +00:00
drh
087316ceec
In the LEMON parser generator, provide reduce actions with access to the
...
lookahead token.
FossilOrigin-Name: 42af190f4f86ad60de02800054010fafd484ac86ca41e2a13799b2e583eea98c
2017-12-15 12:22:21 +00:00
drh
dd2a43a225
Fixes to the appendvfs.c extension. Add the "sqltclsh" application that
...
uses appendvfs.c to find its scripts.
FossilOrigin-Name: ee248b529c2396c5480fb99b0a1dc31032627ec8241eca4a8c0fff257bb4a088
2017-12-14 19:24:00 +00:00
dan
ac15e2d7cc
Have the writefile() function optionally set the modification-time of the
...
files it writes or creates. And many small fixes to the new code on this
branch.
FossilOrigin-Name: 7b51269caebe1492885fe9b965892f49a3f8bdb1d666b0203d594c30f9e83938
2017-12-14 19:15:07 +00:00
drh
233ff96ec5
The "apndvfs" VFS shim now appears to be working for both reads and writes.
...
FossilOrigin-Name: 7f7b72d83633922e2b5dbf0d3455d0fea72cc6b8925ffcb78dfbad7b3c4b26e9
2017-12-14 16:57:11 +00:00
drh
e483d349ab
Add the ability to write to an appended database. This check-in compiles
...
but is otherwise untested.
FossilOrigin-Name: e343c63cbd754f37c33c939cd0b6f1ecc6202e60c6e66cd65c23cc8d571a994e
2017-12-14 16:28:27 +00:00
dan
0d0547fec6
Improve error and usage messages output by the shell ".ar" command.
...
FossilOrigin-Name: b9d2d5d97291bf3d1392232e3705cca89dc7b918db2b08067b2b013ea39320e0
2017-12-14 15:40:42 +00:00
drh
32b5fdcaea
Bring in the latest trunk changes.
...
FossilOrigin-Name: 75d8517703f7efa33437079108e2c4ef0de1a118bbe1f4a86afdc34da09d3008
2017-12-14 14:50:49 +00:00
dan
7d935ab46d
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 803156cba8b056a1cb8d1bb186a57454afe72341abe7de1dfe529234c3415cd2
2017-12-14 13:55:01 +00:00
drh
84a6c85c64
In valueFromExpr() only generate a OOM fault if there have been now prior
...
faults.
FossilOrigin-Name: 3765aaf712998af5ffb6bc680a0c1419f2b5deb47ecbc1835ba5879127c4dbe3
2017-12-13 23:47:55 +00:00
mistachkin
3384ccb8bb
Add support for the 'lsm1.c' target in the MSVC makefile.
...
FossilOrigin-Name: 6de21deac469ab25378656f6f58115a92f5892428c6f2f3545c9bafac37e4a41
2017-12-13 22:42:55 +00:00
drh
258dfe48cf
An improved way of generating the SQLITE_READONLY_DIRECTORY error.
...
The error message submitted to sqlite3_log() is still correct this way.
FossilOrigin-Name: 1c0aa919ee429cd194820ec9c54084563f39e63fd399b23f859fc6703b429b15
2017-12-13 20:35:34 +00:00
dan
06741a3c9b
Add the shell tool ".ar --update" command.
...
FossilOrigin-Name: 825e3c037b03fc09d581aeda0193ff1d4062404414c7354cb649f99aa9022d25
2017-12-13 20:17:18 +00:00
dan
3f67ddf8f2
Add support for the "--list" command. And for arguments to the "--extract"
...
command.
FossilOrigin-Name: 32c4fa2552bb0fa7d7d143108457efae7a756d6cb14b1d59312e56efac3b2656
2017-12-13 20:04:53 +00:00
drh
a803a2cd98
New result code SQLITE_READONLY_DIRECTORY is returned when an attempt is
...
made to write on a database file that is in a read-only directory and hence
the journal file could not be created. This situation formerly returned
SQLITE_CANTOPEN, which less helpful.
FossilOrigin-Name: 3ec73c38f878d73d278fce99ba10c708dcc475835774f1e17769ff7315be6d7c
2017-12-13 20:02:29 +00:00
drh
472e41ea16
Correctly invalidate a column cache line when it is overwritten with NULL.
...
Fix for ticket [123c9ba32130a6c9d432].
FossilOrigin-Name: 65754dc3b830ef9482655d2e93c2cd4acaa7a8715a58d8309955d04378541f89
2017-12-13 18:01:52 +00:00
dan
34aebb88da
Change some LSM code internal typenames from "Blob" and "Pgno" to "LsmBlob"
...
and "LsmPgno". This allows the LSM code to be compiled as a single unit with
sqlite3.c.
FossilOrigin-Name: 30bf38d589adf0b2eb613e184ffb03ed7e625736cb04fd5c341328f72bc5ef4d
2017-12-13 15:32:33 +00:00
dan
62128540ef
Add script to amalgamate all LSM files into "lsm1.c".
...
FossilOrigin-Name: e32b69d73062e233b0ac853611d10b24546a346a603289ab0e339a3604ae2af4
2017-12-13 14:22:48 +00:00
drh
37874b5f74
Minor enhancement to two assert() statements in the default VFSes.
...
FossilOrigin-Name: 9cede8a83ca4cd88d504050115e1e89e7b3d3cd3cb2ffb5b8961e311a23ff5e2
2017-12-13 10:11:09 +00:00
dan
ece4b0c172
Add tests and fixes for the shell ".ar" command -f option.
...
FossilOrigin-Name: 1a9867973c9d6675fa5254fdd74f36004707a98a91593a188033cf5a49cc7a0b
2017-12-12 20:28:36 +00:00
dan
d4b56e5901
Add support for parsing options in non-traditional tar form to the ".ar"
...
command. Have writefile() attempt to create any missing path components. And
not to throw an exception if it is called to create a directory that already
exists.
FossilOrigin-Name: 38dbeb1e777aa7ec742aa27002ad4dcee28af520dc43de96e5c56c39f16574ff
2017-12-12 20:04:59 +00:00
dan
1ad3f61b81
Enhance virtual table "fsdir" in ext/misc/fileio.c. Add support for "-C" to
...
the shell command's ".ar c" command.
FossilOrigin-Name: 0394889afed2479773af594e2d9659cf58b8959004ebcdeaff8e08e5dae684ef
2017-12-11 20:22:02 +00:00
dan
2e6ca188c4
Fix a buffer overwrite in fts5 that could occur when processing a prefix
...
query.
FossilOrigin-Name: 92fc146bc2b781e7e2d7138b00e5ea649c6fee1c2b8449420460a1b3e5c9661b
2017-12-11 17:20:37 +00:00
dan
2ad0949db4
Add support for -C to ".ar x".
...
FossilOrigin-Name: 8cd70960c5ddf0d0b2c40b8b6af4ce6b0277ffdaf04f33fcb33227d2b99ad515
2017-12-09 18:28:22 +00:00
dan
88be020916
Improve parsing of ".ar" commands. Add new test file for the same.
...
FossilOrigin-Name: 840401cc8ce3a09e0663b46973ecd2856d9607be71d2d1e9b21f7df7a82dcbe5
2017-12-09 17:58:02 +00:00
drh
62be1fab6a
Fix a harmless API signature mismatch in the unix VFS.
...
FossilOrigin-Name: bab9de7fdda20a724f7c21ec2c25b488ece08b685f1e4fd15c9e73b6b4a0133a
2017-12-09 01:02:33 +00:00
drh
7e8515d8be
The query planner tries to avoids using indexes that use unknown collating
...
functions.
FossilOrigin-Name: 02013fc120bf71a8be3550c696a588af8c92f2209f8e5db530624878ddc8aa7e
2017-12-08 19:37:04 +00:00
dan
21540ae479
Add compile time switch SQLITE_ENABLE_ICU_COLLATIONS. For enabling ICU
...
collations without also enabling the tokenizer, the LIKE operator, the
REGEXP operator, or the unicode aware upper()/lower() scalar functions.
FossilOrigin-Name: a079f914522d7bc4b3d27d70114eb09adedfac936a64883e6ed8d382c428dd0e
2017-12-08 16:23:38 +00:00
drh
ee15962dd0
Make sure the bComplex variable in sqlite3DeleteFrom() is initialized when
...
compiling with -DSQLITE_OMIT_TRIGGER.
FossilOrigin-Name: e526d0c40b971d970367a52a57d3920cb64e6a98920114bfac46ba009f0b1eb5
2017-12-08 14:07:14 +00:00
drh
b7571b4ecb
When doing a table scan using an index, do not error out if collating
...
functions used by that index are unavailable, since they will not be used.
FossilOrigin-Name: bbd69fa6fa7f3c86fb5cd1b69e1abbe1bbad61aa281e6c073a402d1b202e42ec
2017-12-07 22:10:16 +00:00
mistachkin
a0951d875b
Fix typo in comment. No changes to code.
...
FossilOrigin-Name: 95958b60f9282384cac8f29c519d0fa1c32d7c0366c01ce681f6691e5bbf8438
2017-12-07 22:04:53 +00:00
dan
25c1218e73
Add the ".ar x" command to the shell. For extracting the contents of sqlar
...
archives.
FossilOrigin-Name: 0cc699d14adfe8c7b7be50c180186562861806c47425c80c935bce43ee5c5c12
2017-12-07 21:03:33 +00:00
drh
70fedc584d
Fix harmless compiler warnings in the rot13 extension.
...
FossilOrigin-Name: 113470772b04210b9300803124c06af2c0b33278313b311fefe6f80594b24e4a
2017-12-07 16:51:25 +00:00
dan
fd0245d771
Begin adding support for the sqlar archive format to shell.c. There is no
...
"extract" command so far, only "create".
FossilOrigin-Name: c9827a01a6e107f38f85c2b2c1c7a599e443067b106217e965b6936441ca619d
2017-12-07 15:44:29 +00:00
drh
b5008252b3
Updates to the main README.md file.
...
FossilOrigin-Name: 6bfafc35d1fa0415dcc85edbbd1b273f84b7a6ab75f979b01d90b18ce6aa5703
2017-12-07 13:15:48 +00:00
drh
01f6b2dc2d
Fix an unreachable branch in cases when SQLITE_ENABLE_STAT4 is not defined.
...
FossilOrigin-Name: 6a55bd67720451cdf316155cf348103bfce1056a78bcddf0029b45ff0fdbcc71
2017-12-06 20:50:08 +00:00
mistachkin
a0fcafe762
For MSVC, simplify default locations for Tcl and ICU by using directories inside 'compat'.
...
FossilOrigin-Name: 8155b5ac850327ea76aba2adf624132f3e05024c973afd218b12f186fc7630e8
2017-12-05 19:07:30 +00:00
mistachkin
cb6acda902
Add support for including zlib in the shell when compiling with MSVC.
...
FossilOrigin-Name: e1838cee3847301ef491467dc75d9c4e1e3b12599596c058bdb14319a52fd8a0
2017-12-05 18:54:12 +00:00
dan
72afc3c5de
If SQLITE_HAVE_ZLIB is defined at build-time, include the functions in
...
ext/misc/compress.c in the shell.
FossilOrigin-Name: 0296286a9963bbaab60ee30d8700703f5ccb382380c9bfc0eb12c4bcb6f2accd
2017-12-05 18:32:40 +00:00
dan
8adb25ab63
Fix a compilation problem when both SQLITE_ENABLE_MULTITHREADED_CHECKS and
...
SQLITE_ENABLE_API_ARMOUR are defined.
FossilOrigin-Name: 0342ce510d2063a63839399a2cfa25b7fc02f4fde17764082676b332d6136241
2017-12-05 14:58:59 +00:00
dan
f9679318f2
Fix the ".lint fkey-indexes" shell command so that it works with WITHOUT ROWID
...
tables.
FossilOrigin-Name: 5771b1d611b3562ea6c040f3f893073c4d0ee58c35b37ae211520d9aee8ed547
2017-12-01 18:40:18 +00:00
dan
92b67025d4
Fix some minor problems in test scripts.
...
FossilOrigin-Name: 4c551fdebc7feda3dcfeec719387d879cd5e2cbe213c0c1aac0a965b3f9e882d
2017-11-30 11:21:59 +00:00
dan
6302590677
Update test file walprotocol.test to account for the changes in the wal
...
locking protocol.
FossilOrigin-Name: 64e567009dd56ef595850fe460925bc15fa875163541527638b654aa2b2cf785
2017-11-30 07:55:15 +00:00
dan
3d9c7c3a4f
Merge latest trunk changes into this branch.
...
FossilOrigin-Name: 373fa21bffd37053bb1a741d3ace2f003a5639bf373c20ea7bb24a31080888b3
2017-11-29 16:16:29 +00:00
dan
0895117512
Fix an assertion fault found by OSSFuzz.
...
FossilOrigin-Name: 75d699877fa7d06d30285ecf008fbedfdf68cc7965bb328c96f5a931d1f13f04
2017-11-28 20:43:40 +00:00
dan
05573e41a8
Lock the wal file for all snapshot transactions, even if they would not
...
otherwise require this, preventing checkpointers and writers from wrapping the
wal file. This means that if one connection has an open snapshot transaction
it is guaranteed that a second connection can open a transaction on the same
snapshot.
FossilOrigin-Name: b81a31495bd27c1d96f7df653da3502054240cb5acf66b860da7f0f9b422a524
2017-11-28 13:39:41 +00:00
dan
66a1520c73
Add experimental feature to detect threading bugs in apps that use
...
SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using
SQLITE_ENABLE_MULTITHREADED_CHECKS.
FossilOrigin-Name: 40b598c8392f030f6ed8c63ce81cb0426bb3984397c19c756215f6a569a40164
2017-11-28 07:52:00 +00:00
dan
a90a2d58a4
Use a symbolic constant instead of a literal (-1) to identify a
...
warn-on-contention mutex.
FossilOrigin-Name: 12a23c0a66fac5c9674120b390f6abaeaba3f7ff04693b281af1eefb93d6f47c
2017-11-28 07:47:57 +00:00
drh
cb45eef4d1
Update tests to deal with SQLITE_FAST_SECURE_DELETE.
...
FossilOrigin-Name: e6b89304695be371978e65dddd710c8bd563c66b9c94d23165142b6c235c82e1
2017-11-28 00:52:14 +00:00
dan
7ac2d48eba
Fix a faulty NEVER assert() that could fail for SQLITE_ENABLE_STAT4 builds
...
that use foreign keys.
FossilOrigin-Name: 465350e55ddaf30cfba7874653301de7238a9dc2bc5e1f800fc95de9360679f6
2017-11-27 17:56:14 +00:00
drh
9b7affc451
Fix an CSV output quoting problem in the command-line shell on Windows.
...
FossilOrigin-Name: 6500cdbd36b0169f37fe363c49182b3e30477a51bb521c2a964555cd086a5589
2017-11-26 02:14:18 +00:00
dan
61f8e86f93
Fix builds with both SQLITE_ENABLE_MULTITHREADED_CHECKS and
...
SQLITE_THREADSAFE=0 defined.
FossilOrigin-Name: 7d0b12fcb58353b883ffce77df824a5cc8b1e913a21ec3f22fb73481a398c916
2017-11-25 21:09:29 +00:00
dan
8385becfe1
Add experimental feature to detect threading bugs in apps that use
...
SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using
SQLITE_ENABLE_MULTITHREADED_CHECKS.
FossilOrigin-Name: a66886ac13aa6d8ccbb6d673ddd00267c93e3ee1fbc158236fce3157d150868d
2017-11-25 17:51:01 +00:00
dan
d37ce8396a
Add the "^" syntax from fts3/4 to fts5.
...
FossilOrigin-Name: 24d7058e2799133dd681d2fef341025ca50554861bb4cd39e93ee87ae1d8a605
2017-11-24 19:24:44 +00:00
drh
56c9311c63
Enhance the configure script to detect zLib.
...
FossilOrigin-Name: e3b6e22049caf78bc4153ded8dc295fe30ad320323d921f16bd794ef30f1b115
2017-11-24 16:55:48 +00:00
drh
53bf7175af
Fix a problem in the omit-table-from-left-join optimization
...
from check-in [0cd82ee9a8413cf] that was discovered by OSSFuzz.
FossilOrigin-Name: b016c28fa5617a20ad34c005372e738d28f7fc4388d19ee0cb7add4ed19d74aa
2017-11-23 04:45:35 +00:00
drh
fa337cc115
Completely disable the skip-ahead-distinct optimization for all but the
...
inner-most loop of a DISTINCT join. Fix for ticket [ef9318757b152e3a26e9592]
FossilOrigin-Name: b7595cf2cadcba486e60b3c230ccc412a7cf449c1d56cbe65869e6d5d9f1374d
2017-11-23 00:45:21 +00:00
drh
065b34f6e5
Fix the skip-ahead-distinct optimization on joins for cases there the table
...
in the inner loop of the join does not contribute any columns to the
result set. Proposed fix for ticket [ef9318757b152e3a2]
FossilOrigin-Name: 2dcef5a9ae7f347da65207bf6bf612fb12e18e1a6704799322f0cf2a86154cfd
2017-11-21 23:38:48 +00:00
mistachkin
041343dea1
Fix typo in the Makefiles for MSVC.
...
FossilOrigin-Name: 17dd2f7314e7eb124e0a2a7a6cf475850e87fe3041e6ce1e1fd71b38d54852a8
2017-11-21 21:15:17 +00:00
mistachkin
c6bc15a804
Fix compilation issue (C99-ism) in the shell seen with MSVC.
...
FossilOrigin-Name: 9cb47430553f00216e9b06e3d8226b903da536152fac80a5b6f615508c933252
2017-11-21 21:14:32 +00:00
dan
1671a4141b
Update the omit-table-from-left-join optimization so that it can omit tables
...
from the middle of the join as well as the end.
FossilOrigin-Name: 0cd82ee9a8413cf127b5ca65770e3f363bd579941cd592298d3b0c27715583f3
2017-11-21 20:53:14 +00:00
dan
41203c6cf1
Update the omit-table-from-left-join optimization so that it can omit tables
...
from the middle of the join as well as the end.
FossilOrigin-Name: 618ca9fe53d8d2d7b4f368e6ee404d5fceeecac0d689f32ab62af8a6cbb37401
2017-11-21 19:22:45 +00:00
dan
62a83d262a
Fix a problem preventing the planner from identifying scans that visit at most
...
one row in cases where that property is guaranteed by a unique, not-null,
non-IPK column that is the leftmost in its table.
FossilOrigin-Name: 7fdb1e2ac2040dc47800a224d33a5c95d55200c480d46fedec1e97fb4f089ef7
2017-11-20 15:46:10 +00:00
dan
17f188e3cf
Fix a typo in a test script on this branch.
...
FossilOrigin-Name: bff5dcfd2b29ee4834258914410a5dee69ec2727dd254053e3ebaf5090937694
2017-11-20 15:45:03 +00:00
dan
75dbf68b5b
Fix a problem preventing the planner from identifying scans that visit at most
...
one row in cases where that property is guaranteed by a unique, not-null,
non-IPK column that is the leftmost in its table.
FossilOrigin-Name: 299d7ca52fec32f04ffd2b8561dd4b839e891792162f8b00259368683436b02d
2017-11-20 14:40:03 +00:00
dan
de7c4ec72c
Enhance the log messages produced in some cases if database corruption is
...
encountered by an SQLITE_DEBUG build.
FossilOrigin-Name: ee840a7669dd462af072625232ea4238198c9b94e1873f361c45f3b0985456f3
2017-11-18 18:07:17 +00:00
dan
eebf2f5747
Enhance the log messages produced in some cases if database corruption is
...
encountered by an SQLITE_DEBUG build.
FossilOrigin-Name: 23a3128083834b5fc80adf45448f7dc65587c52761fb3c9483b80313b369406f
2017-11-18 17:30:08 +00:00
drh
2410243e9d
Improved fix for ticket [da78413751863] that does not require disabling the
...
query flattener as was done in [005d5b870625]. This also makes the code
generator for vector IN operators a little easier to understand.
FossilOrigin-Name: 723f1be3d4a905a6a16333f8ef3e1067dcd4944497b303033c49946fc37c780f
2017-11-17 21:01:04 +00:00
dan
6bcabfe1a3
Add some missing "finish_test" lines to the end of test scripts.
...
FossilOrigin-Name: c21406ab3281480d3eddca0cdf5aea3abc224425ee52c10eed3ff702a0ae5c26
2017-11-17 20:07:19 +00:00
drh
9b1ecb67c3
New assert() statements in the rowvalue IN expression processing.
...
FossilOrigin-Name: 00c328317473cee8fd7bd92c58409a356337b727cfa562bd8de59350d978769c
2017-11-17 17:32:40 +00:00
drh
7fc0ba0f4c
Clarification of comments on sqlite3FindInIndex(). No changes to code.
...
FossilOrigin-Name: 071cabd23cd010180711a138f891a0e358031dd128532def4f62c5764651bace
2017-11-17 15:02:00 +00:00
dan
7775e4a2b4
Do not count temporary databases that have been attached using ATTACH when
...
figuring out if a master-journal file is required by a transaction.
FossilOrigin-Name: 93e012a317c8a4bfb84327616a597acabfcb24417197eefdccb8031bcf64e0c0
2017-11-17 13:21:12 +00:00
dan
6cbc5074e8
Avoid creating a master journal if all or all but one of the databases in the
...
transaction is a temp file.
FossilOrigin-Name: 355d1232fd7314723afaa8d6b8b73506b09cbba1113a88b10204ba89be993508
2017-11-17 08:20:10 +00:00
dan
cda185d3a2
Ensure that empty space on pages is zeroed before they are written to disk.
...
This helps with compressed databases, and stops valgrind complaining about
uninitialized bytes and write().
FossilOrigin-Name: 5ffec5db33137251090d45e2ca7e3e7823e3215ae89822d905923424ceba2ac2
2017-11-16 20:48:47 +00:00
drh
3dbb4acf07
Add a missing "finish_test" to the end of the stmtvtab1.test script.
...
FossilOrigin-Name: e0b5c0585e8530bd516b340093a46d8e358a731facb78da22d3208633c852804
2017-11-16 19:04:33 +00:00
drh
ef302e8a67
Futher improvements to the .testctrl interface in the shell.
...
FossilOrigin-Name: 1ca3b8cce93e83fabe35c22cb726b8ce0883e0448afa3301ad0b53073055fa8d
2017-11-15 19:14:08 +00:00
drh
35f51a4460
UI improvements on the .testctrl dot-command in the shell.
...
FossilOrigin-Name: 5d66219c4706e11a9c2a1290224e7c17b19f74657e8239accfb4c6f6be6af9b5
2017-11-15 17:07:22 +00:00
drh
7e8cf76c8a
Merge all the latest changes from trunk.
...
FossilOrigin-Name: 1a1a73b821eb1a22ca335f582a0aea31c71ca9f5b09d54f26409691c90e38c4a
2017-11-15 16:29:02 +00:00
drh
8c0833fb21
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
...
on a TK_LIMIT node, for a small code size reduction and performance increase,
and a reduction in code complexity.
FossilOrigin-Name: 3925facd942c9df663f9b29b1e6f94f6be14af8c2b99eb691bfc836b4c220826
2017-11-14 23:48:23 +00:00
drh
65efeaca83
Add the ability to read from read-only WAL-mode database files as long as
...
the -wal and -shm files are present on disk.
FossilOrigin-Name: 00ec95fcd02bb415dabd7f25fee24856d45d6916c18b2728e97e9bb9b8322ba3
2017-11-14 19:34:22 +00:00
dan
219a3e0b32
Fix the SQLITE_ENABLE_UPDATE_DELETE_LIMIT functionality so that it works with views and WITHOUT ROWID tables.
...
FossilOrigin-Name: dae4a97a483bee1e6ac0271ddd28a0dffcebf7522edaf12eb5e0eba5fc62516a
2017-11-14 17:06:37 +00:00
drh
8b17ac1919
Improvement to a comment. No changes to code.
...
FossilOrigin-Name: 486949fc03706e0056439b52ce60931ea4ce0a65e391da7f6287fe13862de251
2017-11-14 03:42:52 +00:00
drh
2e9b0923ac
Remove some branches in walTryBeginRead() that were
...
added by check-in [ce5d13c2de] but became unreachable with the addition
of logic in check-in [18b26843] that enabled read-only clients to parse
the WAL file into a heap-memory WAL-index, thus guaranteeing that the
WAL-index header is always available.
FossilOrigin-Name: 9c6b38b9a96c11bdf9db4ea025720a4f49dcb723fa2e2776edc8453bce85c7e3
2017-11-13 05:51:37 +00:00
drh
c05a063c68
In wal.c: improved comments, new assert() and testcase() macros, and
...
replace some magic numbers with appropriate symbolic constants.
FossilOrigin-Name: 13ec8a77a47aa471af587459f4094da0d06674c5960f0d34777bcb3d38bc413b
2017-11-11 20:11:01 +00:00
drh
870655bb9e
Further comment improvements in wal.c. No code changes.
...
FossilOrigin-Name: 346388007de585083dc67ad865b91db7c7d7b78c10a06f8bb7c48767c326c47e
2017-11-11 13:30:44 +00:00
dan
3b61ebb8de
Omit some extra code from non-SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds.
...
FossilOrigin-Name: 72be33f9c84de3ec4afc40549482417456ca82c1d16b473dc034b144055271e5
2017-11-10 20:13:14 +00:00
drh
85bc6df2f1
Improved comments and variable names in the read-only WAL logic.
...
FossilOrigin-Name: d3c25740eec9a2a41c29e6e488fcf6587c1fb821147a442c29439b25a92154a5
2017-11-10 20:00:50 +00:00
dan
dc32b448d3
Add further tests for the code on this branch.
...
FossilOrigin-Name: f8c4e33f4813e0c909064406b5cc17e2d465d8a48a50ede1d356b39479d3d669
2017-11-10 17:47:54 +00:00
dan
ca3e3c3f1a
Fix a problem involving "DELETE/UPDATE...LIMIT" statements that use an INDEXED
...
BY clause.
FossilOrigin-Name: 09f94c2c8199b0d23a45cc062ca9561f9e5ddfcba117100e41889ce199d21bdb
2017-11-10 16:14:26 +00:00
dan
26caf5bef1
Fix a problem with (DELETE...LIMIT) statements against WITHOUT ROWID tables
...
with a single column PK.
FossilOrigin-Name: 35477a3dcceadf5dade8e036d5a2ce91b9ca83c4b85d309db233bdbcf538b1cc
2017-11-10 15:42:21 +00:00
mistachkin
aca84e6a8b
Fix harmless compiler warning seen with MSVC.
...
FossilOrigin-Name: 3711ef2366af8fefccaaa0a6ee520ce6bc9c74a4fe0666f0a85ef96be46e02d3
2017-11-10 12:41:21 +00:00
mistachkin
0e026f403b
Avoid superfluous SHM unlock call in the Win32 VFS.
...
FossilOrigin-Name: 5a384be6979b783d1f3af2ac6307e7e731c415d052f9405f04c0216f59414633
2017-11-09 23:24:29 +00:00
mistachkin
10813713ba
Cleanup superfluous whitespace changes.
...
FossilOrigin-Name: a2908e2c88f7a30638a7e791fc7ad0325b663097c12cecd1f4726b0d60a9a3ed
2017-11-09 22:25:58 +00:00
mistachkin
7b7f224c62
Revise and vastly simplify the Win32 SHM file locking semantics, allowing all new tests to pass.
...
FossilOrigin-Name: d0997b0f5bc9a9869684e39a17a01c430d6383c8b31d6c00ea17a5eac15bc6f0
2017-11-09 22:23:50 +00:00
mistachkin
95a05aae67
Add an assert() in the Win32 VFS.
...
FossilOrigin-Name: 22e58330461736ca22d6f4d7eab897a3597de2e7434a6f4a474f0f0d7f964281
2017-11-09 20:37:37 +00:00
dan
e941877806
Enhance walro2.test to better ensure that readonly_shm clients are not using
...
invalid *-shm files.
FossilOrigin-Name: ff630b66714b20c09888ead0a45f344d63e0d9a5208867d6266e74f79187076c
2017-11-09 20:34:35 +00:00
mistachkin
bcb416a9ff
Get read-only SHM file tests passing on Win32.
...
FossilOrigin-Name: abef05353554e72f4d08aff562b87ff8530e8537a79e58d831205ea8c46eed07
2017-11-09 20:02:44 +00:00
dan
b3c16b899b
Add SQLITE_ENABLE_UPDATE_DELETE_LIMIT for views and WITHOUT ROWID tables.
...
FossilOrigin-Name: 584b88aaf89ab30cb51185396b7b50c6ecba286add023a26ab41d865b9c605ce
2017-11-09 19:53:06 +00:00
mistachkin
9f4aad446b
Further corrections to read-only SHM file handling on Win32.
...
FossilOrigin-Name: 43c311701bdf1202918cd46fa6133a11458e0ef8ddb09e46290a231083f395ce
2017-11-09 18:53:51 +00:00
mistachkin
a515065649
Corrections to Win32 lock detection for SHM files.
...
FossilOrigin-Name: 3a91be975daee65c3e1199855613066015d5df8ad44ababdef31d1c698b5e746
2017-11-09 18:21:51 +00:00
mistachkin
8a6fa5d41c
Corrections to the Win32 porting changes on this branch.
...
FossilOrigin-Name: 0b26a5a26d700e20eea5ebbd620af0af6f2d61c652cfca5b8563267588cb2be6
2017-11-09 17:29:18 +00:00
mistachkin
4a9ff91852
Make it possible to use OSTRACE for multi-process testing.
...
FossilOrigin-Name: 0a7d416c4c43632725dc89cda8667cd9726b5152ee4692e4d0c9e2031e60cfb4
2017-11-09 17:29:04 +00:00