Commit Graph

1059 Commits

Author SHA1 Message Date
drh
ed717fe3b2 Enhance the "PRAGMA integrity_check" command to verify that all indices are
correctly constructed.  New calls to integrity_check are made in the test
suite. These changes are intended to prevent any future problems such
as seen in ticket #334. (CVS 1024)

FossilOrigin-Name: c9734c27074d2039a1896a8c6965c08d03711b13
2003-06-15 23:42:24 +00:00
jplyon
3ca691106b Updated sqlite_encode_binary() comments with tighter bounds on output length. (CVS 1023)
FossilOrigin-Name: 826aab43d5967ece2a272c49ce62021fa4a2ceb3
2003-06-15 10:35:04 +00:00
jplyon
1420010fa4 Documented integer values used by PRAGMAs.
Fixed missing end tags in generated anchors. (CVS 1022)

FossilOrigin-Name: 6c24dfbae56a16dd736de5297c1796818773df80
2003-06-15 10:29:24 +00:00
a.rottmann
831961217d * Added -version-info to shared libraries
* Remove config.h and libtool in the distclean target (CVS 1021)

FossilOrigin-Name: e13e8b05b4d146aa4ca9ed06e414e0c6a4fba4e4
2003-06-14 19:29:08 +00:00
drh
c45d95f9de Bug fix: sqliteFree() called twice on the same allocation during error
handling in attach.c. (CVS 1020)

FossilOrigin-Name: 9ec40935b9435ddc3749cab517387477e4045f6b
2003-06-14 12:04:07 +00:00
drh
e2227f0092 Open the journal file for read-only when doing a playback. Ticket #351. (CVS 1019)
FossilOrigin-Name: 66ac7aea3df8533a49c8c05ba57c5a7015626828
2003-06-14 11:42:57 +00:00
jplyon
892f671cf3 Added missing error string to sqlite_error_string(). (CVS 1018)
FossilOrigin-Name: 3afb7b3586be81202c76692afea9d2b7a63b4b93
2003-06-12 08:59:00 +00:00
drh
2e0d738b60 Suppress the warning message about print_node() being unused in btree_rb.c.
Ticket #347. (CVS 1017)

FossilOrigin-Name: b52f07e1c894a52bb12459d03fd0efcee05dd08c
2003-06-10 02:46:15 +00:00
drh
7571c96c4c Remove redundant "return" statement from btree_rb.c. (CVS 1016)
FossilOrigin-Name: 373d077173f1b31896dc0e0d724371dd506d52f3
2003-06-09 11:53:12 +00:00
jplyon
05e45910ca Documented SQL fns IFNULL() and NULLIF(). (CVS 1015)
FossilOrigin-Name: 190252fee0a86eb6f8c24a2402e36482e3bd514c
2003-06-08 08:36:33 +00:00
drh
6f8fd3c171 Use sqliteOsFileExists() in the debugging hook in vdbe.c, instead of access().
Ticket #341. (CVS 1014)

FossilOrigin-Name: 7d3405b95bae74e0c476a7bdf708ca518723eaf7
2003-06-07 11:33:45 +00:00
drh
94ce4c1e3b Do not assume that a pointer can fit in a long inside the printf() code.
Ticket #342. (CVS 1013)

FossilOrigin-Name: 5dad7c05e9789e101d5ce75a6f3ea2ffb278b29d
2003-06-07 11:29:50 +00:00
jplyon
048aa234ef Major update of vdbe tutorial to 2.8.0 engine. (CVS 1012)
FossilOrigin-Name: 787d986d0f391d26eef7a2639594c465f9599f5b
2003-06-07 08:57:58 +00:00
jplyon
5fa7eb0dd9 Hyperlinks and minor additions/corrections for lang.tcl (CVS 1011)
FossilOrigin-Name: 685a179aae535431ec46922f1aff50a54112e959
2003-06-07 08:56:09 +00:00
drh
81e293b4b2 Extend the authorization mechanism to disallow the ATTACH and DETACH commands.
Ticket #340. (CVS 1010)

FossilOrigin-Name: a97dca73aed0b42d8dcf944360667ae93c5324fd
2003-06-06 19:00:42 +00:00
drh
70dc85a4c2 Add btree_rb.c and opcodes.c to the source built by the "target_source" target
of the main makefile. (CVS 1009)

FossilOrigin-Name: 09546972991601697925c10b6ef31694b0be2385
2003-06-06 16:13:40 +00:00
drh
d36a483704 Add a prototype for the sqlite_vmprintf() function to sqlite.h. (CVS 1008)
FossilOrigin-Name: 048cf55c7da92e363f6a2ab594e17280c9573410
2003-06-06 15:44:00 +00:00
drh
b5333fa6e4 Fix a typo in speed.html. (CVS 1007)
FossilOrigin-Name: d01e6fbdde314f2edfcd43fcda3dc8bedb6bf2ba
2003-06-05 15:05:34 +00:00
drh
8649d6a1a8 Remove unused code from util.c. (CVS 1006)
FossilOrigin-Name: 1bcaa841a396e4d592de30d10846f7cefbbdcd0e
2003-06-05 14:27:56 +00:00
drh
7d02cb73ca Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
Also clean up some compiler warnings for VC++. (CVS 1005)

FossilOrigin-Name: af6f2bdf59fb621ff3e1d061e429f01ebd7d0b42
2003-06-04 16:24:39 +00:00
drh
b8ec20925d Adjust test cases to cope with the extra column returned by the database_list
pragma. (CVS 1004)

FossilOrigin-Name: fa10c6df5a80127508fb198c21ef93acfc93ebe2
2003-06-04 15:53:02 +00:00
drh
5e8e1981dc Change the "database_list" pragma to return a third column containing the
filename of the underlying database file.  Always use an in-memory TEMP
database with an in-memory main database. (CVS 1003)

FossilOrigin-Name: f39100f5759d0d8b9c71e18d38a148dee4643020
2003-06-04 15:48:33 +00:00
drh
ca3bdaca19 Version 2.8.3 (CVS 1002)
FossilOrigin-Name: 433570e3e6caa52b9e480a22529dde6385a3c7d3
2003-06-04 12:44:27 +00:00
drh
b6ec9fed20 Update the version number to 2.8.3. (CVS 1001)
FossilOrigin-Name: c96f5bf0d7b75c8091f78dc2b9e3937949642ce5
2003-06-04 12:40:43 +00:00
drh
bc2bca0843 Disable the unreadable file test (attach-6.2) under windows because of
problems in the OS. (CVS 1000)

FossilOrigin-Name: 4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd
2003-06-04 12:31:53 +00:00
drh
5383ae5c12 Avoid corrupting indices when doing a REPLACE on a table with an
INTEGER PRIMARY KEY that also has another index.  Ticket #334. (CVS 999)

FossilOrigin-Name: e813faae0e4086571d13c769f793add7f1f979af
2003-06-04 12:23:30 +00:00
drh
4312db55d9 Additional testing of the ATTACH command with bug fixes for the new problems
that the tests found. (CVS 998)

FossilOrigin-Name: 3e8889d7ce5e99fc855526fc1bb62ddbe282bfc5
2003-06-03 01:47:11 +00:00
drh
1aa4965ae3 The OP_Checkpoint opcode is now a no-op if invoked on a database that already
has an active checkpoint journal.  Ticket #333. (CVS 997)

FossilOrigin-Name: daf7b94017f03638da1ef65830f3762be030b93c
2003-06-02 23:14:13 +00:00
drh
2394e376d6 Fix a bug in the COPY command introduced by check-in (991). (CVS 996)
FossilOrigin-Name: 77ec13dab85b70795ef06ff2c714cca0cd496837
2003-06-02 22:50:25 +00:00
drh
ade106c14a Fix an initialized variable in sqliteInitOne. (CVS 995)
FossilOrigin-Name: 89957b09ce746cf98d5d75cab2a23994e27c4937
2003-06-02 18:17:33 +00:00
jplyon
5959abd5d0 Generate anchors in opcode table html for use by new vdbe tutorial. (CVS 994)
FossilOrigin-Name: 3ae36cf158e1878a66ce9302eae4e62f8a88333f
2003-06-02 06:29:31 +00:00
jplyon
02be20d4f5 Added comments. (CVS 993)
FossilOrigin-Name: 1276ddb3074b74e22c579bad6951ea52384c08dd
2003-06-02 06:17:10 +00:00
jplyon
5a56422a29 Additions and corrections to vdbe documentation comments. (CVS 992)
FossilOrigin-Name: b648987de3383d6835df58aa0efee54fa8f10d26
2003-06-02 06:15:58 +00:00
drh
a0217ba720 Add the ability to INSERT or UPDATE using the "rowid" column even on tables
that lack an integer primary key. (CVS 991)

FossilOrigin-Name: 903adbe802ca0e987b867e5ad33aae02ad2a43d4
2003-06-01 01:10:33 +00:00
drh
f26e09c87f Tighter binding of views, triggers, and indices to their respective
databases.  Ticket #323.  Much more testing needs to be done to the
sqliteFix...() routines in attach.c. (CVS 990)

FossilOrigin-Name: 7202d4f1a8853368954a967b7ccca9d8a6645a2e
2003-05-31 16:21:12 +00:00
drh
8372b8d134 Change the row-size limit back to 1MB. It was temporarily raised to 16MB.
We'll probably move it to 16MB eventually, but not just yet. (CVS 989)

FossilOrigin-Name: b84c4035c6b06469055798cf412fa4da8b50fa17
2003-05-29 17:50:55 +00:00
drh
9ac717d7f6 Modify the windows locking code so that it works correctly for a database
being shared between Win95/98/ME and WinNT/2K/XP systems.  Ticket #310. (CVS 988)

FossilOrigin-Name: 8c402db7e0745622d9950e5ca5d4d8e933da436c
2003-05-29 17:43:08 +00:00
jplyon
124e74e685 Added typeof() operator.
Minor additions for ATTACH/DETACH. (CVS 987)

FossilOrigin-Name: 8b8fa0fff26107912f0bec4e44df207c7885e273
2003-05-29 04:21:38 +00:00
drh
6e1d288a9f Fix segfault that occurs when opening a non-existing database in the shell
then immediately doing ".q". (CVS 986)

FossilOrigin-Name: e8566cf5a381fa7655caacbc0fe95091e1137fea
2003-05-19 23:55:30 +00:00
drh
6b8611126b Additional attach testing. I now believe that ticket #317 was fixed
by check-in (981). (CVS 985)

FossilOrigin-Name: 24191373796b7fd6255ef9b70ce2344326308113
2003-05-17 19:23:51 +00:00
drh
79a519c047 Prevent an infinite loop when deleting a table that has a TEMP trigger. (CVS 984)
FossilOrigin-Name: c8c823b068916711857fa67db10fb479999b55c2
2003-05-17 19:04:03 +00:00
drh
24f1eb74c8 Version 2.8.2 (CVS 983)
FossilOrigin-Name: f542e5fc8896111e5165cc625607f95e4993bb16
2003-05-17 17:52:34 +00:00
drh
369986a75f Bump the version number and update the change log. We are rushing out
release 2.8.2 because of the database corruption problem fixed by
the previous check-in. (CVS 982)

FossilOrigin-Name: e134459d653b03bfacb98eec2c5d91eef7e4ed24
2003-05-17 17:38:37 +00:00
drh
8bf8dc9208 Fix problems with TEMP indices that lead to corrupt databases. These
problems were discovered while working on ticket #317.  No sure yet if
that ticket is fixed. (CVS 981)

FossilOrigin-Name: 01398fb78bab7e5c6f439f2b743f26e82118468a
2003-05-17 17:35:10 +00:00
drh
0594f5b97e Version 2.8.1 (CVS 980)
FossilOrigin-Name: 590f963b6599e4e235d7369f19c63cece4b2ad95
2003-05-17 02:44:32 +00:00
drh
8971527208 Fix the fix for newlines in echo commands. Tickets #311, #282, #256. (CVS 979)
FossilOrigin-Name: baea7aca10e30f30b874e1e8b6cd3b05954ba83c
2003-05-17 02:27:21 +00:00
drh
8625f9fe38 Bump the version number to 2.8.1. Update documentation prior to release. (CVS 978)
FossilOrigin-Name: 0874814ab01ffc0acffec8e6cec34eaab3428d36
2003-05-17 01:39:39 +00:00
drh
299fa266df Escape backslashes in echo commands in the makefiles. Tickets #311, #282, #256. (CVS 977)
FossilOrigin-Name: d614861b8ad9e661b8f08131b95d730e2c2c35c2
2003-05-17 00:24:21 +00:00
drh
9335247003 Fix memory allocation problem in the sqlite_get_table() API. Ticket #315. (CVS 976)
FossilOrigin-Name: f1d955efd91093994db43a1540080d32442d5ac0
2003-05-17 00:05:49 +00:00
drh
a996e477d0 Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution
specified by an index.  This fixes a bug reported on the newsgroup. (CVS 975)

FossilOrigin-Name: 0f92736d1fbe3b587592fe1f26dfb3558cc49727
2003-05-16 02:30:27 +00:00