Commit Graph

4752 Commits

Author SHA1 Message Date
mlcreech
df59c7c7d1 Actually use TARGET_CFLAGS on autoconf-driven builds (CVS 4826)
FossilOrigin-Name: dda3d658998b00748f0e7693b3756d45400e8c8a
2008-03-06 07:51:15 +00:00
mlcreech
d7f59456ce Add headers for use with autoconf (missing from previous checkin) (CVS 4825)
FossilOrigin-Name: 4513a5f493bb612134d04685c0d6777e0d5c65bc
2008-03-06 07:36:18 +00:00
mlcreech
12d4082f26 Use intptr_t definition to silence warnings about ptr-int casts (CVS 4824)
FossilOrigin-Name: 54839a84e6ce080ea8a0f6ce32acaa053d20f311
2008-03-06 07:35:21 +00:00
mlcreech
b87057f26d Include inttypes.h when available, add support for intptr_t (CVS 4823)
FossilOrigin-Name: 88698fbdd5387b195e1c04c0c597f3c7458757c5
2008-03-06 07:19:20 +00:00
mlcreech
8e63f3db09 Make extension loading more easily configurable. Fixes #2977 (CVS 4822)
FossilOrigin-Name: fc401ad9d1c62db136ad4a1c931381aff047e164
2008-03-06 04:14:17 +00:00
mlcreech
a4edab0e59 Make extension loading more easily configurable. Fixes #2977 (CVS 4821)
FossilOrigin-Name: 2a2e8b64df3ff9ea5831b226984ab2c85771131e
2008-03-06 04:14:17 +00:00
mlcreech
9498491013 Build amalgamation by default on autoconf-driven builds, add
--disable-amalgamation option to configure script (CVS 4820)

FossilOrigin-Name: f9391fa06f22aea5c6af9e1c76d7f5404483189a
2008-03-04 19:03:08 +00:00
mlcreech
3a00f907a9 Various renames & cleanups to limit exported symbols on amalgamation build (CVS 4819)
FossilOrigin-Name: 9c6694bb61a8ecdbfb2d05e5e05a8cc97b792240
2008-03-04 17:45:01 +00:00
drh
17eaae7493 Additional documentation and tests making it clear that whenever
sqlite3_prepare() fails it sets *ppStmt to NULL. (CVS 4818)

FossilOrigin-Name: 39769f00c5d9ea20ad5d1c0569464529e953fa9d
2008-03-03 18:47:28 +00:00
mlcreech
47524b8c47 Add fts2/3 files to autoconf-generated Makefile (needed for amalgamation) (CVS 4817)
FossilOrigin-Name: 89666f94906c0ad651a444800dcf8ac886fe0c22
2008-03-02 05:40:05 +00:00
mlcreech
fcfe27d635 Add mem5.c to source files in autoconf-generated Makefile (CVS 4816)
FossilOrigin-Name: 8c1b6357f0bc86645017913e8b6ea8e82473f7df
2008-03-02 05:34:10 +00:00
mlcreech
d885c7bed8 Trivial text cleanups (CVS 4815)
FossilOrigin-Name: bbf9f0e6e23ce6c2729843535b8599c7bacb0f83
2008-03-02 03:32:05 +00:00
mlcreech
273588663c Fix typo for #2968 (CVS 4814)
FossilOrigin-Name: d1f6b243822c0dcbc4acf153e682b841cf6c22c2
2008-03-01 23:34:46 +00:00
mlcreech
5b9d867803 Add bitvec.lo to LIBOBJS and corresponding make rule (CVS 4813)
FossilOrigin-Name: 1d68f3af362f8bb5cdfbf60c60fb218bc316c5d0
2008-02-27 03:22:49 +00:00
drh
17c0ba276d Fix a math error when computing how much memory to allocate for
a new pager. (CVS 4812)

FossilOrigin-Name: 690d05cedae236251778a71fdd32319846580fdf
2008-02-26 18:40:11 +00:00
drh
04c3a46ed9 Add commentary to clarify what is happening when an I/O error occurs while
writing dirty pages to the database file. (CVS 4811)

FossilOrigin-Name: afe49d81f479715e13f18a97170d414a853a6cfe
2008-02-26 16:16:45 +00:00
drh
8f2e9a1a94 Add an assert() to verify that the dirty-page list in the pager is
valid before using it. (CVS 4810)

FossilOrigin-Name: 942daf94ef1f8ac678988e175ef968a2d3f801e9
2008-02-26 14:46:04 +00:00
danielk1977
43468d9138 Have sqlite3PagerPagecount() return -1 when the pager is in error state. Fix for #2961. (CVS 4809)
FossilOrigin-Name: 427e7f8b4a54eb6136174af63a467324d6fb051e
2008-02-26 06:05:31 +00:00
mlcreech
e0414bbceb Add bitvec to build (CVS 4808)
FossilOrigin-Name: c690dd68f20aa2137562dff573031ac041a29a4e
2008-02-26 03:45:59 +00:00
drh
9f504eab49 Fix a bug in the LIKE optimizer that occurs when the last character
before the wildcard is an upper-case 'Z'.  Ticket #2959. (CVS 4807)

FossilOrigin-Name: 610574b23b5e73b71be71df66e084c5bf37f6ccd
2008-02-23 21:55:39 +00:00
drh
e4d052a314 Additional test cases. (CVS 4806)
FossilOrigin-Name: 74126bf4e605dc875adbf5a0ee83bf8112891e35
2008-02-21 21:30:07 +00:00
drh
1cfdc90b43 Accept "Z" as the zulu timezone at the end of date strings. (CVS 4805)
FossilOrigin-Name: 4c9a7b42b797f42f2b1e2e8d6a260044bd22ef2d
2008-02-21 20:40:43 +00:00
drh
b4d58ae74d Updates to API documentation contained in comments of sqlite.h.in. (CVS 4804)
FossilOrigin-Name: 08276df3fdd63f210d502c414390f1efd8ebbbb7
2008-02-21 20:17:06 +00:00
drh
afc91047b2 Test coverage and documentation improvements. (CVS 4803)
FossilOrigin-Name: e0baceac412b85348e67f2376ea10000e1f76ab8
2008-02-21 02:09:45 +00:00
drh
d641d51171 Make multiple attempts to delete files marked DELETE_ON_CLOSE under
WinCE.  Ticket #2950. (CVS 4802)

FossilOrigin-Name: 5bc8e564e3499ada01a6c3d74b1e6d6906d2a118
2008-02-20 00:00:00 +00:00
drh
7694574abd Remove instances of strcpy() from test code. Use memcpy() or
sqlite3_snprintf() instead. (CVS 4801)

FossilOrigin-Name: 7b50140dc0fb41a1b40c8709d96e214d98b06f81
2008-02-19 18:29:07 +00:00
drh
85e5f0d477 Remove an instance of sprintf() from the VM implementation. SQLite should
not use sprintf() from the C library - it has its own implementation. (CVS 4800)

FossilOrigin-Name: 68f5ddddf0d1b5c8ed97dda0a32362a55637b5f2
2008-02-19 18:28:13 +00:00
drh
8fd3897cda Avoid the use of UTF16 functions in code that is part of a build when
UTF16 support is omitted.  Ticket #2949. (CVS 4799)

FossilOrigin-Name: 9db346dede59e7185afcd7f21b2f578c9a4f949e
2008-02-19 15:44:09 +00:00
drh
a4267dcc69 Make sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798)
FossilOrigin-Name: 33e26f6adf2ec2ab2e2711a8f86ce4cb11544e61
2008-02-19 15:20:44 +00:00
drh
49e4fd71a4 Change non-exported memory interfaces to following the naming conventions. (CVS 4797)
FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575
2008-02-19 15:15:15 +00:00
drh
a9121e4c8e Use 16-bit integers for indexing within a page in btree. Tighter
bounds on the maximum number of cells within one page. (CVS 4796)

FossilOrigin-Name: 8fdbe4abab4e9c292111579b03471f68c1e855fb
2008-02-19 14:59:35 +00:00
drh
eee4c8ca11 Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.
Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795)

FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0
2008-02-18 22:24:57 +00:00
drh
f5e7bb513c Add the Bitvec object for tracking which pages have been journalled.
This reduces memory consumption and runs faster than the bitmap approach
it replaced. (CVS 4794)

FossilOrigin-Name: 7c57bdbcdb84d95419ec7029d2e13c593854a8d8
2008-02-18 14:47:33 +00:00
drh
2d7636e212 The power-of-two first-fit memory allocator is now working. (CVS 4793)
FossilOrigin-Name: d134d29cea971eb01a0e0fd94341ab79e2d5b57a
2008-02-16 16:21:45 +00:00
drh
66ce4d02fe Fix a bug in the ".show" command of the CLI. Ticket #2942. (CVS 4792)
FossilOrigin-Name: dedf5f230bf34a207f2ee0a8349a2ea602a38aba
2008-02-15 17:38:06 +00:00
drh
c52e355de1 Do not apply the query flattening optimization when the outer query is an
aggregate and the inner query contains an ORDER BY clause.  Ticket #2943. (CVS 4791)

FossilOrigin-Name: 6d33cbd99cb0db680767ceb31ec6345e90a805bc
2008-02-15 14:33:03 +00:00
drh
52391cb406 Fix a bug in EXPLAIN growing out of the new Mem implementation. (CVS 4790)
FossilOrigin-Name: 4df62a55d6fc92c3d0a416c9c03d86d76478feb6
2008-02-14 23:44:13 +00:00
drh
0d18020b80 Add the experimental mem5.c memory allocator. Allocate the content part
of cache pages separately from the header.  (See check-ins (4495) and (4409)). (CVS 4789)

FossilOrigin-Name: 669ece8c82bfa69add852589dd1211751cb26fb2
2008-02-14 23:26:56 +00:00
drh
7663e36c40 Fix a typo in a comment used to generate documentation. (CVS 4788)
FossilOrigin-Name: 65e66dd81cd821364a2d95a9078d174fd9486288
2008-02-14 23:24:16 +00:00
danielk1977
9172fd8cd0 Fix some VdbeMemCopy() related problems. (CVS 4787)
FossilOrigin-Name: aca2bee8662c3adaa47b3e70b1ef35347111f9eb
2008-02-14 15:31:52 +00:00
danielk1977
131b0ef7fd Fix a problem in the ptrchng.test script. (CVS 4786)
FossilOrigin-Name: 30a45f078421bc89da9218528110e3bd90054bbf
2008-02-14 05:44:45 +00:00
pweilbacher
d4c8a60358 small correctness fix for os2CheckReservedLock() (CVS 4785)
FossilOrigin-Name: f364d9342345cb11a4fd1961ab4f6387fb6abacc
2008-02-14 00:00:50 +00:00
pweilbacher
6034b1e07e always use random access mode when opening files (like on Windows) (CVS 4784)
FossilOrigin-Name: 9f4da1013b558fcabadc3a3bec6bcdae9b06399e
2008-02-13 23:48:02 +00:00
danielk1977
a7a8e14bf2 Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783)
FossilOrigin-Name: 990237e27e417aff3dbf05784b716c21f3761a3a
2008-02-13 18:25:27 +00:00
drh
0f35a6b529 When materializing a view for an UPDATE or DELETE make use of the WHERE
clause to limit the number of rows materialized.  Ticket #2938. (CVS 4782)

FossilOrigin-Name: 5ab71c3a79cac04cb2c576f83a62218d05571006
2008-02-12 16:52:14 +00:00
drh
8e5b5f8e54 ALTER TABLE uses double-quotes for quoting table names. (CVS 4781)
FossilOrigin-Name: 607247c27b80520b8c25c489757288b8ea186f9e
2008-02-09 14:30:29 +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
danielk1977
0ee26d943f Change the test code used for speed tests so that it does not throw an exception if the time command returns "0 microseconds per iteration". (CVS 4779)
FossilOrigin-Name: f37e8637d234e50436760497f8001c33975510ce
2008-02-08 18:25:29 +00:00
drh
1ece7325bb Do not release registers used to hold the results of a compound select
after just the first select has run.  Ticket #2927.  For now, we will
never release the registers used to hold the result set, since the same
register set will be used for each select.  This is not an unacceptable
register leak and it is the safest approach. (CVS 4778)

FossilOrigin-Name: e9fcb793998be07eaea01404407087b71c29853d
2008-02-06 23:52:36 +00:00
drh
ef10389ec4 Version 3.5.6 (CVS 4777)
FossilOrigin-Name: 1d82ab6987e567fff051cf4dd7b1a0bf6d174145
2008-02-06 16:58:27 +00:00