1
0
mirror of https://github.com/sqlite/sqlite.git synced 2026-10-23 21:49:02 +03:00
Commit Graph

939 Commits

Author SHA1 Message Date
drh
e1175bd650 Another attempt at fixing the memory allocation problem in sqliteExprListDup(). (CVS 1855)
FossilOrigin-Name: 49c2ad8a754daebfdad230dc84e417e3d728c083
2004-07-22 17:10:10 +00:00
drh
0c3ab2d6ac Bug fix in allocation of expression lists after a malloc() failure. (CVS 1854)
FossilOrigin-Name: 09494cab4f53a90e0d84abfec6806b4b2b3e118b
2004-07-22 16:32:13 +00:00
drh
4cf73f61fb Fix an obscure memory leak in the expression list allocator. (CVS 1835)
FossilOrigin-Name: 5c77b332bd7704b754edf6876ae668136b05876f
2004-07-20 02:05:11 +00:00
drh
5d7f6e84f1 Handle quotes on table names in TABLE.* terms in SELECT. Ticket #680. (CVS 1834)
FossilOrigin-Name: 9937ffb08e6eb3a11344d880cade9975e8dc9d5b
2004-07-20 01:45:49 +00:00
drh
8c8ec4fd3e Fix the handling of indices with quoted names. Ticket #695. (CVS 1830)
FossilOrigin-Name: 467309975f40bdc1ac0ed1c9c34d187e91217e12
2004-07-20 00:50:29 +00:00
drh
2d97242175 Comment out all of date/time functions with SQLITE_OMIT_DATETIME_FUNCS.
Ticket #784. (CVS 1829)

FossilOrigin-Name: 28c01d2ac705923d3210ec2b8906541f42ec6f25
2004-07-20 00:40:01 +00:00
drh
0e93442494 Correct handling of views on tables with quoted column names. Ticket #756. (CVS 1827)
FossilOrigin-Name: ef0d5ebe96b9babe275d62ed6abe95652838de5f
2004-07-20 00:20:46 +00:00
drh
9c46d69216 Limit occurs after DISTINCT. Ticket #749. (CVS 1824)
FossilOrigin-Name: db5ae13db3edec82dd2ead3b76fc9f89f33b2dc2
2004-07-19 23:33:02 +00:00
drh
a8734da09b Fix for ticket #813. (CVS 1820)
FossilOrigin-Name: 0cc612f8aa458034d3dc246861c529c57ac5b2b1
2004-07-19 19:30:50 +00:00
drh
90ddc11b77 Correctly handle joins of move than 32 tables. Ticket #806. (CVS 1813)
FossilOrigin-Name: 5ba0acd6c788b6ec07b29dc40c17265f8fb8a337
2004-07-19 02:24:02 +00:00
drh
0aaa1c038e Use only unsigned characters in upper() and lower(). Ticket #708. (CVS 1807)
FossilOrigin-Name: f9b2aa8f8a6c0a7f74af2844a80fe14b85d05a45
2004-07-18 23:03:10 +00:00
drh
6951f39c72 The %W date specifier in strftime should be measured from the first Monday
of the year.  Ticket #758. (CVS 1806)

FossilOrigin-Name: 135e5447f66fcd8ec4350c81707a2e8d3c9fd31c
2004-07-18 22:25:15 +00:00
drh
805e7d5b42 Min() and max() ignore NULL values. Ticket #800. (CVS 1803)
FossilOrigin-Name: 223521c04e8ad39e06fee455f7dbb31ace2d3800
2004-07-18 21:14:05 +00:00
drh
06d55ce8f3 Fix for ticket #812 in the 2.8 branch. (CVS 1801)
FossilOrigin-Name: ea364dffc7dfe7533d6916d63db0a79181440e64
2004-07-17 21:59:18 +00:00
drh
24b8cb36bc Make SrcList.nSrc a signed quantity to avoid problems on AIX. (CVS 1795)
FossilOrigin-Name: 41526d098dcae6def4940cd464d0e1e673c6abb5
2004-07-15 13:37:04 +00:00
drh
afcfc0eecb Correct return type on sqliteStrICmp() when argument strings differ.
Ticket #804. (CVS 1793)

FossilOrigin-Name: 296528b281025d86650cf0e4c17e75c296e03310
2004-07-15 13:08:41 +00:00
drh
ea024eee62 Fold in changes submitted by the PHP developers. (CVS 1742)
FossilOrigin-Name: a4a2570822f13ece2174438ef8f8a6175aaa4a6b
2004-06-26 14:40:05 +00:00
drh
ca69323478 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
2004-06-23 21:16:51 +00:00
drh
52e50d6aaa Add the source code to the sqlite_analyzer utility. (CVS 1637)
FossilOrigin-Name: 06bf4c7e41839eb003f3df05a80789a1f2b21b8f
2004-06-19 11:57:39 +00:00
drh
0f156745bd Fix a compiler warning in os.c. (CVS 1636)
FossilOrigin-Name: 28b737b5a0e07a142396809f8a7dbd985d433c0d
2004-06-19 11:57:08 +00:00
danielk1977
f4ed02a34f Backport of (1628) to version 2. (CVS 1631)
FossilOrigin-Name: cce250eaee59eac2d15437b564f049c5b241317c
2004-06-19 04:23:25 +00:00
drh
5d5398b089 Do not authenticate statements when reading the schema. Backport of bug
fix in (1588) to version 2. (CVS 1591)

FossilOrigin-Name: 24adf9ed5988d6e110a750f75b767fad163689c6
2004-06-14 11:58:37 +00:00
drh
97117601d2 Calling sqlite_interrupt() while VACUUM is running should not cause an error. (CVS 1529)
FossilOrigin-Name: 1cf94a7c41b56506251a9964f133e179bd06825f
2004-06-04 19:07:53 +00:00
drh
f9ec81c84d Improvements to testing of sqlite_interrupt. More checking for interrupt
inside of VACUUM. (CVS 1344)

FossilOrigin-Name: d596f513c3acfe0d297dc3f5c66f4b0ea2d12a34
2004-05-10 20:27:41 +00:00
drh
45041e263a Fix a memory leak in DETACH when using the codec. (CVS 1317)
FossilOrigin-Name: c4bd99b79c66217140781309ed06e1ff3ef4a206
2004-05-07 01:46:01 +00:00
drh
3e5c826219 Add the sqlite_temp_directory global variable which, if set, defines the
directory in which temporary files are created. (CVS 1316)

FossilOrigin-Name: c90ed20dc4f95eb06a5259578597593f5968bfb7
2004-05-07 00:57:06 +00:00
drh
4e0e4d7a9e Fix a stack overflow problem with INSTEAD OF triggers. (CVS 1310)
FossilOrigin-Name: 5a33e0b06f495628704d0881940a792f342facc7
2004-04-29 16:16:29 +00:00
drh
1bdd9b5787 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
2004-04-23 17:04:44 +00:00
drh
d888544275 Change the ".database" command in the shell to allocate more characters to
the database name and filename. (CVS 1300)

FossilOrigin-Name: 85238f06902851dd5085395501a0ab2d6a2b9814
2004-03-17 23:42:12 +00:00
drh
8b8891bf0a 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
2004-03-17 23:32:08 +00:00
drh
276fd588d8 The sqlite_trace() API only works for commands started by the user, not for
SQL commands run during initialization. (CVS 1298)

FossilOrigin-Name: 0a12473c4ae370ec34f1f431dd6d7d6ffa25d41a
2004-03-17 18:44:45 +00:00
drh
6ff15d0c49 Prototypes for sqlite_encode_binary() and sqlite_decode_binary() added
to sqlite.h. (CVS 1296)

FossilOrigin-Name: 359f0e787ff2d4d10fd23059e2ce99670e93f66a
2004-03-14 22:12:34 +00:00
drh
6da834a8b4 Make sqlite_encode_binary() and sqlite_decode_binary() an official part of
the library. (CVS 1295)

FossilOrigin-Name: 786fe545560ec6c42bb0e344345031f425bf177a
2004-03-14 22:11:59 +00:00
drh
6e17529e97 Fix the min/max optimizer so that it works when the FROM clause is a
subquery.  Ticket #658. (CVS 1293)

FossilOrigin-Name: 31c94acc72d318b5dec0fef1485621943add45c8
2004-03-13 14:00:36 +00:00
drh
1a72d72a7f Typecast to work around a bug in {quote: CodeWarrior} Studio v9.1.
Ticket #654. (CVS 1292)

FossilOrigin-Name: 5864fc6937b933b7da0c00e6c4c2ee1b9b939cff
2004-03-10 18:57:31 +00:00
drh
a0c9a112de 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
2004-03-10 13:42:37 +00:00
drh
06333689a7 The shell program now ignores extra whitespace at the end of dot-commands. (CVS 1288)
FossilOrigin-Name: b6817e99bd97f427b1cfd16328d612e1a7d70d0a
2004-03-09 13:37:45 +00:00
rdc
aa5707cd5e Correct duplicate tracing of SQL statements. (CVS 1284)
FossilOrigin-Name: bb67311b3db49ce772533da14f62497c55432fae
2004-03-04 19:09:20 +00:00
drh
79f14b7240 A vdbe stack element might have a string value even after a call to
Integerify().  Ticket #641. (CVS 1283)

FossilOrigin-Name: 3cac4b7b526d6c5dbf394009b534707bcb65b0da
2004-03-03 01:51:24 +00:00
drh
b1aa04fccc 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
2004-03-02 18:37:41 +00:00
drh
0d131ab716 One more fix to the new HH:MM:SS modifier. This time add some test
procedures too. (CVS 1280)

FossilOrigin-Name: 7b3b8968ee9a5349dd6e9ae1e7a311bf8906607c
2004-02-29 01:08:17 +00:00
drh
b6829e94bd Try again to get the HH:MM:SS modifier change right... (CVS 1279)
FossilOrigin-Name: e20d51f94ed67b8864a435e5735f61f396662c21
2004-02-29 00:50:33 +00:00
drh
446536a089 Fix a bug in the HH:MM:SS modifier change that was just checked in. (CVS 1278)
FossilOrigin-Name: 248b5500900bc8f401006aaa9b7dac090ae419fa
2004-02-29 00:48:08 +00:00
drh
33a9ad2f8c 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
2004-02-29 00:40:32 +00:00
drh
3039c0a896 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
2004-02-29 00:11:30 +00:00
rdc
f146a77677 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
2004-02-25 22:51:06 +00:00
drh
268380ca9e 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
2004-02-25 13:47:31 +00:00
drh
d41d73d556 Fix the return type of sqliteRunVacuum. Ticket #627. (CVS 1271)
FossilOrigin-Name: 9c9f4a867a4ea708847cbb0839b7279eb33ecd7c
2004-02-25 02:33:34 +00:00
drh
f73287ceb0 Shell program saves command-line history on a ".quit". Ticket #614. (CVS 1270)
FossilOrigin-Name: 114b72f8608b8e08fad863a1446fb1ef59610efd
2004-02-25 02:25:37 +00:00
drh
946966f2a1 Disable an assert which (as it turns out) is not always true. Ticket #615. (CVS 1269)
FossilOrigin-Name: 2773c1d384b750eee037e6ccc61bc56b5204d690
2004-02-25 02:20:41 +00:00