Commit Graph

3956 Commits

Author SHA1 Message Date
danielk1977
76f559689a Increase the number of repititions in crash.test. (CVS 4027)
FossilOrigin-Name: f3c3412afa95e7e4b2e6477718785b51f5352c39
2007-05-23 06:25:13 +00:00
shess
8a7de08a8b Fix overzealous fts2 assertions WRT rowid 0 or lower. Only check that
docids are ascending if there was a prior docid set for the doclist,
ignore the initial docid of 0. (CVS 4026)

FossilOrigin-Name: ed3a131f1d3fe51d1e79bdfe1bfafa55f825afa9
2007-05-21 21:59:18 +00:00
drh
a408adc5cb Add the larger SQLite icon to the repository. (CVS 4025)
FossilOrigin-Name: d7539c6e8b66d537307e70aac5f2001135151c78
2007-05-19 11:50:36 +00:00
danielk1977
f85f935431 Add a few extra words to the sqlite3_finalize() documentation. (CVS 4024)
FossilOrigin-Name: 315dc71b921ffba514271a2ed571d5f4162c775f
2007-05-19 06:48:42 +00:00
danielk1977
b39f70b04a Change the way overflow pages are allocated from the free-list to increase the chance that they are a contiguous block. Much more can still be done. (CVS 4023)
FossilOrigin-Name: b7391892041eb72b0ebcbb7a9a6721ae3482dd80
2007-05-17 18:28:11 +00:00
danielk1977
6338c762a5 Bring the autoconf based build system up to date with the recent changes. #2366, #2367 and #2368. (CVS 4022)
FossilOrigin-Name: ae644bc7aad229f2d219ea20eb4774318feb3051
2007-05-17 16:38:30 +00:00
danielk1977
5b159dc312 Fix a problem with casting blobs to numeric types. (CVS 4021)
FossilOrigin-Name: f2ce727c4d798c666e95876a2b67e8a305d82e3a
2007-05-17 16:34:43 +00:00
danielk1977
63c64f3b8c Add speed3.test file. For testing performance issues related to overflow pages. (CVS 4020)
FossilOrigin-Name: 684f765df3e8a4836f254717d175a4a7b5e7d15f
2007-05-17 14:45:12 +00:00
danielk1977
f12737da7e Modify test scripts to allow for the fact that zeroblob() is not available when compiled with OMIT_INCRBLOB. Ticket #2365. (CVS 4019)
FossilOrigin-Name: 2ee959be4afa2cf05d183ff92a31dd1b5a84becf
2007-05-17 06:44:28 +00:00
danielk1977
92182323e0 Remove the SKIP_UTF16 macros (they are no longer in use). (CVS 4018)
FossilOrigin-Name: 73e654fbdc791daa10c49557bf479f152586ac28
2007-05-16 18:23:05 +00:00
danielk1977
a9c16b0a38 Fix handling of utf-16 encoding of code point 0xE000. (CVS 4017)
FossilOrigin-Name: bfc35ce8673ce51f726535b90c1d86be272848bb
2007-05-16 18:11:41 +00:00
danielk1977
2be2be92c4 Avoid passing a negative value to isspace() in a couple places. (CVS 4016)
FossilOrigin-Name: d5db8be3680e16a74edb385dfa3730c66d5f4fd6
2007-05-16 17:50:45 +00:00
danielk1977
1cc5ed8150 Change a few selected functions to macros to speed things up. (CVS 4015)
FossilOrigin-Name: 93f811ec747f6a42daf9ee27cd8b013f248552a1
2007-05-16 17:28:43 +00:00
danielk1977
246ad31db6 Omit some extra code when OMIT_INCRBLOB is defined. (CVS 4014)
FossilOrigin-Name: 1d89be287d34423b1a405cde0490260e7c731f07
2007-05-16 14:23:00 +00:00
drh
b36d20d4ae Add a --nostatic option to mksqlite3c.tcl. With this option turned on,
the extra "static" storage class markers are not inserted into the
amalgamation. (CVS 4013)

FossilOrigin-Name: 57e17c7cda23a3b3e1d0a691af07c35c1c644dcc
2007-05-16 13:55:26 +00:00
drh
cd7b46db84 Keep the full precision of integers if possible when casting to "numeric".
Ticket #2364. (CVS 4012)

FossilOrigin-Name: 2ac985a38034da87b0fa3837976e1f2164b22672
2007-05-16 11:55:56 +00:00
drh
056c8f782e Additional tests for malformed UTF-8. (CVS 4011)
FossilOrigin-Name: 448d3ef670dce6d27c7d7b1be58088d45f8b6274
2007-05-15 18:35:21 +00:00
drh
7e326c09c2 Make sure pParse->rc gets set whenever sqlite3ErrorMsg() is called. This is
added insurance that parsing will stop quickly after an error.  This change
did make the parser stop faster in some cases, which required some revisions
to tests. (CVS 4010)

FossilOrigin-Name: f84d9dab110c4415d9b772f8043397640162b6b2
2007-05-15 16:51:37 +00:00
drh
f076504b1c Remove the alternative UTF-16 implementation of SUBSTR(). It does not
work anymore and the UTF-8 version can do everything that the UTF-16
version does. (CVS 4009)

FossilOrigin-Name: 9b91502ef0ea9c0bfb8362c4b70314dc8449eb9e
2007-05-15 14:40:11 +00:00
drh
9a087a99e5 Relax the restriction on using bytes 0x80 through 0xbf as the first
character of an identifier.  Enhancements to ALTER TABLE tests for
tables with strange names or stange column names. (CVS 4008)

FossilOrigin-Name: 262a3e6339b31f269f8f07e43d295b90827e2779
2007-05-15 14:34:32 +00:00
drh
76cb812d25 Change the documentation to clearly state that the result of
sqlite3_column_type() is undefined following a type conversion. (CVS 4007)

FossilOrigin-Name: 960be575e2b062a34c96d006e411ad34ded58063
2007-05-15 14:17:25 +00:00
drh
150dbacea4 Fix to check-in (4005). A call to sqlite3_column_blob() should not make
subsequent calls to sqlite3_column_type() return SQLITE_BLOB.
Sqlite3_column_type() returns the initial type. (CVS 4006)

FossilOrigin-Name: b5e85deb5a0316781a6f39d6085b9fcfb9f88c6d
2007-05-15 14:10:40 +00:00
drh
1f0feef80b Clarification on the best practices for using the _bytes() APIs.
Change sqlite3_value_blob() to force the representation to be purely
a BLOB and not a dual BLOB/String.  Ticket #2360. (CVS 4005)

FossilOrigin-Name: cf2dd45b58380de7f3e167b5357848d12872caa3
2007-05-15 13:27:07 +00:00
drh
4a919118d3 A new approach for UTF-8 translation. (CVS 4004)
FossilOrigin-Name: 6c8ad2790eaede90b3f1ef62614e667178b2a8c4
2007-05-15 11:55:09 +00:00
drh
eab7f3fe8d Do not allow bytes 0x80 through 0xBF to be the first character of an
identifer because no valid UTF-8 character can begin with those bytes.
If we allowed an identifier to begin with one of those bytes, then the
substr() function in ALTER TABLE will not work correctly. (CVS 4003)

FossilOrigin-Name: 252810424d8c4dcd19b369d62027094df7cf0bcc
2007-05-15 09:00:14 +00:00
danielk1977
1ee506d792 Fix some test script errors in fuzz.test. (CVS 4002)
FossilOrigin-Name: 51eeae7b7ad5a0fbdd9d4418120dbdb6cd577cd5
2007-05-15 07:14:32 +00:00
danielk1977
15d7982ad8 A fix for queries that used correlated, compound sub-queries in the HAVING clause. Also update fuzz.test some more. (CVS 4001)
FossilOrigin-Name: da0c1ab4deedd2b952a43b3af6962a9403f8c9ee
2007-05-15 07:00:34 +00:00
drh
4e5dd85135 Fix problems in ALTER TABLE that occur when column or table names are
invalid UTF encodings. (CVS 4000)

FossilOrigin-Name: 9ff382f4584ff685a78b39f24424319709efb382
2007-05-15 03:56:49 +00:00
drh
e279195400 Fix a typo in a comment. Ticket #2359. (CVS 3999)
FossilOrigin-Name: 1fbbc108a9e7ad1dc22c08ee990e2b6b949784eb
2007-05-15 02:45:18 +00:00
drh
eaad32b1df Fix a bug in sqlite3_mprintf() which could have caused a buffer
overrun if malloc() failed. (CVS 3998)

FossilOrigin-Name: 5af49a57d4866be21c0206f34584bcc63adc1315
2007-05-15 02:34:09 +00:00
drh
f764e6fc3d The built-in substr() function applied to a BLOB counts bytes, not characters. (CVS 3997)
FossilOrigin-Name: 75d573080d03ee48fe88710f70c6875ff9cae19c
2007-05-15 01:13:47 +00:00
drh
2a9abf61c7 Make sure the parser aborts quickly following a syntax error. (CVS 3996)
FossilOrigin-Name: d07cdd3c096c120d104ae13f7932c0a955324517
2007-05-15 00:09:13 +00:00
danielk1977
a670b22641 Fix a problem with ORDER BY and compound SELECT queries. (CVS 3995)
FossilOrigin-Name: af76928fc5891f9a222ac0c39f8b443a9707b9e3
2007-05-14 16:50:48 +00:00
danielk1977
fa2bb6da24 Fix a bug in "flattening" optimization. Occured if the parent of the flattened sub-query is also the parent of a sub-query that uses a compound op (i.e. UNION, INTERSECT etc.). (CVS 3994)
FossilOrigin-Name: 1c33829c9ebcf1ff1bd21b161c73a642471b613a
2007-05-14 15:49:43 +00:00
danielk1977
1e4eaeb515 Prevent sub-queries with "LIMIT 0" from leaving an extra value on the vdbe stack. Also updates to fuzz.test. (CVS 3993)
FossilOrigin-Name: b1d1b16e9857a1c05f60cf2ae15f5a534b0dd0ac
2007-05-14 14:04:59 +00:00
drh
8fea1285f0 In the windows driver, reacquire the shared lock if an exclusive lock
fails.  Ticket #2354. (CVS 3992)

FossilOrigin-Name: fc489b53829aa25bc10cc47d679c81d95c746abf
2007-05-14 12:12:11 +00:00
drh
4f07e5fbdf Remove terms with operator TK_AS from the expression tree. Ticket #2356. (CVS 3991)
FossilOrigin-Name: 5627ff74be9242418434a06fe5c104d1f9128cab
2007-05-14 11:34:46 +00:00
drh
84f31128b2 Make REINDEX robust in the face of malloc() errors. (CVS 3990)
FossilOrigin-Name: dbe417745d3d4ed875715ad7083d7345d1b6a56f
2007-05-12 15:00:14 +00:00
drh
cf1be45fe2 Make the ANALYZE command robust in the face of malloc() failures. (CVS 3989)
FossilOrigin-Name: c08658e1f8598941ebddddb98942b98cfcb86e7a
2007-05-12 12:08:51 +00:00
danielk1977
39c9604a02 Fix another variant of the "IN (...)" b-tree problem. (CVS 3988)
FossilOrigin-Name: 260338c4b2b18c9f4da8bc7fe3eda306dcaa4e38
2007-05-12 10:41:47 +00:00
danielk1977
4aeff62ee0 Fix an obscure b-tree bug that applied to transient trees used for IN(...) expressions. (CVS 3987)
FossilOrigin-Name: 96c7232f8b208cd1c50063f7946bb6dbc386abd6
2007-05-12 09:30:47 +00:00
danielk1977
cdbd8eff21 Bugfixes for assert() failures found by fuzz.test. (CVS 3986)
FossilOrigin-Name: 2e80736d57fde55b112864d8b198a9a2fe0eaa38
2007-05-12 06:11:12 +00:00
danielk1977
1f7c83e286 Check in some changes to fuzz.test. Still failing. (CVS 3985)
FossilOrigin-Name: 6f346a6be9803b84260509352315f8fa1e820490
2007-05-11 16:58:03 +00:00
drh
6e736838bf Avoid multiple storage class specifiers ("static extern") in the amalagmation. (CVS 3984)
FossilOrigin-Name: 2f70159b1d6ded4a1ac446faa3baf7269f37703f
2007-05-11 12:30:03 +00:00
danielk1977
bcfc4bc769 Expand the expressions tested by fuzz.test. Fix for (CAST zeroblob() AS text). (CVS 3983)
FossilOrigin-Name: 4e1bb41f302c13095aa9c638e59ae11417f49682
2007-05-11 10:10:33 +00:00
danielk1977
d908f5ab7f Fix a problem with inserting zeroblob() into an indexed column. (CVS 3982)
FossilOrigin-Name: ccef5d2daaa5a88dd3f23666f022296ef42f9d73
2007-05-11 07:08:28 +00:00
drh
4e05c83bc3 Additional parsing bugs fixed. (CVS 3981)
FossilOrigin-Name: d12a8924c6083cdff14990b4fd036ca386c2e34a
2007-05-11 01:44:50 +00:00
drh
db83f8231f Make sure that the REGISTER token generates a valid Expr. REGISTER will
cause the tokenizer to abort, but the parser might do several reduce
actions prior to that abort and those reduce actions sometimes need a
valid Expr. (CVS 3980)

FossilOrigin-Name: d146f01a02579339c5dc86bbe59f246bd6c05c63
2007-05-11 00:20:08 +00:00
drh
e718efe113 When converting literal BLOBs to text using the encoding of the main
database.  Ticket #2349. (CVS 3975)

FossilOrigin-Name: a57afaff424448ffed8f2344e5eb461f503bfb6e
2007-05-10 21:14:03 +00:00
danielk1977
639f45ff06 Simplify failing case in fuzz.test. (CVS 3974)
FossilOrigin-Name: a54c74990caf22c0008a7029e24594e83048ffbc
2007-05-10 17:38:57 +00:00