Commit Graph

4763 Commits

Author SHA1 Message Date
drh
339eb0b8af Cleanup the locking-style code in os_unix.c. (CVS 4837)
FossilOrigin-Name: 40f55c09dbd31f861b9f9c7641cce92553d94e35
2008-03-07 15:34:11 +00:00
mlcreech
b279941f73 Trivial documentation fixes (CVS 4836)
FossilOrigin-Name: 9819cefbd7032fe6884c6c891e8e399000e0821f
2008-03-07 03:20:31 +00:00
mlcreech
3c080bc6a0 Add missing prefix & exec_prefix to Makefile - fixes #2979. (CVS 4835)
FossilOrigin-Name: 4cda019b63e8ba9f1101fb296a7d745c69e84e00
2008-03-07 02:20:56 +00:00
drh
218c508433 Updates to the locking-style code in os_unix.c. Not yet working. (CVS 4834)
FossilOrigin-Name: 6ebce3b798c60050fb3c583d805570bb06837108
2008-03-07 00:27:10 +00:00
mlcreech
98dc4b1aba Clean up recent autoconf-related additions, add config.h to the amalgamation (CVS 4833)
FossilOrigin-Name: 8044623062e9aa43593c46e3e5d5bc7361ea7418
2008-03-06 16:28:58 +00:00
mlcreech
a9e852b667 Handle non-autoconf build correctly with new changes (CVS 4832)
FossilOrigin-Name: e2a9f5f1054f077e4773dd3d2c8f2ce5be118a01
2008-03-06 09:58:50 +00:00
mlcreech
7ff4a45e4e Typo in amalgamation non-x86 builds (CVS 4831)
FossilOrigin-Name: a8424e06064ee356db8231820737a7d5ba722873
2008-03-06 09:19:00 +00:00
mlcreech
bd0ae111ec Don't try and include common.h on stand-alone amalgamation builds (CVS 4830)
FossilOrigin-Name: 9898320be05cdbe78dac799f3fef34dccb644ca8
2008-03-06 09:16:24 +00:00
mlcreech
ae28e67da5 Remove amalgamation on "make clean" (fixes #2559) (CVS 4829)
FossilOrigin-Name: e03802f362307ee91fcecaeab6b8f3b43a61d4ca
2008-03-06 09:03:20 +00:00
mlcreech
8390bc382a Miscellaneous autoconf cleanups - get rid of TARGET_CFLAGS, fix header list (CVS 4828)
FossilOrigin-Name: a674f76db9035375772706b6ff1cfaa2a459ffb0
2008-03-06 08:54:38 +00:00
mlcreech
c55771f372 Respect user's configured bindir/libdir/includedir if present (fixes #558) (CVS 4827)
FossilOrigin-Name: 48c9fa97b9d9000f6fba5adb04c1026b162eb3ab
2008-03-06 08:09:12 +00:00
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