drh
14494fa712
More RTREE performance optimizations related to decoding values.
...
FossilOrigin-Name: c5395e7496d0cd593f5e16ee5f6719d020dc0c66
2017-02-01 02:25:28 +00:00
drh
35497fccbe
Improved comments on the statGet() implementation in ANALYZE. No changes
...
to code.
FossilOrigin-Name: 9663eea2a16bb4eec71476d307a3722a768308c3
2017-02-01 01:34:15 +00:00
drh
fcbd6cdb41
R-TREE optimization: unwrap the coordinate decode loop in
...
rtreeCallbackConstraint().
FossilOrigin-Name: 0bf7b51896ec441f62490964c7a44a3c75c6b7e2
2017-01-31 21:22:03 +00:00
drh
a4613e1f4c
Very small performance improvements and size reductions in
...
sqlite3VdbeExec() and blobSeekToRow().
FossilOrigin-Name: 85dddf2b453b8afaf1f485b96084d31e22f97dda
2017-01-31 19:10:42 +00:00
drh
baf5dec700
Simplifications to blobSeekToRow().
...
FossilOrigin-Name: 495ea824093ff535734c22c3115384c08f855c02
2017-01-31 19:02:15 +00:00
drh
0caad09585
Remove a C99-style comment. Fixes to the kvtest-speed.sh script.
...
FossilOrigin-Name: 91eb6b628e278d20eccc647293e5b30765163e12
2017-01-31 16:49:01 +00:00
drh
d59bcbdee7
Remove another unnecessary local variable initialization from sqlite3VdbeExec()
...
FossilOrigin-Name: 2361b03b61311aab9b9ec9de040bbb73be31be0d
2017-01-31 16:43:36 +00:00
drh
78a9e92ecf
Remove an unnecessary initialization of the pOp variable in sqlite3VdbeExec().
...
FossilOrigin-Name: 02f6293f278f7b0a0f4876f5c6a0f4dc42620d79
2017-01-31 16:34:51 +00:00
drh
9dc7ad1d7e
Add the "stat" command to kvtest.c. Also add the --variance option to the
...
"init" command. Add the tool/kvtest-speed.sh script used for doing
performance testing on key/value access patterns.
FossilOrigin-Name: b63deed600b1a457a6960ebad5645f4de9c56e5d
2017-01-31 15:29:05 +00:00
drh
1379521f4a
Fix a typo in a comment.
...
FossilOrigin-Name: bd22bf9cbe028e9811ca3afaadafd90312cb0fc9
2017-01-31 15:27:04 +00:00
drh
8e74e7ba4c
Further minor enhancement and size reduction in
...
sqlite3ExprAssignVarNumber().
FossilOrigin-Name: eacfdcf25796ea29b5e63499c3d7397498305ad9
2017-01-31 12:41:48 +00:00
drh
18814dfb7e
Performance optimization in sqlite3ExprAssignVarNumber().
...
FossilOrigin-Name: 5987ca1ff94ed3c1666f783bb15b16158aa7e1db
2017-01-31 03:52:34 +00:00
dan
e7eeeb99f7
Fix building with SQLITE_OMIT_FOREIGN_KEY defined.
...
FossilOrigin-Name: e93d2c49a44af994ff10cc9cc7eafacd5a4f73ab
2017-01-30 11:38:19 +00:00
drh
d26cc54183
In the amalgamation, allocate the parser engine object from stack rather than
...
from heap, for improved performance. This only happens in the amalgamation,
since otherwise the sqlite3RunParser() routine does not know the object size.
FossilOrigin-Name: 4fe879d4b5da6ae0688a7a99004683a234966597
2017-01-28 20:46:37 +00:00
mistachkin
51b15c3871
Fix a couple comment typos. No changes to code.
...
FossilOrigin-Name: 2a2e7d86b275c970726f642a37a098950a3b906e
2017-01-28 19:53:51 +00:00
dan
f64ece143c
Avoid redundant table b-tree cursor seeks in UPDATE statements that use the
...
two-pass strategy.
FossilOrigin-Name: dc555b1039c6930f6d15355c698ff917a85e8056
2017-01-28 19:45:34 +00:00
drh
6034d47618
Updates to the sqlite3_blob documentation. No changes to code.
...
FossilOrigin-Name: 426b440a5745f9c431c6a3d9ba542af61a6a83fb
2017-01-28 15:26:14 +00:00
drh
27c8467734
In the speed-check.sh script, automatically invoke "fossil test-diff --tk" on
...
the cachegrind output against trunk, if not generating a trunk run.
FossilOrigin-Name: aa1ab37100a91ab4bb91d50a1267c26967efcb21
2017-01-28 13:40:55 +00:00
dan
2d2e4f3895
Fix a typo in the docs for sqlite3_update_hook().
...
FossilOrigin-Name: 7c029655cc3369a1e46741fdd3701d36d420b28b
2017-01-28 06:50:15 +00:00
drh
cc04dacb85
Add the sha1.c loadable extension that implements the sha1() and sha1_query()
...
SQL functions.
FossilOrigin-Name: 24e77c1cef163a9822635570b3211789ff23d5c9
2017-01-27 19:27:38 +00:00
dan
50133dea28
Fix a problem causing the pre-update hook to be invoked by DROP TABLE
...
statements.
FossilOrigin-Name: fbb6bf1b69cfd581b4ffd778c344e3fbd9c9406f
2017-01-27 17:02:26 +00:00
drh
9ec82ff2ba
Alternative ICU fix (compare to check-in [50e60cb4]) that avoids casting
...
integers to pointers.
FossilOrigin-Name: d9752c8f7c55426fd7d2b877c5cc3784f93b5349
2017-01-27 13:14:12 +00:00
drh
7aee83b935
In the command-line shell, enhance the ".mode" command so that it restores the
...
default column and row separators for modes "line", "list", "column", and
"tcl".
FossilOrigin-Name: 58f02e6eae8fc9e2577fe435b0282fb46af3960d
2017-01-27 01:52:42 +00:00
drh
6ee610bfc0
Another micro-optimization in accessPayload(). Slightly smaller and faster.
...
FossilOrigin-Name: c012619b65d70b4ef6cf33532ef57d7f8ba42d74
2017-01-27 01:25:00 +00:00
drh
cdf360a0d5
Performance optimization in accessPayload().
...
FossilOrigin-Name: ebb1fd98d4e448aa6d8f1e5be7ddc5bedb3db95b
2017-01-27 01:13:49 +00:00
drh
42e28f12a3
Simplify the accessPayload() routine so that it always populates the overflow
...
page cache. In the one case where populating the page cache can lead to
problems, simply invalidate the cache as soon as accessPayload() returns.
This simplification reduces code size and helps accessPayload() to run a
little faster. This backs out the eOp==2 mode of accessPayload() added by
check-in [da59198505].
FossilOrigin-Name: 68e7a8c6765649195ef1ad9407d87d44a307b462
2017-01-27 00:31:59 +00:00
drh
945b094632
Remove an unreachable branch in the error handling logic for
...
sqlite3BtreePayloadChecked().
FossilOrigin-Name: 293bf3ed7e40745349c83b202b27ed1b48517e1a
2017-01-26 21:30:00 +00:00
drh
b7dab70a92
Improvement to the OP_Permutation opcode to prevent it from using CPU cycles
...
for initialization in prepared statements that do not use that opcode.
FossilOrigin-Name: b4a98f65564a0d9fba2fef95ebd00a39b3e1e572
2017-01-26 18:00:00 +00:00
drh
fae58d51ce
Remove the obsolete lastRowid cache from the sqlite3VdbeExec() for a size
...
reduction and performance improvement.
FossilOrigin-Name: b4803184652e5f4f823c1521412bc480baeb3dbf
2017-01-26 17:26:44 +00:00
drh
d08406477a
Performance optimization in sqlite3VdbeCloseStatement().
...
FossilOrigin-Name: 1e96e5ec1ee617cb5b5cbdc5a2ee79c8cc35821d
2017-01-26 17:11:18 +00:00
drh
83ec2761fa
Performance optimization to sqlite3_blob_read().
...
FossilOrigin-Name: 7459f4b7ed4007d9ec44c3bf0fcba04f5f8540a9
2017-01-26 16:54:47 +00:00
drh
8bb9fd3b45
Minor simplification and performance optimization for Direct Overflow Read.
...
FossilOrigin-Name: 3e96d6efa867b765c8acf1454014b1e71b2e4f21
2017-01-26 16:27:32 +00:00
drh
d930b5cb06
Make SQLITE_DIRECT_OVERFLOW_READ work for in WAL mode as long as the page
...
being read is not in the the -wal file.
FossilOrigin-Name: 9879be1899adf5634f551a2077b15ccb1133e4e3
2017-01-26 02:26:02 +00:00
drh
2b15f6e11b
Enhancements to the kvtest utility program. Add the --jmode option.
...
Improved output formatting.
FossilOrigin-Name: 62a4851ccf88837d1c16dae8204f7f264e80e3c9
2017-01-26 01:54:39 +00:00
drh
87f500ce43
Modify the ICU extension to use a static initializer, as VC++ complains about
...
a dynamic initialization. Maybe the dynamic structure initialization is a
GCC extension.
FossilOrigin-Name: 50e60cb44fd3687dde5551d02bad60c323beaabc
2017-01-26 00:58:27 +00:00
drh
d447dced96
Trim NULL values off the end of records when the SQLITE_ENABLE_TRIM_NULLS
...
compile-time option is used. Increase the size of the P5 operand to 16 bits.
Fix a problem with short records in the sessions extension.
FossilOrigin-Name: 4801bd59a01dcc11a3eb9e776e7599b36f162d2a
2017-01-25 20:55:11 +00:00
dan
7271d7a19c
Fix another pre-update hook issue, this time in sqlite3preupdate_old().
...
FossilOrigin-Name: c7651d21bfdfd9b8cf04b26e0264bc58c03d247f
2017-01-25 18:53:27 +00:00
dan
d47e1ccb57
Fix a test script problem in exclusive2.test causing it to fail on this
...
branch.
FossilOrigin-Name: f66614dc78e32d2d369518200b3322cd97990ffe
2017-01-25 18:12:46 +00:00
dan
2a86c1962c
Fix a problem with the pre-update hook on this branch.
...
FossilOrigin-Name: 6fc4fbfa29cfa795edf32e4a1f2d0eceb3007f68
2017-01-25 17:44:13 +00:00
drh
585ce1923c
Experimental enhancement to automatically trim NULL values from the end of
...
records, for a reduced disk footprint. This change also involves increasing
the P5 operand from 8 to 16 bits.
FossilOrigin-Name: 118ded403b95050b74ae2b03919c43d614094a32
2017-01-25 14:58:27 +00:00
drh
7888d14caa
Ensure that sqlite3_blob_reopen() correctly handles short rows.
...
Fix for ticket [e6e962d6b0f06f46e].
FossilOrigin-Name: 8cd1a4451cce1fe28f462800e2be1dee1735c0d0
2017-01-25 14:38:19 +00:00
drh
666d34c791
Fix SQLITEINT_H macro usage in two extensions.
...
FossilOrigin-Name: 0803390c152141c9ab4e7a28406b2a5d72a5c2fa
2017-01-25 13:54:27 +00:00
drh
210b0d0eb3
Ensure that sqlite3_blob_reopen() correctly handles short rows.
...
Proposed fix for ticket [e6e962d6b0f06f46e]. Further testing needed.
FossilOrigin-Name: 57d8dad35c2a9ab635e954dce7f3986ae1ca8ed2
2017-01-25 04:41:34 +00:00
drh
d1b2566b07
Document the --mmap option in the --help screen for kvtest. Enhance kvtest so
...
that numeric arguments can have suffixes like "K" or "M". Add kvtest to the
unix makefiles.
FossilOrigin-Name: 175bda87288c7ce15b163316159f53a60822ccad
2017-01-23 19:11:38 +00:00
drh
bace324082
Add the --mmap option to the kvtest utility program.
...
FossilOrigin-Name: 4948f7e6d2a1cfce36a7aab2f5b65be07c285ac3
2017-01-23 18:40:15 +00:00
drh
6aabff38e9
Optimization: Try to avoid unnecessary btree searching when repositioning
...
a cursor to the next row.
FossilOrigin-Name: ee793d30c1dc1f78f49e6230d17750eceedbd8ed
2017-01-23 16:56:18 +00:00
dan
65c4c0b02d
Add the missing SQLITE_API symbol to test_delete.c (it is not added
...
automatically as this file is not part of the amalgamation).
FossilOrigin-Name: 7a4f512ddf9e7e718389c80930d6268ab598459c
2017-01-23 15:58:09 +00:00
dan
1b9fd2651b
Fix a problem preventing FTS5 from correctly passing the FTS5_TOKENIZE_PREFIX
...
flag to custom tokenizer implementations.
FossilOrigin-Name: 03c601344ed56b316bcc5fd02f6648b0009ba61b
2017-01-23 07:06:27 +00:00
drh
38305ab55f
Fix an uninitialized variable in the command-line shell.
...
FossilOrigin-Name: 06b8001ade62bc59e6ae20f761167a81d85a4272
2017-01-22 16:34:35 +00:00
mistachkin
35f30d3398
Fixes to documentation comments in the public header file.
...
FossilOrigin-Name: 772dcb08f400f20d4dbfb74df39de78da24ee5fd
2017-01-22 02:04:05 +00:00