danielk1977
639f45ff06
Simplify failing case in fuzz.test. (CVS 3974)
...
FossilOrigin-Name: a54c74990caf22c0008a7029e24594e83048ffbc
2007-05-10 17:38:57 +00:00
danielk1977
f75232f748
Add cases to fuzz.test. Some tests in this file fail at the moment. (CVS 3973)
...
FossilOrigin-Name: 1e8fcb3fbed7beb8bb1370953ecf3d4b9db01ede
2007-05-10 17:32:48 +00:00
drh
53c1402157
Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines
...
print infinity as "Inf" not as "NaN". Ticket #2345 . (CVS 3972)
FossilOrigin-Name: ffe615a71107a38b6f60c7baf4284a5b0aecdc22
2007-05-10 17:23:11 +00:00
danielk1977
def0fec8e0
Add new test file fuzz.test, to test SQLite with fuzzily generated SQL. (CVS 3971)
...
FossilOrigin-Name: 1e9e6fe75d01d8cf4e1a23505c45f28491f1e902
2007-05-10 15:37:52 +00:00
danielk1977
89a43bc588
Another test for overflow in strftime(). It was not broken. (CVS 3969)
...
FossilOrigin-Name: 5800d0327ebc122e679ef860b58098b3c08eb709
2007-05-10 11:43:53 +00:00
danielk1977
fc9760654a
Add code to enforce the MAX_EXPR_DEPTH limit. (CVS 3968)
...
FossilOrigin-Name: 2c9c94a24d52a1c9f5d1b32cbdff794a2dd74126
2007-05-10 10:46:56 +00:00
drh
e305f43f17
Make sure compound queries inside a subquery only return a single result
...
column. Ticket #2347 . (CVS 3967)
FossilOrigin-Name: 66954bdd81dabfb60306de8480b5477a4acb1d9e
2007-05-09 22:56:39 +00:00
drh
b63f274589
Fix a problem with strange expressions being fed to an ATTACH or DETACH
...
statement. (CVS 3965)
FossilOrigin-Name: 0c91dc9ee0c5d441a7789b631476515260cb887f
2007-05-09 20:31:29 +00:00
danielk1977
de3bea7ba4
Fix an obscure cache corruption that could occur after an SQLITE_FULL error. (CVS 3964)
...
FossilOrigin-Name: e8e879aca67dee959bab42627028964c474da72f
2007-05-09 15:56:39 +00:00
danielk1977
832b2664e6
Add further test cases for compile time limits. (CVS 3963)
...
FossilOrigin-Name: 9bf2c594a48a4661700f0833562ee2b3ff7b761c
2007-05-09 11:37:22 +00:00
danielk1977
b56fe1ff27
Fix enforcement of the LIKE_PATTERN limit. (CVS 3962)
...
FossilOrigin-Name: 8819617b7cf7ccd64bf6bb4ba208f37126964ec2
2007-05-09 08:24:44 +00:00
danielk1977
7a15a4beef
Add a few more tests to sqllimit1.test. (CVS 3954)
...
FossilOrigin-Name: eeee6b71e5643511320cbe15bafa170cfd02877f
2007-05-08 17:54:43 +00:00
danielk1977
428de1c03a
Add a test case that uses a trigger to insert many rows to sqllimits1.test. (CVS 3953)
...
FossilOrigin-Name: 6368222558d00f968b49f862bfe672573e86fbcf
2007-05-08 16:13:45 +00:00
danielk1977
b0ab63cd8e
Add new test file sqllimits1.test. (CVS 3952)
...
FossilOrigin-Name: c8974603976ebc02edbc9ab271e87e57f8eb365e
2007-05-08 15:59:05 +00:00
danielk1977
17374e8f94
Fix a potential buffer overrun in the replace() function. (CVS 3947)
...
FossilOrigin-Name: b0fb4a3cf6ddbc17ccd0c719b34a720d9090bc93
2007-05-08 14:39:04 +00:00
danielk1977
4b5710e486
Avoid evaluating (INT_MIN/-1) with 32 bit signed numbers. It can cause SIGFPE. (CVS 3945)
...
FossilOrigin-Name: 2f186e916c982cde557e0bc1b925b10e6d58f8a1
2007-05-08 13:57:34 +00:00
danielk1977
dce872b94e
Do not crash in the internal functions sqlite_rename_table() or sqlite_rename_trigger() if they are somehow passed unexpected input. (CVS 3944)
...
FossilOrigin-Name: c2f90b465e37ea49c9e44415f6461e4f636bb64f
2007-05-08 12:37:45 +00:00
drh
c797d4dccd
Begin implementing a new system of upper bounds on the capabilities
...
of SQLite. By clearly defining the upper bounds, we make those
upper bounds explicitly testable. This check-in is just infrastructure.
The upper bounds are not yet enforced. (CVS 3941)
FossilOrigin-Name: 93b623b232a43f78d2c90bfa2389dd5b28ad7280
2007-05-08 01:08:49 +00:00
drh
02d858364b
Fix an NULL deref in the randomblob() function following a malloc failure. (CVS 3940)
...
FossilOrigin-Name: 011e7db253f9a60c19977215eab1687930f15637
2007-05-07 19:31:15 +00:00
danielk1977
7de68a097e
Add a version of the LIKE operator to the icu extension. Requires optimisation. (CVS 3939)
...
FossilOrigin-Name: 3e96105c1f084a4ab4dad4de6f4759e43fc497f7
2007-05-07 16:58:02 +00:00
danielk1977
a393c03686
Change the name of create_collation_x() to create_collation_v2(). Also add some tests for it. (CVS 3938)
...
FossilOrigin-Name: ddc4e4797ff902692c4f0d86ec5f4e94cc7f0741
2007-05-07 14:58:53 +00:00
danielk1977
2559136971
Add interface to configure SQLite to use ICU collation functions. (CVS 3936)
...
FossilOrigin-Name: b29a81b4fbb926fa09186340342848b9fe589033
2007-05-07 11:53:13 +00:00
drh
6885390791
Change sqlite3_snprintf() so that it does not write a zero-terminator if
...
the buffer size argument is less than 1. Ticket #2341 . Added documentation
about the sqlite3_snprintf() function. (CVS 3935)
FossilOrigin-Name: f3ae4ac5fe0bfa2f91e76a6def86c444e51fe80b
2007-05-07 11:24:30 +00:00
danielk1977
a9808b31a8
Add the experimental create_collation_x() api. (CVS 3934)
...
FossilOrigin-Name: ff49d48f2f025898a0f4ace1fc227e1d367ea89f
2007-05-07 09:32:45 +00:00
drh
ad91c6cd40
Do not flatten subqueries that are part of a compound SELECT and which
...
have both an ORDER BY and a LIMIT clause. Ticket #2339 . (CVS 3932)
FossilOrigin-Name: 9600a998043c6dd1d5ecb03d1ee9a9273910243d
2007-05-06 20:04:24 +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
danielk1977
32a0d8bb8c
Fix compilation and testing with OMIT_INCRBLOB defined. (CVS 3923)
...
FossilOrigin-Name: a0f8adc692839d0645daf0630533a87b0543f6e8
2007-05-04 19:03:02 +00:00
danielk1977
dcbb5d3f47
Test interaction of incremental io and other database writes. (CVS 3922)
...
FossilOrigin-Name: 4516416b4d38679ea7d259155f241e54c4c58d7d
2007-05-04 18:36:44 +00:00
drh
ca5557f91d
Change incremental vacuum to be triggered by a pragma rather than a command.
...
We have a lot to learn about this yet and we do not want to paint ourselves
into a corner by commiting to specific syntax too early. (CVS 3921)
FossilOrigin-Name: b13e497a326697ab42b429993a1eee7df3c0c3eb
2007-05-04 18:30:40 +00:00
drh
9c61cd77a5
Optional parameter in the INCREMENTAL VACUUM statement specifies how many
...
pages to vacuum from the database. (CVS 3919)
FossilOrigin-Name: ed713f9ccb5d0f306a79ab9931e43db2327fb435
2007-05-04 16:14:38 +00:00
drh
847d3ab43d
Get tests working with SQLITE_OMIT_AUTOVACUUM=1. (CVS 3918)
...
FossilOrigin-Name: b94d39e4d903bc34a9d0bbedd971677abc0ddfc0
2007-05-04 14:36:22 +00:00
drh
5bb3eb9b9a
Eliminate all uses of sprintf() and strcpy(). These were not being
...
misused. But getting rid of them removes a library dependency. And
it avoids warnings from the OpenBSD compiler. Ticket #2336 . (CVS 3916)
FossilOrigin-Name: ba4845b32bdf38e623c4f7246e6e327715bbba4b
2007-05-04 13:15:55 +00:00
danielk1977
92d4d7a92e
Test cases and corrections to IO and malloc() error handling in incremental blob IO functions. (CVS 3915)
...
FossilOrigin-Name: 641e55284e1ba6070073c83ac6ed78ffb29f7e60
2007-05-04 12:05:56 +00:00
danielk1977
f1819244aa
Test some more incremental IO error cases. (CVS 3910)
...
FossilOrigin-Name: 64705410bdf43b6283f7a7e59ce8c20d09cd46e4
2007-05-03 18:14:10 +00:00
danielk1977
8cbadb0211
Test cases and minor bugfixes for incremental blob APIs. (CVS 3907)
...
FossilOrigin-Name: e12c522383bd40af375a52d2e68612c4dc7fd4db
2007-05-03 16:31:26 +00:00
danielk1977
44e6c8d3cf
Fix a bug where accessPayload() was calling PagerWrite() on the wrong page handle. Ticket #2332 . (CVS 3906)
...
FossilOrigin-Name: cf9eeba7be64ad29cddd320832db10c799fb6e8e
2007-05-03 13:11:32 +00:00
danielk1977
20713f34a5
Minor bugfixes for incrblob mode. (CVS 3903)
...
FossilOrigin-Name: db54a9466e3bea9c03740ce0b755cfa02bafaccd
2007-05-03 11:43:33 +00:00
drh
b7af4452d9
Allow CREATE TABLE to occur while other queries are running. DROP TABLE is
...
still prohibited, however, since we do not want to delete a table out
from under an running query. (CVS 3902)
FossilOrigin-Name: 5b4bf1fce4d589337cfb1b46d75c751bbdc607d5
2007-05-02 17:54:55 +00:00
drh
ae7e151a24
More fixes and improvements to the zeroblob() mechanism. (CVS 3900)
...
FossilOrigin-Name: 83ab25014e890b1cc6ea08ca1ebeeee0078da466
2007-05-02 16:51:59 +00:00
drh
7a928d75f4
Fix an invalid UTF8 encoding in the tests for the trim function. (CVS 3898)
...
FossilOrigin-Name: 4dbbfff4a7d4be197aac19c80400dafe10dd5e58
2007-05-02 15:36:01 +00:00
drh
fdf972a9ba
Add support for zero-blobs to the OP_MakeRecord opcode.
...
First test cases of zeroblob functionality. (CVS 3897)
FossilOrigin-Name: e6d560ddeeb48fb0cbd9f5a10612280b055baef7
2007-05-02 13:30:27 +00:00
danielk1977
d04417963f
Use the pointer-map pages to make the incremental blob API more efficient. (CVS 3896)
...
FossilOrigin-Name: 93a3bf71d576096f4b5a3db256ca6f9b5521d137
2007-05-02 13:16:30 +00:00
drh
b026e05eb2
Begin adding the zeroblob API to support incremental blob i/o. (CVS 3894)
...
FossilOrigin-Name: 7a01836dde45098796693bc6cb6045c4059adf1a
2007-05-02 01:34:31 +00:00
shess
290283fe69
Enable prefix-search in query-parsing and snippet generation. If the
...
character immediately after the end of a term is '*', that term is
marked for prefix matching. Modify term comparison in
snippetOffsetsOfColumn() to respect isPrefix. fts2n.test runs prefix
searching through some obvious test cases. (CVS 3893)
FossilOrigin-Name: 7c4c65924035d9f260f6b64eb92c5c6cf6c04b7b
2007-05-01 18:25:52 +00:00
danielk1977
b4e9af9ff9
First approximation of incremental blob IO API. (CVS 3892)
...
FossilOrigin-Name: c444836e7b690c16dd6acff571c613a23beb42dc
2007-05-01 17:49:49 +00:00
drh
276fdbfd61
Fix a potential segfault following a malloc() failure during a call
...
to sqlite3_prepare() where the nBytes parameter is positive but less than
the length of the input SQL string. (CVS 3888)
FossilOrigin-Name: 27bf3fc3cf3c9c7acdbf9281a4669c9f642b0097
2007-04-30 21:39:16 +00:00
danielk1977
b4626a3e16
Add some tests (and 2 resulting bug fixes) to incr vacuum mode. (CVS 3885)
...
FossilOrigin-Name: 89b1b3f897bda1fffceb9cf72fa4d42b809ccb8e
2007-04-28 15:47:43 +00:00
drh
d1e3a616ca
Internationalize the TRIM functions. Ticket #2323 . (CVS 3883)
...
FossilOrigin-Name: ff1f4e744728c8f55afae265246797b30fe98fb0
2007-04-27 21:59:52 +00:00
drh
9310ef23e2
Make sure sqlite3_value_bytes() does not reformat the content after a
...
call to sqlite3_value_blob(). Add documentation to explain this hazard.
Add many new tests. Ticket #2321 . (CVS 3880)
FossilOrigin-Name: e92bd97a3726bbb7978489e2994747127c4aefcf
2007-04-27 17:16:20 +00:00
danielk1977
ba6d351486
Extra tests for incremental vacuum. (CVS 3879)
...
FossilOrigin-Name: 40ba6493e9e8ba135552a2a0943ab499713ac001
2007-04-27 07:55:37 +00:00