shaneh
030ea31797
Remove duplicated assignment in realloc.
...
FossilOrigin-Name: c419955df0ad0507ecb3869786d48458366d4e8f
2010-02-16 22:06:30 +00:00
shaneh
4a0b43caad
Added additional rounding tests.
...
FossilOrigin-Name: b8ee76bc1fd355110149bd9135dd31a5724c2ac6
2010-02-16 22:00:35 +00:00
dan
2b0ef4725f
Change a C++ style comment in os_unix.c to use normal C style commenting.
...
FossilOrigin-Name: 7a1933097f2a95bd495c1621fca99e8952a1b25a
2010-02-16 12:18:47 +00:00
dan
5dcb3937b6
Fix for [e9a9fde1f4]. When opening an existing rtree, determine the node size by inspecting the root node of the r-tree structure (instead of assuming it is a function of the page-size).
...
FossilOrigin-Name: ebc9433fddf78ef7b4237686951d8d79c1c98f03
2010-02-16 10:59:40 +00:00
drh
9a6ffc845b
Fix the ALTER TABLE RENAME command so that it converts FOREIGN KEY constraints
...
in ATTACH-ed and in TEMP tables as well as in the main database.
Ticket [13336e9c3c8c3f].
FossilOrigin-Name: ab197d0aaf18016ac2dd3674f49bea5f1556451c
2010-02-15 18:03:20 +00:00
drh
622d288790
When creating a trigger on a main database table when there is a TEMP table
...
with the same name, make sure the trigger is bound to the main table.
Ticket [985771e11612].
FossilOrigin-Name: ec914af32675e472694270d46f3ba2214eb2fe90
2010-02-15 16:54:55 +00:00
drh
a8c62df904
Fix a compiler warning in shell.c. Updates to comments in trigger.c.
...
FossilOrigin-Name: c727601eecd85a26dbd4fc36823d77bec34da3c3
2010-02-15 15:47:18 +00:00
drh
2d8d7cebe1
Fix a typo in the documentation for the OP_OpenPseudo opcode.
...
FossilOrigin-Name: 9acfb0694059c80b2efc08a60232d4be91575c32
2010-02-15 15:17:05 +00:00
shaneh
1f4222f84c
Merged tracing and initialization changes from mutex_unix.c.
...
FossilOrigin-Name: 942aa1f6a91655356cc32a8185cb447331d405dc
2010-02-13 02:31:09 +00:00
drh
af034ed685
Enhancements to the secure_delete pragma to make it easier to use.
...
FossilOrigin-Name: 2bb38bb96ff6b9fb91dd1cf214041cf113ac5508
2010-02-12 19:46:26 +00:00
drh
5b47efa662
All the secure-delete setting to be changed at run-time using a pragma.
...
The SQLITE_SECURE_DELETE compile-time option determines the default setting.
FossilOrigin-Name: f72f8a870a0fc98a9f2b564ffafe7946bbce506e
2010-02-12 18:18:39 +00:00
dan
56f2996b48
Fix a segfault in fts3 that may occur if the snippet, offsets or matchinfo functions are used in a query that does not contain a MATCH clause.
...
FossilOrigin-Name: 14ab536a96f81595ab8c3dcd4b72075f1a827c8b
2010-02-10 05:33:17 +00:00
drh
309e6555a5
Make sure file descriptors are closed before unlinking in VxWorks.
...
FossilOrigin-Name: f64b81f13de4875343c752e7183bf61032dc9594
2010-02-05 18:00:26 +00:00
shaneh
6885de360d
Avoid truncating non-in-memory sub-journals when releasing a savepoint for a small performance improvement.
...
FossilOrigin-Name: 27dc5b1c52eaa5f99cf44ee31204f62598fbf011
2010-02-05 16:28:00 +00:00
drh
6658cd9a74
Remove the use of 64-bit math in the offset computations of
...
the OP_Column opcode for a small performance improvement.
FossilOrigin-Name: 61a2c8d4d64c28119e9f06eb42f9c0437ba7a7bd
2010-02-05 14:12:53 +00:00
drh
a963896796
Fix a performance glitch that appears for large transactions.
...
FossilOrigin-Name: 26cb1df73504d5d883cf0967e57b46aa062d0b00
2010-02-04 17:38:31 +00:00
drh
b4a1fed2ea
Add a new full-text search variant that tracks the total number of documents
...
and document sizes, to make ranking search results easier. Currently
called FTS4.
FossilOrigin-Name: 1b6e6094c88214e02c9e3638932997ac20bfe413
2010-02-03 19:55:13 +00:00
drh
0ae0bfd486
Fix a C++-ism that snuck into sqlite3_finalize().
...
FossilOrigin-Name: fb96f2a2c63a061a90733448c4af14384893d409
2010-01-31 15:14:37 +00:00
drh
7c9c98684c
If an OOM occurs while setting the page size for the TEMP database, be sure
...
that error gets reported back out to the interface layer.
FossilOrigin-Name: 6487e70a1e18bb01ee692e250b41c8652e34a87c
2010-01-31 14:18:21 +00:00
shaneh
959dda6d94
Tweaks for consistency to the SEE and CEROD API declarations in sqlite3.h.
...
FossilOrigin-Name: 299f74567b1b97a1fdc0a620ef382cfd24941809
2010-01-28 19:56:27 +00:00
drh
10a76c90e4
Make the TEMP file tables use the page size set for the main database.
...
Ticket [b80eeab588c4].
Also copy over the changes from apple-osx check-in [7c3bede3f2].
FossilOrigin-Name: 5dcfb0c9e420d27e54a299b3991b98776651a507
2010-01-26 01:25:26 +00:00
dan
d3789b98a7
Fix two similar problems in fts3 that meant that an OOM error could cause a memory leak.
...
FossilOrigin-Name: 701ef64b3dbf45e52043e79e528002bd4b7a21e2
2010-01-22 15:48:18 +00:00
drh
5cb7434c72
Fix a segfault that can occur when the LHS of a LIKE operator has an
...
undefined collating sequence. Ticket [1258875e07553].
FossilOrigin-Name: a82e6b4585b9ddba581204976cd5ea8704339185
2010-01-21 23:11:24 +00:00
drh
4b5db5ac9c
Redesign the string to numeric value caster so that it is more likely to
...
work on unusual floating point hardware.
FossilOrigin-Name: 8bb1104c6f02c88eb09ed345890be71dee099485
2010-01-21 01:53:07 +00:00
dan
14d4cc4356
Fix a problem with handling OOM errors in fts3.
...
FossilOrigin-Name: f9c54e95ecf1c36c4750bb151e91d81c1d1bd596
2010-01-20 14:25:37 +00:00
drh
7ed97b9de9
Move the Apple OS-X VFS changes into the trunk.
...
FossilOrigin-Name: 571594bfbe89d9949bdb8b07712e96d0a3467c6e
2010-01-20 13:07:21 +00:00
drh
87f5c5f16e
Manually copy over the rebustness fixes from the apple-osx branch.
...
FossilOrigin-Name: 095c74ea6260096f6a600fdc0edccf7ea24aace4
2010-01-20 01:20:56 +00:00
shaneh
b7977c5539
Fix a problem with the CLI where not all SQL commands were being echoed.
...
Added tests of same to tools/shell2.test. Ticket [eb620916be].
FossilOrigin-Name: 7080ae3bc3828168483ac23d5b8976d67ea5089e
2010-01-18 18:17:10 +00:00
dan
1d0f43f0ae
Fix test numbering in fts3snippet.test.
...
FossilOrigin-Name: 34f6854685f00158bc536dd53ac5bc20e19fe071
2010-01-15 17:33:49 +00:00
dan
3996a06236
Add coverage tests for fts3_snippet.c. Also fixes related to the same.
...
FossilOrigin-Name: 5e9d8ccae9731f380527463ef87ddcd216b4b721
2010-01-15 17:25:52 +00:00
dan
0153c35db5
Add a test to e_fts3.test for the matchinfo example in fts3.html.
...
FossilOrigin-Name: e5336edc55313afac11ea085257cb6e75a0287a7
2010-01-14 11:45:03 +00:00
dan
ceafa47b41
Fix some matchinfo related test problems in fts3rnd.test.
...
FossilOrigin-Name: da7abe05887d1ad52552d8ce3a153a0a76f96c5a
2010-01-14 11:17:05 +00:00
drh
a2460e0730
Comment cleanup in sqliteInt.h.
...
FossilOrigin-Name: 67c3aea563e019083f0ed87b57982a0379637d4f
2010-01-14 00:39:26 +00:00
drh
85c8f291e3
Make the sqlite3IsNaN() function a macro that evaluates to FALSE when
...
compiled with SQLITE_OMIT_FLOATING_POINT.
FossilOrigin-Name: 56f232d562bc239103a5afd2e64c4b926a20de08
2010-01-13 17:39:53 +00:00
drh
90038f8b07
When SQLITE_OMIT_FLOATING_POINT is defined, the floating-point formats in
...
the sqlite3_*printf() functions should pull an int64 off of the parameter
list and ignore it.
FossilOrigin-Name: 3fd6f9ad06b786116ca18c1e812363d30cd3060e
2010-01-13 16:43:27 +00:00
drh
c5a7b51c69
When SQLITE_OMIT_FLOATING_POINT is defined, make sure the result of a
...
mathematical operation is always tagged as an integer.
FossilOrigin-Name: e12da0d316fcc34a75554d59fe6d11d9f0e059e2
2010-01-13 16:25:42 +00:00
drh
52d14521fa
Make the doubleToInt64() routine a pass-through when using OMIT_FLOATING_POINT.
...
FossilOrigin-Name: 417167182efaa1da74008952137de3e00c23494e
2010-01-13 15:15:40 +00:00
dan
33d58bcee9
Add tests to backup.test to verify that SQLite behaves as expected when the source database is modified mid-backup.
...
FossilOrigin-Name: 985d3bec07430536485056bcd2ae0471791601ed
2010-01-13 14:08:01 +00:00
drh
44dbca83c7
Comment out unused code when SQLITE_OMIT_FLOATING_POINT is selected.
...
Added testcase() macros to boundary conditions in util.c routines.
FossilOrigin-Name: dfc6595d347ea87923a857778b68751103f535d2
2010-01-13 04:22:20 +00:00
drh
7ec5ea942e
Make the sqlite3_result_double() interface work the same as
...
sqlite3_result_int64() when SQLITE_OMIT_FLOATING_POINT is defined.
FossilOrigin-Name: 61df5986600b6c9e6d5c42efc0067a27fe54251f
2010-01-13 00:04:13 +00:00
drh
6a9c64b363
Make sure internal queries are well ordered, even when the
...
reverse_unordered_selects pragma is in effect.
Ticket [eb942c64a157].
FossilOrigin-Name: 0209f17180065d9c213b6c437be1c3c40660665f
2010-01-12 23:54:14 +00:00
drh
2b1e690ff1
Fix the implementation of CURRENT_TIMESTAME and CURRENT_DATE when
...
SQLITE_OMIT_DATETIME_FUNCS is defined.
FossilOrigin-Name: eb98265b59db59965b468a7070739921da55efc4
2010-01-12 19:28:20 +00:00
dan
f596da5cc6
Update comments in fts3_snippet.c.
...
FossilOrigin-Name: dd9689b7c31861484f8d8062478ae73d3c940902
2010-01-12 17:57:30 +00:00
drh
13573c71d8
Use #ifdefs to disable unused code when SQLITE_OMIT_FLOATING_POINT is defined.
...
FossilOrigin-Name: 66bab8561926963a87f15ad559cba36545c9892c
2010-01-12 17:04:07 +00:00
drh
ab2f1f9560
Add a few documentation evidence comments to the built-in function
...
implementations.
FossilOrigin-Name: 8bd0f8147dbf75367243b3eecfb705da6e794ab7
2010-01-11 18:26:42 +00:00
dan
9a34020f05
Modify snippets code to run more efficiently. And to avoid a bug relating to snippets based on full-text queries that contain duplicate terms.
...
FossilOrigin-Name: a2b1183d9e9898d06d623b342bbb552e85a9b3f6
2010-01-11 12:00:47 +00:00
dan
1a54b8ecfa
Fix handling of an OOM error in the fts3 offsets() function. Fix a couple of snippet related test cases in e_fts3.test.
...
FossilOrigin-Name: 14dc46a74aafe44c0bf7dffd26268395b2c5edb2
2010-01-09 07:33:54 +00:00
drh
819443e506
Update comments in fts3.c to more accurately describe the doclist format.
...
FossilOrigin-Name: e424a0307359fee6875424c10ecad1a10acfba0e
2010-01-08 23:01:32 +00:00
shaneh
0a7905295c
Added option to dump pages.
...
FossilOrigin-Name: 08c545f03082421166a21274b39e07bb348c17e6
2010-01-08 04:50:22 +00:00
shaneh
d61fa23290
Minor tweaks to restore_jrnl.tcl utility script.
...
FossilOrigin-Name: b97aca1200d959a1e7c08dd4e9dbce4724342119
2010-01-07 22:02:34 +00:00