shaneh
ca07b9df47
Removed checking of some compile options from the sqlite3_compileopts() API.
...
FossilOrigin-Name: 833da702ff9bd99d62640756d80e094256efff5c
2010-02-23 05:17:51 +00:00
shaneh
bdea6d1368
Test new api to report which options (defines) were used to compile SQLite.
...
FossilOrigin-Name: 84c9756993caf82710a0905ed1987d144bc764fd
2010-02-23 04:19:54 +00:00
drh
127f9d75e2
Add the ".log" command to the shell. This shows that some errors are logged
...
multiple times and other errors are never logged at all.
FossilOrigin-Name: 6d910245ad0097521cf1619449cc3d202137b8b8
2010-02-23 01:47:00 +00:00
drh
5bd1d051e8
Remove the ".genfkey" command from the shell. We've had foreign-key support
...
in the core since 3.6.19. Anyone who still needs the simulated foreign-key
triggers can always generate them with an older version of the shell.
FossilOrigin-Name: c4401fc93b66c5339422d7e765a4a32b1ef96bdb
2010-02-23 01:01:58 +00:00
drh
4ec84f35e2
Fix an assertion-fault/segfault problem that comes up when trying to
...
VACUUM an auto-vacuumed database with a large schema.
Ticket [da1151f97df244].
FossilOrigin-Name: 86d50ce57feb78440956192e37a03686ffa1e196
2010-02-22 23:17:42 +00:00
drh
a0f3509606
Merge in the massive clean-up and ANSI-fication of Lemon carried out
...
by Ryan Gordon. There are no functional changes to SQLite itself - Lemon
still generates exactly the same parsing automaton from exactly the same
grammar.
FossilOrigin-Name: 1e8b842039cc06b57a321226633c55b94eb8dcd7
2010-02-22 19:37:44 +00:00
drh
a756466349
Log all error messages if logging is enabled.
...
FossilOrigin-Name: a8076aede33c07e9a2aaa05be8a888f37b45e41c
2010-02-22 19:32:31 +00:00
shaneh
195475d839
Changes to pragma integrity_check to check rowid order. Tests of same in corruptE.test.
...
FossilOrigin-Name: cae47c5b09cb122689bcb020a66ce14982cc4aa8
2010-02-19 04:28:08 +00:00
drh
3f28070109
Add a new, experimental logging interface designed to aid in debugging of
...
deeply embedded projects that use SQLite.
FossilOrigin-Name: 103321e37ae46eacfad4e127d13477ad5dd02bab
2010-02-18 18:45:09 +00:00
dan
da730f6eb4
Allow statements like "REPLACE INTO tbl(rowid) VALUES(...)" to run without a statement journal as long as there are no triggers, foreign keys or indexes.
...
FossilOrigin-Name: 0e4225804010cb0e3f254e2dbffc4fe0e7d982ce
2010-02-18 08:19:19 +00:00
icculus
866bf1e6a2
Repore error if the grammar has multiple %type lines for the same nonterminal.
...
FossilOrigin-Name: 721f33e7221c5fc907e9e293ac3242843f4fcfb7
2010-02-17 20:31:32 +00:00
icculus
d0d97b09c6
Fixed % formatting in some printf-style strings.
...
FossilOrigin-Name: f96add898f096cfc1e435c625ce74093d790b3c7
2010-02-17 20:22:10 +00:00
icculus
10163b7d82
Corrected error message (cut-and-paste bug).
...
FossilOrigin-Name: b3839f2aad00844c578d496c40481a39c018e4f6
2010-02-17 20:19:50 +00:00
shaneh
ad9f9f6693
Consistent use of #ifdef for SQLITE_HAS_CODEC to avoid confusion.
...
FossilOrigin-Name: 34a3413a5318050254b246ad859c91c134516a32
2010-02-17 17:48:46 +00:00
icculus
a3191195af
Removed unused variables.
...
FossilOrigin-Name: ca570a02f5c5215098050de4eb551b2dcd11b1fd
2010-02-17 05:40:34 +00:00
shaneh
147e176aff
Avoid using the internal printf routine for round(x,y) in the common case where y==0.
...
FossilOrigin-Name: d76ad8b3c494ffb4e670da0e92a1f8dbf7f48daf
2010-02-17 04:19:27 +00:00
shaneh
35c1a793ce
More rounding tests.
...
FossilOrigin-Name: 3863638b8cd8d41cf4abf8b0d618892de845e91f
2010-02-17 03:57:58 +00:00
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
icculus
8e15802812
Removed %expect directive, on drh's advice.
...
FossilOrigin-Name: b43ac3309e77dc8ea2952bf62da6eaad5aef6653
2010-02-16 16:09:03 +00:00
icculus
15a2cec1ed
Patched to compile. Accidentally removed va_list declaration.
...
FossilOrigin-Name: 673d470c0c14106da05461d355a0c09e5f62851d
2010-02-16 16:07:28 +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
icculus
1c11f74a8a
Removed the 80-char line formatting for ErrorMsg(), on dhr's suggestion.
...
FossilOrigin-Name: 132ea4e5d7f69fc307904f5086a72d8532e5aac6
2010-02-15 00:01:04 +00:00
icculus
9e44cf1a03
Make Lemon able to compile as C++ code.
...
FossilOrigin-Name: 75a1060b29eb4122487152b068e7d1073eb0ccab
2010-02-14 17:14:22 +00:00
icculus
d191282111
Added option to not clip error output.
...
This is useful for IDEs and other tools that benefit from full path
information, so they can jump directly to the error line in the source code.
FossilOrigin-Name: 90602030d18152a934644db119a291aa38fe3fd4
2010-02-14 05:42:46 +00:00
icculus
f5ad824071
Delete output files if this is a failed run.
...
Otherwise, the fail will stop a Makefile from progressing, but if you
immediately run the build again, Make will think the output files are up to
date, since they are newer (albeit incomplete/incorrect).
FossilOrigin-Name: e38c08d9cdeb0476ac1a77cd3f29f547a8205835
2010-02-14 05:34:42 +00:00
icculus
42585cf73a
Added %expect directive, to consider a certain number of conflicts "correct."
...
This has the side effect of changing the process exit code to never overflow.
FossilOrigin-Name: d8bab8cf0bc3fbd4c489c31a65d724dda2944d83
2010-02-14 05:19:56 +00:00
icculus
3e143bdfaf
Added -T option, to specify a template filename on the command line.
...
The default is still "lempar.c", though.
FossilOrigin-Name: e6cbe1e5ee80db282a41951b805b7bd8b13adf28
2010-02-14 00:48:49 +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