]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Tue, 13 Oct 2009 10:39:16 +0000 (10:39 +0000)]
Add further test cases to e_fkey.test.
FossilOrigin-Name:
c85e58743a87bfbea6376c237e5e3a6909184f6c
drh [Mon, 12 Oct 2009 22:30:49 +0000 (22:30 +0000)]
Add asserts as evidence that all FK constraints are either immediate or
deferred.
FossilOrigin-Name:
634ef4fc9f4051245b38f558bb1c733031548c2f
drh [Mon, 12 Oct 2009 20:01:49 +0000 (20:01 +0000)]
When processing FK constraints on changes to parent tables, make sure the
names of child tables appear correctly in the output of EXPLAIN QUERY PLAN.
FossilOrigin-Name:
a4ab5215fed231c8e5f8714f5cadafd1209b362a
dan [Mon, 12 Oct 2009 18:57:20 +0000 (18:57 +0000)]
Add more test cases to e_fkey.test.
FossilOrigin-Name:
5633cb2b5b91a54e677dde76e31e319cd7d51780
dan [Mon, 12 Oct 2009 16:02:10 +0000 (16:02 +0000)]
Fix some mappings from e_fkey.test.
FossilOrigin-Name:
171c67138527750ec4af403f05389fae5f7da7b5
dan [Mon, 12 Oct 2009 15:25:28 +0000 (15:25 +0000)]
Update e_fkey.test to match the latest version of foreignkeys.html.
FossilOrigin-Name:
a2ca9f1a7a158e7b83a642a8d17549d81caea557
dan [Mon, 12 Oct 2009 11:27:00 +0000 (11:27 +0000)]
Extra test cases mapped to statements in foreignkeys.html.
FossilOrigin-Name:
ffa6207dd72024f01ab6f2715fe628943f178ca5
dan [Mon, 12 Oct 2009 08:41:49 +0000 (08:41 +0000)]
Add further test cases to e_fkey.test.
FossilOrigin-Name:
d61cc0e1a1e8b4bf49016d3d14554f9c20f86f6b
dan [Sat, 10 Oct 2009 15:49:49 +0000 (15:49 +0000)]
Add tests to e_fkey.test.
FossilOrigin-Name:
5ec07feea47e727824b8b48236b5cce80539a455
drh [Sat, 10 Oct 2009 14:29:30 +0000 (14:29 +0000)]
Update requirement text for sqlite3_open_blob(). Update evidence comment
in e_fkey.test to conform to the latest requirement phrasing.
FossilOrigin-Name:
89c548acf4691bad3d90400026267d4c6a55cde1
dan [Fri, 9 Oct 2009 18:16:55 +0000 (18:16 +0000)]
Add test cases to e_fkey.test.
FossilOrigin-Name:
e391dfe79d52e1de48688715d4a6707ffca214fd
dan [Thu, 8 Oct 2009 19:02:50 +0000 (19:02 +0000)]
Test a couple of the examples in foreignkeys.html.
FossilOrigin-Name:
a2fb7902c01f8b095b25d338fc2f23cb26c941d9
dan [Thu, 8 Oct 2009 17:42:28 +0000 (17:42 +0000)]
Add test cases to test file "e_fkey.test".
FossilOrigin-Name:
23e0f61a4f24315bf31f632f43b60ec232f348fb
dan [Thu, 8 Oct 2009 13:42:28 +0000 (13:42 +0000)]
Fix a problem in the legacy genfkey code to do with column names that require quoting.
FossilOrigin-Name:
273ccbf18af5191807678a0a0c09cda82408b29c
dan [Thu, 8 Oct 2009 11:57:24 +0000 (11:57 +0000)]
Add tests to test/e_fkey.test.
FossilOrigin-Name:
533703d78ab4330b2dc8e08aaba89b4667e46331
dan [Thu, 8 Oct 2009 06:24:41 +0000 (06:24 +0000)]
Update triggerC.test to match the change to the way the trigger-recursion limit is handled.
FossilOrigin-Name:
5806925283b889867567c4ad92518bad000e9d9d
drh [Thu, 8 Oct 2009 01:43:55 +0000 (01:43 +0000)]
Fix a segfault that can occur following an OOM fault while renaming a
table holding foreign key constraints.
FossilOrigin-Name:
33973814c67bc9bac575bf2249df6530dd2184d3
drh [Wed, 7 Oct 2009 23:42:25 +0000 (23:42 +0000)]
Use memcpy() rather than structure assignment so that memcmp() can later
be used for comparison. Ticket [
8550ecca70 ]
FossilOrigin-Name:
56f609da4bfcc794e1f8573652dcde8515e87098
dan [Wed, 7 Oct 2009 18:41:19 +0000 (18:41 +0000)]
Add some tests of statements in foreignkeys.html.
FossilOrigin-Name:
8382867956caf20f62c46c15b456c1c16d0824fd
dan [Wed, 7 Oct 2009 16:04:46 +0000 (16:04 +0000)]
Add a missing OP_Close opcode to VDBE programs that check for FK constraint violations.
FossilOrigin-Name:
5caa4a2b050d5743b1407485cf419aa36cf16ac6
dan [Wed, 7 Oct 2009 11:29:40 +0000 (11:29 +0000)]
Update the header comment for sqlite3_blob_open to note that it is not possible to write to a column that is indexed, part of a primary key or, if foreign key support is enabled, part of a foreign key.
FossilOrigin-Name:
2fd487fdb669df89a8eb62cd0b7dc27ea1016edf
dan [Wed, 7 Oct 2009 10:43:26 +0000 (10:43 +0000)]
Update header file comments describing the sqlite3_changes and sqlite3_total_changes functions to describe how changes made by foreign key actions are handled.
FossilOrigin-Name:
4c342c026a84f2608c2b331a1ac016117b80f108
dan [Tue, 6 Oct 2009 14:59:02 +0000 (14:59 +0000)]
Change tclsqlite.c to use the Tcl_NRxxx() APIs in Tcl versions 8.6 and later.
FossilOrigin-Name:
e9f72f1de459a9e8380609f6bd7d4b76afb59f89
dan [Mon, 5 Oct 2009 05:40:08 +0000 (05:40 +0000)]
Fix some errors in the guttman versions (disabled by default) of the algorithms in rtree.c.
FossilOrigin-Name:
64bad00b4f6fbbc3e5e75966f9c3959ad3d542ef
dan [Sat, 3 Oct 2009 07:04:11 +0000 (07:04 +0000)]
Handle an SQLITE_IGNORE returned when requesting authorization to read parent key columns by pretending the parent key columns contain NULL values.
FossilOrigin-Name:
3c24df38e6ae5dfe999bbf3133b65df0074c6a50
dan [Fri, 2 Oct 2009 15:29:10 +0000 (15:29 +0000)]
Add one more authentication test to fkey2.test to cover an untested branch.
FossilOrigin-Name:
e4fa8be770eb79806d489be46f68f969de17378b
dan [Fri, 2 Oct 2009 14:23:41 +0000 (14:23 +0000)]
When inserting a row into a child table, invoke the authorization callback to request permission to read the parent key columns.
FossilOrigin-Name:
9842f2d5f606eb8f641ecae9fbc5368b8d7e4286
dan [Fri, 2 Oct 2009 06:35:06 +0000 (06:35 +0000)]
Add a test to check that the incrblob API cannot be used to write to an IPK column. Also a comment to explain why the incrblob code does not need to check if a column is part of a parent key before writing to it.
FossilOrigin-Name:
dca2a7f608d9237039541707846c76cd460f5805
dan [Thu, 1 Oct 2009 17:13:31 +0000 (17:13 +0000)]
Add test cases to cover the branches added by the previous commit.
FossilOrigin-Name:
aaa005b6da222f711f201c453d28f5be40e9c601
dan [Thu, 1 Oct 2009 16:09:04 +0000 (16:09 +0000)]
If an update does not modify any child or parent key columns, omit foreign key processing for the statement.
FossilOrigin-Name:
edff3500058eb8ad2381f855ef7a09ecb680f7b8
dan [Thu, 1 Oct 2009 04:35:05 +0000 (04:35 +0000)]
Add tests to check that FK support interacts with count-changes correctly.
FossilOrigin-Name:
5b8366154b2a91c1be3e7e52ec270ecdfe7d2bb1
dan [Wed, 30 Sep 2009 08:11:07 +0000 (08:11 +0000)]
Remove unreachable branches from fkey.c. Add a few tests to cover the remaining branches.
FossilOrigin-Name:
0a0a17d87c990a811a2755b9d9d4141b611b49db
dan [Wed, 30 Sep 2009 04:28:04 +0000 (04:28 +0000)]
Change a couple of comments to use "SQLITE_MUTEX_OMIT" instead of OMIT_MUTEX.
FossilOrigin-Name:
b733e939f785111eac987fe4a25ccfa512e4f0b4
dan [Tue, 29 Sep 2009 16:38:59 +0000 (16:38 +0000)]
Use the affinity and collation sequence associated with the parent key when finding child table rows to apply a foreign key action to.
FossilOrigin-Name:
9a4b7ec2928307e88783223903c842accaff7ccf
dan [Tue, 29 Sep 2009 15:41:57 +0000 (15:41 +0000)]
Check that a unique index uses the default collation sequences for each column before using it as part of a foreign key constraint operation.
FossilOrigin-Name:
64154174cf8a53bd9be818db53cb0e586c5d24cb
dan [Tue, 29 Sep 2009 11:28:51 +0000 (11:28 +0000)]
Remove an unused variable from fkey.c.
FossilOrigin-Name:
582bd7682831362cd0e2f91ac0dba5ab2b7e2983
dan [Tue, 29 Sep 2009 06:33:23 +0000 (06:33 +0000)]
Various fixes so that "make test" works with OMIT_FOREIGN_KEY, OMIT_TRIGGER and OMIT_ALTER_TABLE.
FossilOrigin-Name:
e4eb227b14e4bfcb9f7f284692a391b7355f0204
dan [Mon, 28 Sep 2009 18:52:11 +0000 (18:52 +0000)]
Ignore foreign key mismatch errors while compiling DROP TABLE commands.
FossilOrigin-Name:
5b4d46374a8e808246a1813c12c36c4a75371898
dan [Mon, 28 Sep 2009 14:49:01 +0000 (14:49 +0000)]
Fix the DROP TABLE command so that it cannot be used to bypass foreign key constraints (if foreign key support is enabled).
FossilOrigin-Name:
8353808c9e70412fdee31bfda7810e948f1c7485
dan [Mon, 28 Sep 2009 11:54:21 +0000 (11:54 +0000)]
Fix some foreign key constraint related problems that occur when a row refers to itself.
FossilOrigin-Name:
9e503e2d0428c9e8df878c7c6594790232cca4e0
dan [Sat, 26 Sep 2009 17:51:48 +0000 (17:51 +0000)]
When ALTER TABLE RENAME TO is used to change the name of a table that is the parent table of a foreign key constraint, modify that foreign key constraint to use the new table name.
FossilOrigin-Name:
b4a10c39e726dc190e9597e382baddc034294114
dan [Fri, 25 Sep 2009 17:03:14 +0000 (17:03 +0000)]
Avoid checking if an insert or delete has "fixed" an outstanding FK constraint violation if the constraint counter indicates that the database contains no such violations.
FossilOrigin-Name:
519144ac437b5842e4213f0e81e05c709939c2ab
dan [Fri, 25 Sep 2009 12:00:01 +0000 (12:00 +0000)]
Fix comments in fkey2.c to reflect the immediate-constraint-counter approach.
FossilOrigin-Name:
9fd54b0aa73ed74c65f7db53cb666752f13263f9
dan [Fri, 25 Sep 2009 11:26:54 +0000 (11:26 +0000)]
Prevent ALTER TABLE from being used to add a column with a REFERENCES clause and a non-NULL default value while foreign key support is enabled.
FossilOrigin-Name:
353b1b18253ab71ba38a887e555994f5469b87bd
dan [Thu, 24 Sep 2009 18:19:41 +0000 (18:19 +0000)]
Fixes and test cases to make sure the affinity and collation sequence associated with the parent key is used when comparing it with a child key value.
FossilOrigin-Name:
76e8e74b49be4c80b9fb20d52e9b39db8001362e
dan [Thu, 24 Sep 2009 16:52:28 +0000 (16:52 +0000)]
Fix a bug in the code for REPLACE conflict handling on IPK columns when there are no indexes on the table. Triggers and foreign key processing were being bypassed.
FossilOrigin-Name:
beb2094f94849c66d98bab5999ff474cd91eea11
dan [Thu, 24 Sep 2009 15:16:33 +0000 (15:16 +0000)]
Fix a problem in fkey.c when a child key is the IPK of its table.
FossilOrigin-Name:
8a000a8aae4d356e68acf2bc1788d2c40279522c
drh [Thu, 24 Sep 2009 14:27:33 +0000 (14:27 +0000)]
Remove the ALWAYS() added by the previous check-in. It is not needed.
FossilOrigin-Name:
36568963356e3919e8b862e7e40ded2eae7ce187
drh [Thu, 24 Sep 2009 13:48:10 +0000 (13:48 +0000)]
Comment enhancements. Add an ALWAYS macro in fkey.c to indicate a branch
that is always taken.
FossilOrigin-Name:
d5b714cffffe588dd4dd10e0b82df8d99657be88
dan [Thu, 24 Sep 2009 11:31:21 +0000 (11:31 +0000)]
Ensure foreign key related processing takes place when rows are deleted from the database by REPLACE conflict handling.
FossilOrigin-Name:
3f40c142c8526c1572020bd4d945c03a72019135
dan [Thu, 24 Sep 2009 10:42:09 +0000 (10:42 +0000)]
Use sqlite3FkOldmask() in delete.c instead of assuming that foreign key constraints always require all columns of the deleted row to be stored in registers.
FossilOrigin-Name:
ce554a393401fc2fb9b5be049ddd383070102934
dan [Thu, 24 Sep 2009 09:05:49 +0000 (09:05 +0000)]
Remove unused parameter from sqlite3CodeRowTrigger(). Fix header comments for this function and CodeRowTriggerDirect().
FossilOrigin-Name:
0443f7c9112ca91aa45c78a3d6287e5fcf5c3b73
drh [Thu, 24 Sep 2009 00:09:58 +0000 (00:09 +0000)]
Make sure a transaction is available for rollback whenever a REDUCE conflict
resolution occurs and there is the possibility to ABORT.
Ticket [
4a03edc4c8c ]
FossilOrigin-Name:
f0c56fa90dc95aff6fe6764b5ab75a90199247b0
shane [Wed, 23 Sep 2009 18:49:41 +0000 (18:49 +0000)]
dan [Wed, 23 Sep 2009 18:07:22 +0000 (18:07 +0000)]
Fix a problem with FK constraints that implicitly map to a composite primary key.
FossilOrigin-Name:
e0a48d53110130de75602603f524539e421a9dba
dan [Wed, 23 Sep 2009 17:31:19 +0000 (17:31 +0000)]
Fix a problem in the fkey_malloc.test script.
FossilOrigin-Name:
0ce1efa46080f379089b03706daeac96c4add0f9
dan [Wed, 23 Sep 2009 17:29:59 +0000 (17:29 +0000)]
Do not check immediate foreign key constraints until the end of the statement. This matches the postgres behaviour.
FossilOrigin-Name:
1a32149cc3c722058f4ed4c81edadeb6ce5bc9e4
drh [Wed, 23 Sep 2009 15:51:35 +0000 (15:51 +0000)]
Modify the ".dump" command on the CLI so that it always issues a
PRAGMA foreign_keys=OFF at the top of the output.
FossilOrigin-Name:
0755b9b697d32292f378a4b934ca1cf9f56225cd
drh [Wed, 23 Sep 2009 14:45:05 +0000 (14:45 +0000)]
Change the version number to 3.6.19. Fix a couple of incorrect testcase()
macros associated with the new IS and IS NOT operators in expr.c.
FossilOrigin-Name:
e3b73394bf9c0391e997079b160eace3589415ab
dan [Wed, 23 Sep 2009 13:59:17 +0000 (13:59 +0000)]
Disallow using the implicit rowid column as the parent key of an FK constraint.
FossilOrigin-Name:
a5f7e71f424900071a3925e53e9128c9148ea2e8
drh [Wed, 23 Sep 2009 13:39:56 +0000 (13:39 +0000)]
Add test cases for the IS and IS NOT operator.
FossilOrigin-Name:
101ed58cf4a1dfe53031b98cfc7ed01e86b4c7b6
dan [Wed, 23 Sep 2009 12:06:52 +0000 (12:06 +0000)]
Add extra tests for foreign key support.
FossilOrigin-Name:
7d086afe69da4d03bd1de5408626858273f91e8f
dan [Wed, 23 Sep 2009 08:43:35 +0000 (08:43 +0000)]
Add missing comments to fkey.c. Also, change the terminology used for comments and names in fkey.c from "referenced/referencing" to "parent/child". This is arguably less correct, but is easier to follow.
FossilOrigin-Name:
540c2d18e14c277b55f95729fbafc04ca66466b2
drh [Wed, 23 Sep 2009 03:01:58 +0000 (03:01 +0000)]
Do not run ON UPDATE actions of a foreign key constraint unless at least one
column value really does change.
FossilOrigin-Name:
71ac8e28e55ff0250ebe2fe239159ce2458d9165
drh [Wed, 23 Sep 2009 02:29:36 +0000 (02:29 +0000)]
Generalize the IS and IS NOT operators so that their right-hand side can be
an arbitrary expression and not simple the constant NULL. They work like
= and <> except that NULL values compare equal to one another an unequal to
everything else.
FossilOrigin-Name:
98853f6104076c50ea92175e17a3254bfbbd4619
drh [Tue, 22 Sep 2009 20:08:34 +0000 (20:08 +0000)]
Factor the UMINUS and UPLUS tokens out of the parser so that the parser
tables can go back to using 8-bit values instead of 16-bit values.
FossilOrigin-Name:
3fc938c961fd7810594224b91a2d6e1ac9e48084
drh [Tue, 22 Sep 2009 19:53:41 +0000 (19:53 +0000)]
The NO ACTION action really should be no-action and not RESTRICT.
FossilOrigin-Name:
55b263fa2b2fed8c721154e3c48f4226be95065c
dan [Tue, 22 Sep 2009 16:55:38 +0000 (16:55 +0000)]
Fix another OOM related problem in fkey.c.
FossilOrigin-Name:
e2bc51bc61d54d103ccffd12106c27a574e4e997
dan [Tue, 22 Sep 2009 16:08:58 +0000 (16:08 +0000)]
Fix a problem with ON DELETE SET DEFAULT actions.
FossilOrigin-Name:
9406995055f53639b0af46985c7b0a24a80308ae
dan [Tue, 22 Sep 2009 15:53:47 +0000 (15:53 +0000)]
Fix an OOM related crash in fkey.c.
FossilOrigin-Name:
635d6a775a3f192d4292738905f5e01bc956a712
shane [Tue, 22 Sep 2009 13:25:00 +0000 (13:25 +0000)]
Allow specific exclusion of localtime_s() usage on Windows.
FossilOrigin-Name:
216bcda7d2818efda55849d5cb84aa483bc6429b
dan [Tue, 22 Sep 2009 07:13:42 +0000 (07:13 +0000)]
Fix compilation errors when OMIT_FOREIGN_KEY is defined.
FossilOrigin-Name:
c447cb37d6439090eb08028d54a91d7d06043744
dan [Mon, 21 Sep 2009 18:56:23 +0000 (18:56 +0000)]
Fix a problem with foreign key constraints that map from and IPK column.
FossilOrigin-Name:
84129052623dc6a175c76db602ab07fa3e57f1eb
dan [Mon, 21 Sep 2009 16:34:24 +0000 (16:34 +0000)]
Fix compilation with both OMIT_UTF16 and ENABLE_STAT2 defined. Ticket [
56928bd084ea530eb8a0b3ebe5d2d9033fb1de7f |
56928bd084 ].
FossilOrigin-Name:
cd850d49a12a2852258cbd7d5db56715132dff17
dan [Mon, 21 Sep 2009 16:06:03 +0000 (16:06 +0000)]
dan [Sat, 19 Sep 2009 17:59:59 +0000 (17:59 +0000)]
Add fkey.c to the autoconf and amalgamation build systems.
FossilOrigin-Name:
aab7a4b3c91e0a149f6499660892d09c17b010e3
dan [Sat, 19 Sep 2009 17:00:31 +0000 (17:00 +0000)]
Check in implementation of foreign key constraints.
FossilOrigin-Name:
d5d399811876391642937edeb9e8434dd9e356f5
drh [Thu, 17 Sep 2009 00:41:19 +0000 (00:41 +0000)]
When coding a trigger, assume that the "oldmask" requires all columns until
we know otherwise. That pessimistic assumption assures that all necessary
parameters are available on a cascading delete trigger.
Ticket [
e25d9ea771f ]
FossilOrigin-Name:
03e464be51a1c36fc02cf31178ae91f736dfddd6
drh [Mon, 14 Sep 2009 23:47:24 +0000 (23:47 +0000)]
Make sure sufficient space is allocated for at least one VDBE cursor when
autoincrement is used. Ticket [
a696379c1f088 ].
FossilOrigin-Name:
2b2a1ef74e24857b8d18f6370894588fc2aa5ebb
drh [Fri, 11 Sep 2009 18:28:53 +0000 (18:28 +0000)]
Set the execute permission bit on "configure".
FossilOrigin-Name:
f8c02b2b720e26a9ca7e35cb8015888fae538351
drh [Fri, 11 Sep 2009 17:59:55 +0000 (17:59 +0000)]
Make sure the (unsupported) configure script in the source tree has
execute permission prior to constructing a tarball.
Ticket [
65bbb65a47ce ].
FossilOrigin-Name:
5e0e941f3adf09c5f315e27cefdc968c59aa574e
drh [Fri, 11 Sep 2009 14:05:06 +0000 (14:05 +0000)]
Add an #ifndef so that the build works with SQLITE_OMIT_ANALYZE again.
FossilOrigin-Name:
b084828a771ec40be85f07c590ca99de4f6c24ee
drh [Thu, 10 Sep 2009 22:30:53 +0000 (22:30 +0000)]
Omit the mutexIsInit test variable when mutexes are disabled.
FossilOrigin-Name:
3ea10434434d27a1300ba2b58e2c47c54909f4ff
shane [Thu, 10 Sep 2009 20:23:30 +0000 (20:23 +0000)]
Fixed some warnings and an assert in the WINCE code when compiling under MSVC.
FossilOrigin-Name:
f42ec993ac9d42ca31305f26b09924108c36d9f4
drh [Thu, 10 Sep 2009 19:20:03 +0000 (19:20 +0000)]
Make sure the threadsOverrideEachOthersLocks variable is only referenced by
linux systems on a threadsafe compile.
FossilOrigin-Name:
e9d064bd9318c2bc9248df948f71fd30f24525eb
shane [Thu, 10 Sep 2009 19:09:03 +0000 (19:09 +0000)]
Cleanup of warnings on MSVC build.
FossilOrigin-Name:
5588cc96bbe0b9df5f8d31f8f2d2b48b3f54ff09
dan [Thu, 10 Sep 2009 18:26:05 +0000 (18:26 +0000)]
Update an r-tree test to account for changes in the query planner.
FossilOrigin-Name:
e5ce66d40bd68dc014071f7830112fa3b1d72948
dan [Thu, 10 Sep 2009 18:17:10 +0000 (18:17 +0000)]
Define SQLITE_TEST when compiling mem5.c for testfixture.
FossilOrigin-Name:
6b16f3c9073e44a2d720a396078f0d71bda66df1
dan [Thu, 10 Sep 2009 18:04:02 +0000 (18:04 +0000)]
Fix a problem in test script corrupt.test.
FossilOrigin-Name:
dad2b74ad0a86ff07c77f0a60b26480fc0a2e54d
drh [Thu, 10 Sep 2009 17:45:00 +0000 (17:45 +0000)]
Add assert() statement to verify that new mutexes are not allocated when
the mutex subsystem is uninitialized.
FossilOrigin-Name:
1183c533571bc9c7ce56102b718f3e4f4e78019e
dan [Thu, 10 Sep 2009 16:14:50 +0000 (16:14 +0000)]
Fix a problem with the sqlite3VdbeMayAbort() assert failing following an OOM.
FossilOrigin-Name:
b3027863505fa8edf355f3f5eea4502ef365175e
dan [Thu, 10 Sep 2009 10:15:59 +0000 (10:15 +0000)]
Remove an ALWAYS macro around an expression that is sometimes false.
FossilOrigin-Name:
f2a9ee722c568e73f2a08fb6a2886719850f2923
shane [Thu, 10 Sep 2009 02:54:48 +0000 (02:54 +0000)]
Reduce default SQLITE_MAX_TRIGGER_DEPTH when SQLITE_SMALL_STACK is defined.
FossilOrigin-Name:
913fb70ea85f05d94db5cf2e692a7c8b7489e3ba
dan [Wed, 9 Sep 2009 18:46:52 +0000 (18:46 +0000)]
Trying to open a transaction in one thread and close it in another is a misuse with LinuxThreads. Doing so may cause memory and file-descriptors to be leaked. Update an assert() and some test cases to account for this.
FossilOrigin-Name:
ef99eb57c536d82e7c19fd3d990c17793cc64a3f
drh [Wed, 9 Sep 2009 16:10:50 +0000 (16:10 +0000)]
Suppress some harmless compiler warnings.
FossilOrigin-Name:
f0c72a53c5d57d7487b48a06a40816153f47aaac
drh [Wed, 9 Sep 2009 15:29:41 +0000 (15:29 +0000)]
Bug fix in the SQLITE_OPEN_PRIVATECACHE option added a few minutes ago.
FossilOrigin-Name:
f3a0f23bc77f8c73924f1d371afae9a0f65bae67
dan [Wed, 9 Sep 2009 15:06:10 +0000 (15:06 +0000)]
Add some tests that involve BEFORE UPDATE or BEFORE DELETE triggers messing with the row being updated or deleted. SQLite behaviour in this scenario is undefined, so the tests just check that the behaviour is relatively sane and there are no crashes.
FossilOrigin-Name:
9a4c59a2ddd0df2d9425097004b450a6685f2147
drh [Wed, 9 Sep 2009 14:48:21 +0000 (14:48 +0000)]
Update the README file to state that TCL is required in order to run
the makefiles for SQLite. Ticket [
7d96113ff ].
FossilOrigin-Name:
ba20091ae8146d276414f97527bf63e50fac8691
drh [Wed, 9 Sep 2009 14:17:52 +0000 (14:17 +0000)]
Added SQLITE_OPEN_SHAREDCACHE and SQLITE_OPEN_PRIVATECACHE flags as
possibilities to sqlite3_open_v2(), to override the global shared
cache mode setting. Ticket [
9fd0bc36639c15 ]
FossilOrigin-Name:
f509eb8b488bb39deda4ca88f66ed40c6784af02
drh [Wed, 9 Sep 2009 12:41:17 +0000 (12:41 +0000)]
Increase the size of bitvec objects to 1024 bytes on 64-bit systems.
FossilOrigin-Name:
f1272b90f6078d301ab05592593e9415f2b2b90b