drh
7f42dcd901
Enhance the unix VFS so that it removes extra "/", "/./" and "/../" from
...
the database filename.
FossilOrigin-Name: 7ba89d3e5c68d970ed26c2ec6e6e34bae535c2cc0b22a022d20ac9ff4527b8ab
2020-11-16 18:45:21 +00:00
drh
bafad06139
Test case modifications to support SEE.
...
FossilOrigin-Name: 02b6f8f2778c371130c512e980c3db07c7e76dcf7dd92a878b86e4b6a47ca307
2018-10-12 15:01:56 +00:00
dan
0b8dcfa2bd
Fix a problem preventing a shared in-memory database from being attached to a read-only connection.
...
FossilOrigin-Name: 7caca1939ce70d5b14ae8ca8ff6afb62f8aff361
2012-06-07 17:16:04 +00:00
drh
cc71645bf7
Merge the changes need to compile on WinRT into trunk.
...
FossilOrigin-Name: 61360ca6ca3448477d5c662d3642beef6dd2079e
2012-06-06 23:23:23 +00:00
drh
9c67b2aae0
Add the mode=memory option to URI filenames, which when present forces the
...
database to be an in-memory database. This enables named in-memory databases.
FossilOrigin-Name: 651520fa84ee0c488bef660bab9865500309d5e9
2012-05-28 13:58:00 +00:00
drh
4ab9d254e0
Only allow :memory: databases to share cache if there are created using a
...
URI filename. This minimizes the risk of breakages in legacy applications
that have shared-cache enabled but also use :memory: databases which they
expect to keep separate.
FossilOrigin-Name: e3ad61e0308a8442c2bdb7cdb3465576cd39ed4a
2012-05-26 20:08:49 +00:00
drh
afc8b7f0c1
Enable the use of shared cache for an in-memory database, so that separate
...
database connections can share the same in-memory database.
FossilOrigin-Name: 4590e433f2a595bb80fb061024b0a3d2ca25b7b2
2012-05-26 18:06:38 +00:00
mistachkin
4a41f34552
Fix for test issues when there is no current directory support due to being compiled for WinRT.
...
FossilOrigin-Name: a811cb01528beab8afd899411d187d4d960ddcc8
2012-03-06 03:00:49 +00:00
mistachkin
fda06befd5
Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried.
...
FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c
2011-08-02 00:57:34 +00:00
dan
2949e4e8a0
Add a test case to shared.test. No changes to production code.
...
FossilOrigin-Name: bfb0dd3c2f7e1ffbdf236be4adc3e0d804ed5854
2010-07-23 15:55:31 +00:00
danielk1977
404ca07578
Add the sqlite3_unlock_notify() API. (CVS 6348)
...
FossilOrigin-Name: b649a6cc5bfefddd6a04b1183647d2923e0a0daa
2009-03-16 13:19:36 +00:00
aswift
aebf413d9a
Added support for proxy file locking style
...
Added pragma support for controlling proxy file locking
Added file control access to last errno and proxy locking
Added support for TMPDIR environment variable
Extended unit tests to cover new proxy locking pragmas and file control features (CVS 5934)
FossilOrigin-Name: b9bc36d3d5e35821ef69c0881a84c0afed253c9e
2008-11-21 00:10:35 +00:00
drh
e8f52c5089
Remove leftover debugging commands (breakpoint and btree_breakpoint) from
...
test scripts. (CVS 5400)
FossilOrigin-Name: dcb160249fa2d592ad09b8b0052102dc44a93511
2008-07-12 14:52:20 +00:00
danielk1977
983e230939
Prohibit the user from changing the temporary storage medium (pragma temp_store) while there is a read transaction open on the temporary database. Add tests to shared.test to cover a few more lines in btree.c. (CVS 5362)
...
FossilOrigin-Name: 92e0cf9a08a8b337a8f239afb048a0e045485771
2008-07-08 07:35:51 +00:00
shane
cf77a45a10
SQLite stores native file names and paths for the database file. Under Windows, (file normalize test.db) is expanded using UNIX type path separators which TCL recognizes interchangeably. However, this means that the path reported by sqlite3_shared_cache_report doesn't match which causes the test case to fail. Made minor change to test case to hopefully correct this on all platforms. (CVS 5143)
...
FossilOrigin-Name: 5ef61701398ce75e32cfaea2eacf2c3e80832ca0
2008-05-19 20:11:39 +00:00
danielk1977
f51bf48b32
Fix a shared-cache mode problem triggered when sqlite3_open16() was used to open the second or subsequent connections to a utf-8 database. (CVS 5059)
...
FossilOrigin-Name: 20946bf6dd704416c41edd863103e85fc7ab4ef2
2008-04-28 16:19:35 +00:00
danielk1977
044d305c53
Modify shared.test to do case independent comparison of filenames. To account for the fact that "c:/test.db" and "C:/test.db" are the same file. (CVS 4780)
...
FossilOrigin-Name: 63915b54cfb41c2361c387636aa904145b166411
2008-02-08 18:25:48 +00:00
drh
85b623f2f9
Change all instances of "it's" in comments to either "its" or "it is",
...
as appropriate, in case the comments are ever again read by a pedantic
grammarian. Ticket #2840 . (CVS 4629)
FossilOrigin-Name: 4e91a267febda572e7239f0f1cc66b3102558c36
2007-12-13 21:54:09 +00:00
danielk1977
5a8f9374ab
Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706 . (CVS 4480)
...
FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610
2007-10-09 08:29:32 +00:00
danielk1977
4152e677b8
Fixes for compilation/testing when the various OMIT macros are defined. (CVS 4423)
...
FossilOrigin-Name: c8405b15c074c94dab5e33272cf1471f458d11df
2007-09-12 17:01:45 +00:00
danielk1977
843e65f2fc
Remove the syncOk argument to pager_recycle. Now that sqlite3_memory_release uses a global lru list of page, it is no longer required. (CVS 4364)
...
FossilOrigin-Name: fb27692ab10b22851b265348bb6b3e1dececd60f
2007-09-01 16:16:15 +00:00
danielk1977
d42f8fdc7a
Avoid reloading the schema when an expired statement is finalized or reset.
...
This is only necessary when the in-memory schema does not match the file-system schema. (CVS 4194)
FossilOrigin-Name: 61de5b52daa0a862a04147dbaf71fafb696052f6
2007-08-03 07:33:08 +00:00
drh
16a9b8363d
Factor out btree test logic into a separate test_btree.c file. (CVS 3928)
...
FossilOrigin-Name: d51274f1cc3a75f6a03e90259ce829ac1dacf78f
2007-05-05 18:39:25 +00:00
drh
7c4ac0c555
Improvements to coverage testing. (CVS 3810)
...
FossilOrigin-Name: 38af156da83a8469080ddb75a9a286be33ff6bef
2007-04-05 11:25:58 +00:00
drh
5f9c1a2cbd
Test coverage improvements. (CVS 3807)
...
FossilOrigin-Name: 25f49acc5662ed8dd321b83a60aeeab93a37e129
2007-04-04 01:27:44 +00:00
drh
c693e9e693
Fix the shared pager tests so that they work under windows. (CVS 3013)
...
FossilOrigin-Name: 4a1a9f3e9df6588bcd4da13456790fbbc58f66de
2006-01-23 21:38:03 +00:00
danielk1977
4b202ae2a5
Improve coverage of expr.c and btree.c slightly. (CVS 2992)
...
FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494
2006-01-23 05:50:58 +00:00
danielk1977
ed4293119a
Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
...
FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245
2006-01-19 08:43:31 +00:00
danielk1977
191c3e7db0
Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976)
...
FossilOrigin-Name: a628d84d3185fb7742cc929e758bfd59c811ca0b
2006-01-19 07:18:14 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977
ff890793fc
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
...
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
danielk1977
bab45c647d
Fix some of the issues raised in #1615 . (CVS 2959)
...
FossilOrigin-Name: 0d5d83bcbd65dd7ae968909acfee075185e49c38
2006-01-16 15:14:27 +00:00
danielk1977
a96a7103b2
Run the tests in shared.test a second time using an autovacuum database. (CVS 2957)
...
FossilOrigin-Name: 9927522923558348a846e033b92100c0ed4ee556
2006-01-16 12:46:41 +00:00
danielk1977
b597f74af5
Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947)
...
FossilOrigin-Name: 1944d92b530d3bbcd31561063660de03d668af23
2006-01-15 11:39:18 +00:00
danielk1977
1576cd9251
Fixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include EXISTS keyword (for new CREATE TABLE syntax). Test file fixes. (CVS 2943)
...
FossilOrigin-Name: 8e79a0c24a03ccf960d6ccfb7c6b9b0f7c614e9b
2006-01-14 08:02:28 +00:00
danielk1977
b82e7edae9
Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)
...
FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6
2006-01-11 14:09:31 +00:00
drh
7a91dd8602
Prepare for the release of version 3.3.0. (CVS 2913)
...
FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0
2006-01-11 01:08:34 +00:00
danielk1977
eecfb3eebc
Fix a problem with shared-schemas and temp triggers. (CVS 2901)
...
FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740
2006-01-10 12:31:39 +00:00
danielk1977
14db26653a
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895)
...
FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb
2006-01-09 16:12:04 +00:00
danielk1977
e501b89ada
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
...
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
2006-01-09 06:29:47 +00:00
danielk1977
c00da10565
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)
...
FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152
2006-01-07 13:21:04 +00:00
danielk1977
aaf22685d7
Fix a crash caused by adding a trigger to a shared-schema and then deleting it
...
using a different connection. (CVS 2873)
FossilOrigin-Name: 19f93e135f1ff4f987d14afe74b955e119904017
2006-01-06 15:03:48 +00:00
danielk1977
c87d34d05d
Add some simple tests and fixes for shared-schema locking. (CVS 2869)
...
FossilOrigin-Name: d054bed15aee3edef93cc84c83be443cdd489946
2006-01-06 13:00:28 +00:00
danielk1977
de0fe3e4c3
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
...
FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4
2006-01-06 06:33:12 +00:00
danielk1977
da18423620
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
...
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
danielk1977
aef0bf6429
Add part of the btree layer of the shared-cache feature. (CVS 2848)
...
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-30 16:28:01 +00:00