drh
b042d92128
Give a meaningful error on an attempt to use UPSERT on a virtual table,
...
rather than simply not working.
FossilOrigin-Name: fa98748f956cff95fcfda3a513cea4df27aa573ae795a6855c40bfeca661d0b2
2019-01-04 23:39:37 +00:00
drh
b7c2cf0aaf
More test-case adjustments for defensive mode.
...
FossilOrigin-Name: 911e8a17a3810cd7042e91a32aba80dc3d6be88320c208e48f7bcee8b22a0ff2
2018-11-07 14:41:08 +00:00
dan
d3e17ffbb7
Fix some test script issues caused by recent EXPLAIN QUERY PLAN enhancements.
...
FossilOrigin-Name: f808e22831c33bfe3d0dd44e209f64d527c23ca7c72be7c694736535afee1317
2018-05-29 14:06:55 +00:00
dan
b8fff29c68
In SQLITE_ENABLE_BATCH_ATOMIC_WRITE builds on F2FS file-systems, invoke
...
SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE if an SQLITE_FCNTL_COMMIT_ATOMIC_WRITE call
fails. Also, do not use an atomic transaction to create the initial database.
This is because if an error occurs while writing to the db file, any changes
to the file-size do not seem to be rolled back automatically. The only time
this matters is when the file was 0 bytes in size to start with.
FossilOrigin-Name: b3122db1545aeb48b7c28d480534b4b0fe04e83d5336225714c3cad926e5960e
2018-01-23 14:01:51 +00:00
dan
a688ca5ea9
Fix a problem in os_unix.c causing it to return SQLITE_CANTOPEN instead of
...
SQLITE_READONLY_RECOVERY.
FossilOrigin-Name: 6a16f554f027ba268276b728588b5eaea837cbed85358a06a2f6da3b70e834ad
2018-01-10 11:56:03 +00:00
dan
afcf9bd806
Modifications to test files to omit any tests that intentionally access out-of-bounds locations in clang -fsanitize=address builds.
...
FossilOrigin-Name: f4a701d55f5c4e1e62ed64b779ad4fff89dd31b7
2014-01-23 14:44:08 +00:00
drh
143867516b
Fix testcase misc7-16 so that it works with the new UNIQUE constraint error
...
message format.
FossilOrigin-Name: c7f2ed9f44be3b66a542ee42c0db63bab8ffd2db
2013-11-16 12:56:46 +00:00
drh
5822d6feb2
Fix test cases for the new EXPLAIN QUERY PLAN format. Add the
...
wherecosttest tool. Other fixes to logarithm cost.
FossilOrigin-Name: aa580e368e3c398b8377b80342dfdd906324c248
2013-06-10 23:30:09 +00:00
dan
e3664fb03c
Add extended error code SQLITE_READONLY_ROLLBACK. Returned if a read-only connection cannot read the database because doing so would require it to roll back a hot-journal.
...
FossilOrigin-Name: 39247b14a52b0c0222fe5a848bf0aef0854058c4
2013-03-05 15:09:25 +00:00
mistachkin
f1c6bc5cd3
Remove more references to OS/2.
...
FossilOrigin-Name: eebd594d6bd09c77727620a818d7dc0b091f55b4
2012-06-21 15:09:20 +00:00
mistachkin
f8a784645c
On Windows, make sure the current directory value used by the test suite is 'normalized' to what the parent command shell sees. Also, clean the test directories used by the quota2.test file.
...
FossilOrigin-Name: 82bcd7ec1531f6d71c079578434c58d3ce46a1de
2012-03-08 20:00:36 +00:00
drh
33f111dc72
Remove the undocumented PRAGMA omit_readlock hack.
...
FossilOrigin-Name: 96900c47e4fc6ed55cefc10d55d3d8d16bcb1d31
2012-01-17 15:29:14 +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
659816e9c2
Update misc7.test to account for EQP changes.
...
FossilOrigin-Name: 917af565ac0c71c14fcba56632e687ed938a856c
2010-12-02 06:08:53 +00:00
drh
e64ca7ba11
Code simplifications and comment improvements in support of structural
...
coverage testing. (CVS 6899)
FossilOrigin-Name: 945251798144110787b197f9eb552a2dd4a25cb4
2009-07-16 18:21:17 +00:00
danielk1977
8e3e881a24
Fix a bug in test file misc7.test. No code changes. (CVS 6272)
...
FossilOrigin-Name: d919d2a14c8cbbda3fbd6fb2ddae174fa709177b
2009-02-10 05:45:41 +00:00
drh
c7a3bb94c2
Make the pending byte adjustable via sqlite3_test_control() on all builds,
...
not just on test builds. (CVS 6263)
FossilOrigin-Name: e8f192e2a93350a136d86bd9caceff65f52f3513
2009-02-05 16:31:45 +00:00
danielk1977
0371f1b243
Increase pager.c coverage a bit. Fix an assert failure that can occur following a "PRAGMA omit_readlock" command on a read-only database. (CVS 6152)
...
FossilOrigin-Name: 0f3f9011fa143f7b63c9bf79d3e411327d5c6f9d
2009-01-09 17:11:04 +00:00
drh
99dfe5eb47
Add the sqlite3_extended_errcode() interface. Change to return
...
SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one
or more queries are still pending. (CVS 5850)
FossilOrigin-Name: 4c6a90a16627b1664bf7f15ab40b440b3bd60b48
2008-10-30 15:03:15 +00:00
pweilbacher
e7c8a5c75d
fix some tests to take the right branch on OS/2 (hope I got the Tcl syntax right) (CVS 5593)
...
FossilOrigin-Name: 10e62d4700c99faf07140a8204d3cd81481206ac
2008-08-22 13:57:39 +00:00
drh
701bb3b4f0
Additional coverage testing. Fix a segfault following OOM in
...
sqltie3_load_extension(). (CVS 5523)
FossilOrigin-Name: f1e44eb323f05495cbae25113aebcc50d16b40df
2008-08-02 03:50:39 +00:00
drh
e2a7c6e04f
Add a permutation test case for running all OOM tests with lookaside
...
disabled. (CVS 5517)
FossilOrigin-Name: 3f70e03ae83d374f5f69770bd7a4b279584f7090
2008-08-01 15:06:30 +00:00
drh
8278ce7910
Fix minor problems in the test scripts and harness. (CVS 5394)
...
FossilOrigin-Name: c9ffbfe343b640051161301869698dd9f1f76cb7
2008-07-11 13:53:54 +00:00
drh
af005fbc13
Test coverage improvements on printf. (CVS 5385)
...
FossilOrigin-Name: 2d8f7bebf0f13f3a95f1e2163e35d43229cabfea
2008-07-09 16:51:51 +00:00
drh
17fe6c1d32
Skip tests that require setting detailed unix permissions on files when
...
running on filesystems such as AFP that do not support that capability. (CVS 4866)
FossilOrigin-Name: 5589b9d395fb8267a124d56dd5d7987e57505e3d
2008-03-15 14:53:04 +00:00
drh
01495b9921
Improvements to test coverage in the lemon-generated parser and in the
...
sqlite3_get_table() interface. (CVS 4745)
FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c
2008-01-23 12:52:40 +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
382e28fa0c
Changes to a couple of test scripts to handle the tcl 8.5 version of (file attributes -readonly) on mac. (CVS 4472)
...
FossilOrigin-Name: a51946e66badab37cd54982265631bbc5e414f8e
2007-10-05 15:53:29 +00:00
drh
f3a65f7e44
The malloc.test script now passes all tests with no errors. (CVS 4271)
...
FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
2007-08-22 20:18:21 +00:00
drh
6bd00bfda7
Add a test case to verify that ticket #2470 has been fixed. (CVS 4145)
...
FossilOrigin-Name: b3f442698e01ad55666703025c4457445f2efc9b
2007-06-27 23:52:18 +00:00
drh
0b3d55d4f9
Disable tests in misc7 that do not work on windows due to limitations of
...
the windows file system. (CVS 3873)
FossilOrigin-Name: 66646d6fda067e19240808aef65fafd8fa177cdd
2007-04-25 15:42:25 +00:00
danielk1977
ead8e3f45e
Cover a corrupt-db case in pager.c. (CVS 3794)
...
FossilOrigin-Name: 84077fa1602756339a262bc4ab51b6b487edc637
2007-04-02 12:28:27 +00:00
danielk1977
08d31a2a6d
Correctly handle the obscure case of a read-only hot-journal file. (CVS 3791)
...
FossilOrigin-Name: 4d8c6bf44ec00ec04e615983cb33425ca2c3998a
2007-04-02 11:08:58 +00:00
danielk1977
241687280b
Fix a resource leak introduced by the change-counter optimisation. Also add some test coverage. (CVS 3790)
...
FossilOrigin-Name: ba0538a4977aefd6645554f1989f0a98b540b9cd
2007-04-02 05:07:47 +00:00
danielk1977
393f068912
More coverage for pager.c. (CVS 3778)
...
FossilOrigin-Name: 665b119a241a5a95f236b3ace1b25fc18ae6f0a3
2007-03-31 10:00:48 +00:00
danielk1977
3546947df3
Coverage testing for a few lines in pager.c. (CVS 3770)
...
FossilOrigin-Name: c1aca18fad35be60066a08f5bd09772d24375af6
2007-03-30 18:21:52 +00:00
danielk1977
95b289b684
Coverage tests for some pragmas. (CVS 3767)
...
FossilOrigin-Name: eec7ab63beed875a3b16c3bf8d28ac4f296dfb4c
2007-03-30 17:11:12 +00:00
danielk1977
780b1d9416
Coverage improvements for where.c. (CVS 3764)
...
FossilOrigin-Name: 7e0aa964129612e2bad6fa45139d124f19cacd48
2007-03-30 14:56:34 +00:00
drh
073d3efae4
Avoid using the "clock" command in test scripts since it is a proc in Tcl8.5
...
and is thus not available to testfixture. (CVS 3760)
FossilOrigin-Name: 339941d83ae397d69084f41483afb1ea44d44967
2007-03-30 13:01:32 +00:00
danielk1977
935ed5eafd
Test coverage a few extra lines in where.c. (CVS 3756)
...
FossilOrigin-Name: ea49ddf64aa6073b8018dc2faaf199704d359412
2007-03-30 09:13:13 +00:00
danielk1977
b5584c0c69
Extra test cases to improve coverage of main.c. (CVS 3755)
...
FossilOrigin-Name: 19fc3d78962d225d42372b9298be5921ec1fc8a1
2007-03-30 07:10:50 +00:00
danielk1977
69b637b56b
Add a couple of test cases to improve coverage testing. (CVS 3747)
...
FossilOrigin-Name: 0b22ce3637f87c453084c5bd994b6b19a0b014c0
2007-03-29 17:07:52 +00:00
danielk1977
a713f2c331
Explicitly test some error cases that up until now have not been checked. (CVS 3742)
...
FossilOrigin-Name: f26b014109b1b20367044c5d3fcb347af73d07aa
2007-03-29 12:19:11 +00:00