]>
git.ipfire.org Git - thirdparty/sqlite.git/log
drh [Mon, 19 Jul 2004 19:30:50 +0000 (19:30 +0000)]
Fix for ticket #813. (CVS 1820)
FossilOrigin-Name:
0cc612f8aa458034d3dc246861c529c57ac5b2b1
drh [Mon, 19 Jul 2004 02:24:02 +0000 (02:24 +0000)]
Correctly handle joins of move than 32 tables. Ticket #806. (CVS 1813)
FossilOrigin-Name:
5ba0acd6c788b6ec07b29dc40c17265f8fb8a337
drh [Sun, 18 Jul 2004 23:03:10 +0000 (23:03 +0000)]
Use only unsigned characters in upper() and lower(). Ticket #708. (CVS 1807)
FossilOrigin-Name:
f9b2aa8f8a6c0a7f74af2844a80fe14b85d05a45
drh [Sun, 18 Jul 2004 22:25:15 +0000 (22:25 +0000)]
The %W date specifier in strftime should be measured from the first Monday
of the year. Ticket #758. (CVS 1806)
FossilOrigin-Name:
135e5447f66fcd8ec4350c81707a2e8d3c9fd31c
drh [Sun, 18 Jul 2004 21:14:05 +0000 (21:14 +0000)]
Min() and max() ignore NULL values. Ticket #800. (CVS 1803)
FossilOrigin-Name:
223521c04e8ad39e06fee455f7dbb31ace2d3800
drh [Sat, 17 Jul 2004 21:59:18 +0000 (21:59 +0000)]
Fix for ticket #812 in the 2.8 branch. (CVS 1801)
FossilOrigin-Name:
ea364dffc7dfe7533d6916d63db0a79181440e64
drh [Thu, 15 Jul 2004 13:37:04 +0000 (13:37 +0000)]
Make SrcList.nSrc a signed quantity to avoid problems on AIX. (CVS 1795)
FossilOrigin-Name:
41526d098dcae6def4940cd464d0e1e673c6abb5
drh [Thu, 15 Jul 2004 13:08:41 +0000 (13:08 +0000)]
Correct return type on sqliteStrICmp() when argument strings differ.
Ticket #804. (CVS 1793)
FossilOrigin-Name:
296528b281025d86650cf0e4c17e75c296e03310
drh [Sat, 26 Jun 2004 14:40:05 +0000 (14:40 +0000)]
Fold in changes submitted by the PHP developers. (CVS 1742)
FossilOrigin-Name:
a4a2570822f13ece2174438ef8f8a6175aaa4a6b
drh [Wed, 23 Jun 2004 21:16:51 +0000 (21:16 +0000)]
The MIN() aggregate function returns NULL if any element in the result
was NULL. This makes MIN() consistent with ORDER BY which sorts NULL first.
Ticket #777. (CVS 1679)
FossilOrigin-Name:
78ced6e3092d69e7cb77c5c2acff70f3c92e6523
drh [Sat, 19 Jun 2004 11:57:39 +0000 (11:57 +0000)]
Add the source code to the sqlite_analyzer utility. (CVS 1637)
FossilOrigin-Name:
06bf4c7e41839eb003f3df05a80789a1f2b21b8f
drh [Sat, 19 Jun 2004 11:57:08 +0000 (11:57 +0000)]
Fix a compiler warning in os.c. (CVS 1636)
FossilOrigin-Name:
28b737b5a0e07a142396809f8a7dbd985d433c0d
danielk1977 [Sat, 19 Jun 2004 04:23:25 +0000 (04:23 +0000)]
Backport of (1628) to version 2. (CVS 1631)
FossilOrigin-Name:
cce250eaee59eac2d15437b564f049c5b241317c
drh [Wed, 16 Jun 2004 01:21:00 +0000 (01:21 +0000)]
Update the publish.sh script so that it no longer generates documentation
pages (that is handled by the version 3.0.0 publish.sh). Also insert
version numbers in the filenames of all build products. (CVS 1601)
FossilOrigin-Name:
f2b8d35825a2137e83419e9aebc9619a9db2ada8
drh [Mon, 14 Jun 2004 11:58:37 +0000 (11:58 +0000)]
Do not authenticate statements when reading the schema. Backport of bug
fix in (1588) to version 2. (CVS 1591)
FossilOrigin-Name:
24adf9ed5988d6e110a750f75b767fad163689c6
drh [Wed, 9 Jun 2004 23:20:05 +0000 (23:20 +0000)]
Version 2.8.14 (CVS 1554)
FossilOrigin-Name:
7d3937743f88acad8859fbbbb1c03271a939bc0b
drh [Wed, 9 Jun 2004 22:49:56 +0000 (22:49 +0000)]
Update the version number to 2.8.14. For whatever reason, the version at
the tip of the 2.8 branch fixes ticket #757. (CVS 1552)
FossilOrigin-Name:
7538d2e5297bdeaf07c6d6e37053c654501ef286
drh [Fri, 4 Jun 2004 19:07:53 +0000 (19:07 +0000)]
Calling sqlite_interrupt() while VACUUM is running should not cause an error. (CVS 1529)
FossilOrigin-Name:
1cf94a7c41b56506251a9964f133e179bd06825f
drh [Mon, 10 May 2004 20:27:41 +0000 (20:27 +0000)]
Improvements to testing of sqlite_interrupt. More checking for interrupt
inside of VACUUM. (CVS 1344)
FossilOrigin-Name:
d596f513c3acfe0d297dc3f5c66f4b0ea2d12a34
drh [Fri, 7 May 2004 01:46:01 +0000 (01:46 +0000)]
Fix a memory leak in DETACH when using the codec. (CVS 1317)
FossilOrigin-Name:
c4bd99b79c66217140781309ed06e1ff3ef4a206
drh [Fri, 7 May 2004 00:57:06 +0000 (00:57 +0000)]
Add the sqlite_temp_directory global variable which, if set, defines the
directory in which temporary files are created. (CVS 1316)
FossilOrigin-Name:
c90ed20dc4f95eb06a5259578597593f5968bfb7
drh [Thu, 29 Apr 2004 16:16:29 +0000 (16:16 +0000)]
Fix a stack overflow problem with INSTEAD OF triggers. (CVS 1310)
FossilOrigin-Name:
5a33e0b06f495628704d0881940a792f342facc7
drh [Sat, 24 Apr 2004 12:59:13 +0000 (12:59 +0000)]
Changes to lemon.c so that it compiles on OpenWatcom 1.3. Ticket #665. (CVS 1307)
FossilOrigin-Name:
b8b8ce5c81ef614d488e0f79df8935ef609dc4f2
drh [Fri, 23 Apr 2004 23:37:56 +0000 (23:37 +0000)]
Add some extra debugging logic to lemon.c. Ticket #692. (CVS 1304)
FossilOrigin-Name:
635f674d20ca3e0b534eba54313004e859de16e9
drh [Fri, 23 Apr 2004 17:04:44 +0000 (17:04 +0000)]
Get the temp_store and default_temp_store pragmas working. Update the
documentation. Also fix a malloc problem that popped up during the regression
testing. (CVS 1302)
FossilOrigin-Name:
7ace576215367101904677bd69951755ee9cb1a1
rdc [Fri, 26 Mar 2004 23:16:31 +0000 (23:16 +0000)]
Fix windows DLL section of Makefile.in for use with build dir. (CVS 1301)
FossilOrigin-Name:
1e84f70fb98755651e0c04dc2cf0114e2e6fe39c
drh [Wed, 17 Mar 2004 23:42:12 +0000 (23:42 +0000)]
Change the ".database" command in the shell to allocate more characters to
the database name and filename. (CVS 1300)
FossilOrigin-Name:
85238f06902851dd5085395501a0ab2d6a2b9814
drh [Wed, 17 Mar 2004 23:32:08 +0000 (23:32 +0000)]
Fix a VDBE stack overflow that occurs when the left-hand side of an IN
expression is NULL and the result is stored on the stack rather than used
to control a jump. Ticket #668. (CVS 1299)
FossilOrigin-Name:
fc7a7975b03c144c2db3566facd008d3701c735e
drh [Wed, 17 Mar 2004 18:44:45 +0000 (18:44 +0000)]
The sqlite_trace() API only works for commands started by the user, not for
SQL commands run during initialization. (CVS 1298)
FossilOrigin-Name:
0a12473c4ae370ec34f1f431dd6d7d6ffa25d41a
dougcurrie [Tue, 16 Mar 2004 21:49:49 +0000 (21:49 +0000)]
Makefile.in and sqlite.def changes for encode and non-toplevel build; ticket #667 (CVS 1297)
FossilOrigin-Name:
72205a371ce5be4eac0a77d5d2fa8ccb23bb988f
drh [Sun, 14 Mar 2004 22:12:34 +0000 (22:12 +0000)]
Prototypes for sqlite_encode_binary() and sqlite_decode_binary() added
to sqlite.h. (CVS 1296)
FossilOrigin-Name:
359f0e787ff2d4d10fd23059e2ce99670e93f66a
drh [Sun, 14 Mar 2004 22:11:59 +0000 (22:11 +0000)]
Make sqlite_encode_binary() and sqlite_decode_binary() an official part of
the library. (CVS 1295)
FossilOrigin-Name:
786fe545560ec6c42bb0e344345031f425bf177a
drh [Sun, 14 Mar 2004 11:57:58 +0000 (11:57 +0000)]
Updates to the architecture document. (CVS 1294)
FossilOrigin-Name:
c661cc81b6981c536c107f40525ad9783b11ea82
drh [Sat, 13 Mar 2004 14:00:36 +0000 (14:00 +0000)]
Fix the min/max optimizer so that it works when the FROM clause is a
subquery. Ticket #658. (CVS 1293)
FossilOrigin-Name:
31c94acc72d318b5dec0fef1485621943add45c8
drh [Wed, 10 Mar 2004 18:57:31 +0000 (18:57 +0000)]
Typecast to work around a bug in {quote: CodeWarrior} Studio v9.1.
Ticket #654. (CVS 1292)
FossilOrigin-Name:
5864fc6937b933b7da0c00e6c4c2ee1b9b939cff
a.rottmann [Wed, 10 Mar 2004 18:53:09 +0000 (18:53 +0000)]
Fixed default target. (CVS 1291)
FossilOrigin-Name:
af19ab32c5b329b053f3daf3c812eb593b89cd7f
a.rottmann [Wed, 10 Mar 2004 16:32:03 +0000 (16:32 +0000)]
* Added rule for rebuilding Makefile from Makefile.in.
* Fixed double-slash problem induced by adding DESTDIR support. (CVS 1290)
FossilOrigin-Name:
957827e35cca65de11894eb2dfc78327f4034dfc
drh [Wed, 10 Mar 2004 13:42:37 +0000 (13:42 +0000)]
The BTree layer now returns SQLITE_READONLY on an attempt to open a write
cursor on a read-only database. Previously, the failure would not occur
until there was an attempt to write to the cursor. (CVS 1289)
FossilOrigin-Name:
8a8be4687bf9fd88952b303f30f93aa6fed75b60
drh [Tue, 9 Mar 2004 13:37:45 +0000 (13:37 +0000)]
The shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288)
FossilOrigin-Name:
b6817e99bd97f427b1cfd16328d612e1a7d70d0a
drh [Mon, 8 Mar 2004 13:57:54 +0000 (13:57 +0000)]
Version 2.8.13 (CVS 1287)
FossilOrigin-Name:
4d5bbb3dc32412ee7fa5dec42d3278836a362e8c
drh [Mon, 8 Mar 2004 13:45:24 +0000 (13:45 +0000)]
Update change log for version 2.8.13. (CVS 1286)
FossilOrigin-Name:
4431e63746311d2e3429203656f8168c227ecb6e
drh [Mon, 8 Mar 2004 13:26:17 +0000 (13:26 +0000)]
Bump the version number to 2.8.13. Patch up the limit test so that it works
in spite of ticket #521 - we don't want any tests failing in an official
release even if there are bugs. :-D (CVS 1285)
FossilOrigin-Name:
2c6bd21ed0e212109cfb4a37cfac2a10ab58a024
rdc [Thu, 4 Mar 2004 19:09:20 +0000 (19:09 +0000)]
Correct duplicate tracing of SQL statements. (CVS 1284)
FossilOrigin-Name:
bb67311b3db49ce772533da14f62497c55432fae
drh [Wed, 3 Mar 2004 01:51:24 +0000 (01:51 +0000)]
A vdbe stack element might have a string value even after a call to
Integerify(). Ticket #641. (CVS 1283)
FossilOrigin-Name:
3cac4b7b526d6c5dbf394009b534707bcb65b0da
drh [Tue, 2 Mar 2004 18:37:41 +0000 (18:37 +0000)]
Make sure a LIMIT clause on a SELECT cleans up the vdbe stack so that if it
occurs inside a trigger, it won't cause a stack overflow. Ticket #640. (CVS 1282)
FossilOrigin-Name:
5aaa2939baa972231def086ed5f9d9ba63302532
a.rottmann [Sun, 29 Feb 2004 15:18:31 +0000 (15:18 +0000)]
Updated aclocal.m4 and configure. (CVS 1281)
FossilOrigin-Name:
76d42921a475c531a77677c3fe73b6da265a878d
drh [Sun, 29 Feb 2004 01:08:17 +0000 (01:08 +0000)]
One more fix to the new HH:MM:SS modifier. This time add some test
procedures too. (CVS 1280)
FossilOrigin-Name:
7b3b8968ee9a5349dd6e9ae1e7a311bf8906607c
drh [Sun, 29 Feb 2004 00:50:33 +0000 (00:50 +0000)]
Try again to get the HH:MM:SS modifier change right... (CVS 1279)
FossilOrigin-Name:
e20d51f94ed67b8864a435e5735f61f396662c21
drh [Sun, 29 Feb 2004 00:48:08 +0000 (00:48 +0000)]
Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)
FossilOrigin-Name:
248b5500900bc8f401006aaa9b7dac090ae419fa
drh [Sun, 29 Feb 2004 00:40:32 +0000 (00:40 +0000)]
Allow time modifiers of the form HH:MM:SS.SSS with an option "+" or "-"
prefix. The specified amount of time is added into the date-time begin
modified. (CVS 1277)
FossilOrigin-Name:
559002a52fe3c42fe71ffce364eff4a036ae6b83
drh [Sun, 29 Feb 2004 00:11:30 +0000 (00:11 +0000)]
Fix some compiler warnings in LCC. The warnings did not indicate real
problems. Ticket #634. Not all warnings in ticket #634 were fixed. (CVS 1276)
FossilOrigin-Name:
e97089b7df3e2fbfcf36062099d02ecb75e9a870
a.rottmann [Sat, 28 Feb 2004 18:02:20 +0000 (18:02 +0000)]
Make Windows .dll build use the real .o files, not the libtool-faked .lo
ones. (CVS 1275)
FossilOrigin-Name:
cce5bbf49b0a30c40d24a559bc6cb4585dd9aea5
a.rottmann [Thu, 26 Feb 2004 19:47:42 +0000 (19:47 +0000)]
Build system update:
* Update of generated/libtoolized files: config.guess, config.sub,
configure, ltmain.sh
* Removal of libtool, which is generated by configure
* Changes to Makefile.in, adding better support for newer libtools (CVS 1274)
FossilOrigin-Name:
22d63bbf78997f0b31bb39054fbcfccf9d974bd6
rdc [Wed, 25 Feb 2004 22:51:06 +0000 (22:51 +0000)]
Add comments and prototype for experimental sqlite_last_statement_changes() API function. Also, allow function to be called from tcl. (CVS 1273)
FossilOrigin-Name:
ca99920b0dbf773962b47766d690154fd1276513
drh [Wed, 25 Feb 2004 13:47:31 +0000 (13:47 +0000)]
Min() and max() functions honor the distinction between TEXT and NUMERIC
data. Ticket #623. typeof() is now a user function. Some tests are
now failing due to ticket #521. (CVS 1272)
FossilOrigin-Name:
adbe31adf1ad0ca723203ca3d7dc480324c60d43
drh [Wed, 25 Feb 2004 02:33:34 +0000 (02:33 +0000)]
Fix the return type of sqliteRunVacuum. Ticket #627. (CVS 1271)
FossilOrigin-Name:
9c9f4a867a4ea708847cbb0839b7279eb33ecd7c
drh [Wed, 25 Feb 2004 02:25:37 +0000 (02:25 +0000)]
Shell program saves command-line history on a ".quit". Ticket #614. (CVS 1270)
FossilOrigin-Name:
114b72f8608b8e08fad863a1446fb1ef59610efd
drh [Wed, 25 Feb 2004 02:20:41 +0000 (02:20 +0000)]
Disable an assert which (as it turns out) is not always true. Ticket #615. (CVS 1269)
FossilOrigin-Name:
2773c1d384b750eee037e6ccc61bc56b5204d690
drh [Tue, 24 Feb 2004 01:05:31 +0000 (01:05 +0000)]
Refactor parts of write operations. (CVS 1268)
FossilOrigin-Name:
5b0147aece7785373e6f7439c32e5f58c6b12562
drh [Tue, 24 Feb 2004 01:04:11 +0000 (01:04 +0000)]
Make sure BEGIN, COMMIT, and ROLLBACK are really no-ops when preceded
by EXPLAIN. Ticket #626. (CVS 1267)
FossilOrigin-Name:
2af1f065b5eb39fd3ecac00f8a66d1b4186aead5
drh [Sun, 22 Feb 2004 20:05:00 +0000 (20:05 +0000)]
Use sqliteVdbeOp3 instead of sqliteVdbeChangeP3 where applicable. (CVS 1266)
FossilOrigin-Name:
51f1e8f7539596b33bc3365ec8f34041602d049c
drh [Sun, 22 Feb 2004 18:56:49 +0000 (18:56 +0000)]
Code cleanup in build.c. (CVS 1265)
FossilOrigin-Name:
9211e14cf81f4de125bad246d8a289786f2854aa
drh [Sun, 22 Feb 2004 18:40:56 +0000 (18:40 +0000)]
Use sqliteErrorMsg instead of sqliteSetString whereever practical. (CVS 1264)
FossilOrigin-Name:
69aac043af7f93e7b3f036622c0ac9261cae1839
drh [Sun, 22 Feb 2004 17:49:32 +0000 (17:49 +0000)]
Code cleanup in the date and time functions. (CVS 1263)
FossilOrigin-Name:
9b3bcde1530091602e551435ffd7820eb79727d5
drh [Sun, 22 Feb 2004 16:27:00 +0000 (16:27 +0000)]
Rearrange the grammar some so that tokens that are used together appear
together in the grammar file. This reduces the size of the parser tables
and some of the jump tables in switch statements. (CVS 1262)
FossilOrigin-Name:
d372c16ec6621dbab371bff7f1803ca096862984
drh [Sun, 22 Feb 2004 00:08:04 +0000 (00:08 +0000)]
Do not sort terminal symbols by name. The terminals remain in the same order
that they are encountered in the grammar file. This results in parse tables
that are 25% smaller. (CVS 1261)
FossilOrigin-Name:
f36b122d9767fa9e6dc5bcce04b5606d67cad3d9
drh [Sat, 21 Feb 2004 19:41:04 +0000 (19:41 +0000)]
Test cases for printf of double overflows. (CVS 1260)
FossilOrigin-Name:
96a6d2d3ff5bd0aaff188ee1c5e2f02cbea435b2
drh [Sat, 21 Feb 2004 19:17:17 +0000 (19:17 +0000)]
Fix a long-standing memory leak that the new last_insert_rowid() tests
brought to light. (CVS 1259)
FossilOrigin-Name:
7d5ede5b6ef515808995d4631f8d19aca95a9105
drh [Sat, 21 Feb 2004 19:02:30 +0000 (19:02 +0000)]
Cleanup the printf code to make it smaller and more modular.
Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258)
FossilOrigin-Name:
2756f7af3382fa9d186ab99cf76f469fb891a3c3
drh [Sat, 21 Feb 2004 14:00:29 +0000 (14:00 +0000)]
Flag pragmas like vdbe_trace now return their current setting if they
are called with no arguments. (CVS 1257)
FossilOrigin-Name:
6a5fb5b89a98307060bb4a92a499b5d3dba74553
drh [Sat, 21 Feb 2004 13:31:09 +0000 (13:31 +0000)]
More code cleanup and size reduction. (CVS 1256)
FossilOrigin-Name:
8e3eda2a909bd80b2b14ace36ab44303750a4409
drh [Sat, 21 Feb 2004 03:28:18 +0000 (03:28 +0000)]
Enhance date/time functions to work with negative years. Ticket #617. (CVS 1255)
FossilOrigin-Name:
ffa971934867b6bbe943c004154d5f161e0ea697
drh [Fri, 20 Feb 2004 23:34:07 +0000 (23:34 +0000)]
Turn the short_column_names pragma off by default - for the time being. (CVS 1254)
FossilOrigin-Name:
6954d2c3240459842be655b600c6b160e918e74a
rdc [Fri, 20 Feb 2004 22:55:41 +0000 (22:55 +0000)]
Add sqlite.def file required for correct operation of "make implib" option in Makefile.in (CVS 1253)
FossilOrigin-Name:
b1b23c410260293f57614f32232cf1276f41c16b
rdc [Fri, 20 Feb 2004 22:54:25 +0000 (22:54 +0000)]
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1252)
FossilOrigin-Name:
6734c923395ca41ce453f56dd7d6e7794fbb3bb5
rdc [Fri, 20 Feb 2004 22:53:38 +0000 (22:53 +0000)]
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251)
FossilOrigin-Name:
3383413a53bff0fef0765144de3bb9a298a5bb5c
drh [Fri, 20 Feb 2004 14:50:58 +0000 (14:50 +0000)]
The name of a result column is now the name of column it originated from, by
default. This can be turned off with PRAGMA short_column_names=OFF. This
is to be more like PostgreSQL. More testing needed. (CVS 1250)
FossilOrigin-Name:
574dd444e7ff00e0fccc3436fe617ad832daae40
drh [Thu, 19 Feb 2004 18:41:53 +0000 (18:41 +0000)]
Fix a bug in the parser table compression algorithm of lemon. (CVS 1249)
FossilOrigin-Name:
8d3e924975681a871e0eeac3b6a62cffdb947ac7
drh [Wed, 18 Feb 2004 16:57:23 +0000 (16:57 +0000)]
Fix a memory leak that occurs if you call sqlite_interrupt() on a query
using aggregate functions where the aggregate function returns a string
longer than 32 characters. (CVS 1248)
FossilOrigin-Name:
2c1e74e58a702fd2be954467a12e69a33b252831
drh [Wed, 18 Feb 2004 16:56:32 +0000 (16:56 +0000)]
Begin updating the architecture description to better describe how things
are currently put together. (CVS 1247)
FossilOrigin-Name:
062ecc1368d6bb6d15da31e8d6f5953e8f5628b9
drh [Wed, 18 Feb 2004 01:31:53 +0000 (01:31 +0000)]
Add more tests of the sqlite_interrupt() logic - looking for a reported
memory leak. (Didn't find it.) (CVS 1246)
FossilOrigin-Name:
e4c8b1c3aa9d288f518c6394187354e6fa18978e
dougcurrie [Tue, 17 Feb 2004 18:26:57 +0000 (18:26 +0000)]
Avoid line endings munging by Cygwin; ticket #370 (CVS 1245)
FossilOrigin-Name:
50e67948f89380f2f4b536add0b8179e6db960a5
drh [Mon, 16 Feb 2004 03:44:01 +0000 (03:44 +0000)]
Remove the NullCallback opcode. Handle the empty_result_set pragma inside
the sqlite_exec() function. (CVS 1244)
FossilOrigin-Name:
f72134852bf33d13fd2bc6f35251e4b33bc10fac
drh [Sat, 14 Feb 2004 23:59:57 +0000 (23:59 +0000)]
Eliminate obsolete code associated with the older callback functionality. (CVS 1243)
FossilOrigin-Name:
2dbc4593ca5c1cf75039c8b4471b1e47faa849f0
drh [Sat, 14 Feb 2004 23:05:52 +0000 (23:05 +0000)]
Eliminate the use of callbacks during schema initialization. (CVS 1242)
FossilOrigin-Name:
af5c2be4aed1c50f69eb9634cf051a26263dcf51
drh [Sat, 14 Feb 2004 17:35:07 +0000 (17:35 +0000)]
Fix problems with malloc-failure handling. (CVS 1241)
FossilOrigin-Name:
398bc294c839368e7fa75a97ba8cc8d1639f9436
drh [Sat, 14 Feb 2004 16:31:02 +0000 (16:31 +0000)]
The sqlite_exec() function is now implemented using sqlite_compile() and
sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240)
FossilOrigin-Name:
9771ad1e811e02e10bb738550fbea447749083c5
drh [Sat, 14 Feb 2004 01:39:50 +0000 (01:39 +0000)]
Disable the malloc.test tests if not compiled with -DMEMORY_DEBUG (CVS 1239)
FossilOrigin-Name:
41b6ad78a6097f35bfac6ff40d2e5d6071a1c4cd
drh [Fri, 13 Feb 2004 20:09:41 +0000 (20:09 +0000)]
Fix an uninitialized variable in shell.c that would cause a crash if you
specified SQL on the command-line. (CVS 1238)
FossilOrigin-Name:
5a56090dde10ee29863021356d21c3f8c86e3f46
drh [Fri, 13 Feb 2004 16:30:09 +0000 (16:30 +0000)]
Begin the process over converting sqlite_exec() over to use sqlite_compile()
and sqlite_step(). The new sqlite_exec() is still commented out. (CVS 1237)
FossilOrigin-Name:
b8f2ba7880b761e380b95ae63d8ab721f018443e
drh [Fri, 13 Feb 2004 16:22:22 +0000 (16:22 +0000)]
Fix a bug in the query flattener when trying to find the datatype of the
rowid of a view. Also fix a problem with sqlite_compile() and authorization
failures. (CVS 1236)
FossilOrigin-Name:
aa0490ccd4a820a707dfb4905e67c01ffb4f758b
drh [Fri, 13 Feb 2004 14:07:12 +0000 (14:07 +0000)]
Fix an uninitialized variable introduced by check-in (1202). (CVS 1235)
FossilOrigin-Name:
9f149fdc1c6af1c663b91c878ed1903f82f80245
drh [Thu, 12 Feb 2004 20:49:36 +0000 (20:49 +0000)]
Add a new parameter to the (unimplemented) encryption API. (CVS 1234)
FossilOrigin-Name:
5fe8f02306cf1c0af2148835cee0df3003ad0874
drh [Thu, 12 Feb 2004 19:01:04 +0000 (19:01 +0000)]
Add the SQLITE_NOTADB return code for cases when you try to open a file
that does not even remotely resemble an SQLite database file. (CVS 1233)
FossilOrigin-Name:
0c77cee70f078152969933c1d340cea1c86286b0
drh [Thu, 12 Feb 2004 18:46:38 +0000 (18:46 +0000)]
Add hooks on each attached database connection for storing auxiliary
information. Add the USING clause to ATTACH. (CVS 1232)
FossilOrigin-Name:
800c11f4bce014a07110eb539992a609e6418406
drh [Thu, 12 Feb 2004 17:28:13 +0000 (17:28 +0000)]
All REPLACE INTO syntax inside of triggers. Ticket #610. (CVS 1231)
FossilOrigin-Name:
a6b862a9db6d409a53cc13e7008b27d4848b5509
drh [Thu, 12 Feb 2004 15:32:53 +0000 (15:32 +0000)]
Remove unused variable. (CVS 1230)
FossilOrigin-Name:
74b234264ba2910ebd38e7b7ebbc369108a235cb
drh [Thu, 12 Feb 2004 15:31:21 +0000 (15:31 +0000)]
Always reload the schema after a rollback. Ticket #594. (CVS 1229)
FossilOrigin-Name:
12c7a83f8e4055c4590983ef212648c781ebd963
drh [Thu, 12 Feb 2004 13:02:55 +0000 (13:02 +0000)]
VACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593. (CVS 1228)
FossilOrigin-Name:
2fe9f5101cb0f743532912ece3d37f6c873e7025
drh [Wed, 11 Feb 2004 16:38:06 +0000 (16:38 +0000)]
Only define _FILE_OFFSET_BITS if it is not already defined. Ticket #605. (CVS 1227)
FossilOrigin-Name:
300c5543dc83c6b7eacb0c81ed06f95004c0f6d8