1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

19158 Commits

Author SHA1 Message Date
drh
1e284f4558 Fix naming conflict between sqlite.h and sqlite3.h. Ticket #946. (CVS 2007)
FossilOrigin-Name: 30370412630970a76aafb9715106911b716256db
2004-10-06 15:52:01 +00:00
drh
5719628afb Convert many constants to have type "const". (CVS 2006)
FossilOrigin-Name: d790c84c5a889928d07f5394fffef0cbb8d5f214
2004-10-06 15:41:16 +00:00
drh
2e3a1f16b6 Size optimization in the parser. (CVS 2004)
FossilOrigin-Name: 8e2ae2449882f70fe4e77c100193c053d7669ae6
2004-10-06 14:39:28 +00:00
drh
36d4e97e94 Fix the ".import" command of the command-line shell so that it ignores
\n and \r at the end of a line.  Ticket #939. (CVS 2003)

FossilOrigin-Name: dcbf4817a7a3ce18a2d5ed008346933a36acd543
2004-10-06 14:39:06 +00:00
drh
86f43308d6 Rearrange memory allocation in sqlite3VdbeMakeReady to try to work around
some byte-alignment problems on Sparc. (CVS 2002)

FossilOrigin-Name: f623d6e74fb5f6f70a22c06278b2bb1b4b7f9b85
2004-10-05 17:37:36 +00:00
drh
2783e4bc0e Use the database name supplied to table_info() and related pragmas. (CVS 2001)
FossilOrigin-Name: 0415af325739fd4e0bd4761c889719355a1ec4ff
2004-10-05 15:42:53 +00:00
drh
684917c269 Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000)
FossilOrigin-Name: 81ff8107ad63113782cf5a9ba7a512496114ba08
2004-10-05 02:41:42 +00:00
drh
9a43267ba2 More changes to take advantage of the TK_ and OP_ alignments to avoid
unnecessary translations. (CVS 1999)

FossilOrigin-Name: e8e972ba65fc36171f6b685e8a8f67f93452e031
2004-10-04 13:38:09 +00:00
drh
f2bc013c70 Save about 800 bytes of code space by aligning TK_ and OP_ constants so that
we do not have to translate between them. (CVS 1998)

FossilOrigin-Name: 4c817e3f293a9c1365e632f7dc13ae440263332a
2004-10-04 13:19:23 +00:00
drh
9c105bb990 Fixes to the OsUnlock() interface. Correctly leave a SHARED lock behind
when requested.  Honor the error code that OsUnlock() returns.
Ticket #913 and #938. (CVS 1997)

FossilOrigin-Name: c4697503d0ad080290b91e96dfc9a1a63f2df7e6
2004-10-02 20:38:28 +00:00
dougcurrie
0924bba36c make diskfull test work on Windows; see check-in (1994) (CVS 1996)
FossilOrigin-Name: 4493e287809874fabeddf5ca9045065a30790f2f
2004-10-01 18:21:43 +00:00
drh
047d4836ff Additional code to test the SQLITE_FULL return when the disk is full. (CVS 1994)
FossilOrigin-Name: 44e56f0bba61245d342d6e75510d6c35785efd49
2004-10-01 14:38:02 +00:00
drh
ededaa59bd Fully release exclusive locks in the Unlock primitive of Unix.
Ticket #913. (CVS 1993)

FossilOrigin-Name: 11a37a74b101b9e37dcf1c3e57e45fbcd39a1c21
2004-10-01 03:02:48 +00:00
drh
eb206256f1 Use type i64 instead of off_t for file offsets since off_t is giving
portability problems.  Ticket #924. (CVS 1992)

FossilOrigin-Name: 8972c004dc825f668d952e7d082a89046b9260f1
2004-10-01 02:00:31 +00:00
drh
a3f70cbc31 Strict prototype on sqlite3_libversion(). Ticket #936 (CVS 1991)
FossilOrigin-Name: 1d3c6f735101d8fc582871c0370805596d975001
2004-09-30 14:24:50 +00:00
drh
596bd23554 Correctly parser column typenames that contain more than one identifier.
Ticket #934. (CVS 1990)

FossilOrigin-Name: 85ad18712d2bd2b4322ceb617f33c265c1933240
2004-09-30 14:22:47 +00:00
drh
c60d04464f Allow functions to be created when there are outstanding VMs.
(Ticket #926)  Fix problems with sqlite3_errcode().  Add tests for
sqlite3_errcode(). (CVS 1989)

FossilOrigin-Name: d0f1dc5898382258b283308c2cce55a8bc378ee4
2004-09-30 13:43:13 +00:00
drh
44f87bdc56 Comment changes in btree.c. No changes to code. (CVS 1988)
FossilOrigin-Name: b15abf984fa06ae968d92fa9533dab20dcebd323
2004-09-27 13:19:51 +00:00
drh
3127653b1c Bug fix in btree.c in cases where usableSize!=pageSize. Ticket #925. (CVS 1987)
FossilOrigin-Name: cb3e12372d96f5a24f5a5d79645c705775bc63ff
2004-09-27 12:20:52 +00:00
drh
10e8266b91 Remove unused CLUSTER keyword from the parser. (CVS 1986)
FossilOrigin-Name: 54ee1664aaaa1a3380009b5206a0fa79cd286fc5
2004-09-25 15:29:09 +00:00
drh
aa756b0978 Optimizations in the tokenizer. (CVS 1985)
FossilOrigin-Name: 26898c57cb2419d4200803f79fdd821c3093cba2
2004-09-25 15:25:26 +00:00
drh
ae29ffbe23 Code cleanup: get rid of the sqlite3SetNString utility function. (CVS 1984)
FossilOrigin-Name: 9ef4c24a9acc2128891303de1ffd2ef4509d779c
2004-09-25 14:39:18 +00:00
drh
94a11211f5 Code simplifications and size reductions. (CVS 1983)
FossilOrigin-Name: cb631a135da92fd689ee40a8b7e2695a510eb765
2004-09-25 13:12:14 +00:00
drh
5e2517e1f3 Size optimizations in vdbeapi.c. (CVS 1982)
FossilOrigin-Name: b2f3d4bb8e24212d3cef7615c24da13f29c1440c
2004-09-24 23:59:12 +00:00
drh
b8dd3155e0 Save a few bytes in utf.c. (CVS 1981)
FossilOrigin-Name: 8154d545e8ae3d22490b49ce4f327605883accaa
2004-09-24 23:20:51 +00:00
drh
76ff3a0e09 Optimizations to vdbeaux.c and printf.c (CVS 1980)
FossilOrigin-Name: eabc77c99b3e78b4c620a1736d9acfa6cb1e7b67
2004-09-24 22:32:30 +00:00
drh
59c98a6f2b Improvements to the debugging code. (CVS 1979)
FossilOrigin-Name: bdc3bb070f7f29713b7bb9a6454a7ecbee6cf36d
2004-09-24 19:39:26 +00:00
drh
3b584fa6c5 Fix typo in ".help" output from the shell. Ticket #914. (CVS 1978)
FossilOrigin-Name: 1ee3a787ada5abd460200d5812474161bfd1cc71
2004-09-24 12:50:03 +00:00
drh
971a7c87bc Avoid a segfault in sqlite3_bind_parameter_index when there are
unnamed parameters.  Ticket #918. (CVS 1977)

FossilOrigin-Name: 49f25ddf8382d588e00bf927e2acae93e332e4d4
2004-09-24 12:48:12 +00:00
drh
670404626d Simplification of the trigger code. (CVS 1976)
FossilOrigin-Name: 9fa904d94ec1787bc8b97ec06a5423248fcb67fb
2004-09-24 12:24:36 +00:00
drh
145716b323 Fix for tickets #912 and #922. Problem introduced by check-in (1973). (CVS 1975)
FossilOrigin-Name: 9001e2220d2e35b81a9b7dc70c012f94bb6db679
2004-09-24 12:24:06 +00:00
drh
ad6d94607f Add comments to unused P3 fields of selected instructions when NDEBUG is
not defined.  This makes VDBE program dumps more readable during debugging. (CVS 1973)

FossilOrigin-Name: 4871c77f8fce36ff230e1f026f4e4e49492515e9
2004-09-19 02:15:24 +00:00
drh
344737f60a Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. (CVS 1972)
FossilOrigin-Name: eb9b501ad8b0fa0fd63a67ece05fe142d6a19114
2004-09-19 00:50:20 +00:00
drh
d900a46be0 The page_size pragma preserves the reserved area at the end of each page. (CVS 1964)
FossilOrigin-Name: c34f3209e5028e008ea9e2c43f1e0d97d6db01d3
2004-09-17 20:25:24 +00:00
drh
31f11f6923 Get VACUUM working on databases that have reserved bytes at the end
of each page. (CVS 1963)

FossilOrigin-Name: 90bb3af6cd827fcf731ba3d641a00ae426d6baca
2004-09-17 20:02:42 +00:00
drh
f7a8362920 Fix a bug in the test3.c module that was causing failures in btree5.test. (CVS 1962)
FossilOrigin-Name: cd200cf8332be2c99a0a312b5f7dcd582a93fd18
2004-09-17 19:39:23 +00:00
drh
a42707b234 The INSERT code generator does a better job of detecting if the table
being written into is used in the SELECT on the right-hand side.
ticket #901. (CVS 1961)

FossilOrigin-Name: 709bb22d6ddbd713029059180aaf77ac483b5bb8
2004-09-17 17:23:15 +00:00
drh
c16a03b54b The callback on sqlite3_trace() is invoked the first time sqlite3_step()
is called after sqlite3_prepare() or sqlite3_reset().  Ticket #900. (CVS 1960)

FossilOrigin-Name: 0cc2f40e6afa157ead45140c4e28a9a33c469b73
2004-09-15 13:38:10 +00:00
drh
fd241b0ea4 Remove the encode/decode from the version 3.0 source tree. (CVS 1959)
FossilOrigin-Name: c1f1320be5ce0b6e52491577078ba2b939882fbd
2004-09-13 13:46:01 +00:00
drh
90b6bb1995 The TCL interface responds correctly to "break", "continue", and "return"
inside of the script of an eval statement. (CVS 1958)

FossilOrigin-Name: dd62224ae8d1047db388acdc4b91eb56fb9e966a
2004-09-13 13:16:31 +00:00
drh
94a98365a6 Fix an uninitialized variable bug in nullif(). Ticket #898. (CVS 1957)
FossilOrigin-Name: ee335b501cf45727929aac12c0b74547dd54729e
2004-09-13 13:13:18 +00:00
drh
5689123ca6 Fix a segfault in the authorizer when it is given a SELECT statement with
no FROM clause.  Ticket #896. (CVS 1954)

FossilOrigin-Name: 97d63b9290ef88b3cd8012c71fdd5b3c74eebc8f
2004-09-09 13:55:50 +00:00
drh
fe63d1c98b More changes directed at getting things to work on 64-bit platforms. (CVS 1949)
FossilOrigin-Name: 39755d216608e9d12e1055433549f820f63608a7
2004-09-08 20:13:04 +00:00
drh
03c8988076 Always cast 0 to (char*)0 when it is an argument in a varargs function. (CVS 1948)
FossilOrigin-Name: a1f532520c16a1f4b4285cd522774669292fb234
2004-09-08 15:09:40 +00:00
drh
fa6bc0000f Wildcards with the same name map into the same variable number. New
api sqlite3_bind_parameter_index() added to map wildcard names into
wildcard index numbers.  Support for "?nnn" wildcards. (CVS 1945)

FossilOrigin-Name: 435b3f301fbb6953adc974c7f03589b06e9114c3
2004-09-07 16:19:52 +00:00
drh
1807ce37b8 Fix the onecolumn method in the TCL interface so that it works the same
as the eval method in all ways except for returning just the first value
in the result set. (CVS 1944)

FossilOrigin-Name: f323e4f86a08fe6448cbd4ff7cab459e8039d9f1
2004-09-07 13:20:35 +00:00
drh
12057d54ef Fix more name collisions. Allow sqlite.h and sqlite3.h to both be included
in the same C/C++ source file. (CVS 1942)

FossilOrigin-Name: 23e5bed1c5062f0f639751f89873bf1a277547bd
2004-09-06 17:34:12 +00:00
drh
9bb575fd72 Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3
connection now *must* be called "sqlite3".  You cannot call it "sqlite".
This might break existing code. (CVS 1941)

FossilOrigin-Name: 3ddf5a9d1c480a2e3aa32685879063b11afddbe1
2004-09-06 17:24:11 +00:00
drh
873cdcb2ce Comment changes and minor code cleanup. (CVS 1940)
FossilOrigin-Name: dfa9ea89c473e1fea804ad07e8e58a9af1e92f6c
2004-09-05 23:23:41 +00:00
drh
f2a611c988 Make VACUUM work when the page size is different than the default 1024.
Ticket #890. (CVS 1939)

FossilOrigin-Name: fa82becae7e41c47a6387061932f692c6f9f472e
2004-09-05 00:33:43 +00:00