Commit Graph

1889 Commits

Author SHA1 Message Date
drh
4c755c0f53 Make sure the argument to ctype.h macros is always an unsigned character.
Ticket #839. (CVS 1881)

FossilOrigin-Name: b065973898c06a81c69b70b3fa91c79334bd9b9a
2004-08-08 20:22:17 +00:00
drh
8dcd7cab83 Attempting to open a locked table for writing should fail immediately.
Ticket #842. (CVS 1880)

FossilOrigin-Name: fc879a9b1d05ddb8f8c552c1d334597e41b29b27
2004-08-08 19:43:29 +00:00
drh
1d64fc1a5e Do not invoke the busy callback when trying to promote a lock from SHARED
to RESERVED.  This avoids a deadlock. (CVS 1879)

FossilOrigin-Name: d33771a303d9c20dd477b1a973024ff763203211
2004-08-07 23:54:48 +00:00
drh
00afe0b374 Fix a bug in the logic that converts numbers into strings inside the VM.
Ticket #844 (CVS 1878)

FossilOrigin-Name: 863540be248d3079e1a997349be6c74199149511
2004-08-06 17:00:40 +00:00
drh
b860bc97d5 In the command-line shell: importments to the "help" message and better
error checking in the new .import command. (CVS 1877)

FossilOrigin-Name: ed489f776aed2de2f16e5c4b93ec6bc872118fb2
2004-08-04 15:16:55 +00:00
drh
a9600bc692 Separate P4 timing asm code out of the SQLITE_DEBUG macro so that SQLITE_DEBUG
can be used on non-x86 machines and with compilers other than GCC.
Ticket #838. (CVS 1876)

FossilOrigin-Name: add266ccc3146fa56572d109e84c8a79dc3df2ca
2004-08-04 14:44:33 +00:00
drh
d2f0a72331 Separate the ifdefs for INTPTR_TYPE and UINTPTR_TYPE in sqliteInt.h. (CVS 1875)
FossilOrigin-Name: 4e7953c13fd2cb32e5c97737c4b2f99b1b1edc9b
2004-08-04 14:29:22 +00:00
drh
db2d9a0bbb Fix a memory leak when the auxiliary data of a database structure is used. (CVS 1874)
FossilOrigin-Name: 7ecff04a6153aa200233e6c0846a65e0213c3179
2004-08-01 03:52:17 +00:00
drh
feac5f8dbc Add the ".import" command to the command-line shell. (CVS 1873)
FossilOrigin-Name: b56afe640f7f3f2837120e3dd923c529c4a3123a
2004-08-01 00:10:45 +00:00
drh
9796ef5804 Additional test case to cover ticket #831. (CVS 1872)
FossilOrigin-Name: a62129af99b4a576a48eb4931f417af257f510c7
2004-07-27 13:38:47 +00:00
drh
adfa3daf49 Honor the ORDER BY clause in a subquery that is the right-hand side of an IN
operator.  Ticket #827. (CVS 1871)

FossilOrigin-Name: 76fe68cff6ce75dada510544b063dc1069eb2e0e
2004-07-26 23:32:26 +00:00
drh
cced337e35 Get VACUUM working with UNIQUE indices. Ticket #829. (CVS 1870)
FossilOrigin-Name: 88a19a4386708c3c10448740d2bbe149055bcc6e
2004-07-26 23:07:51 +00:00
dougcurrie
d89fd07dc3 add sqlite3_get_auxdata sqlite3_set_auxdata C API exports (CVS 1869)
FossilOrigin-Name: 15bfb2d153b9ffbb6b59146e1288d0e2e4cdf66f
2004-07-26 15:31:21 +00:00
drh
1211de3709 Fix problems for 64-bit machines and when SQLITE_OMIT_AUTHORIZATION is defined. (CVS 1868)
FossilOrigin-Name: e3cad1ab6226089265b4d15c6fc67cc33a31425f
2004-07-26 12:24:22 +00:00
drh
be5c89acd0 Various size optimizations. (CVS 1867)
FossilOrigin-Name: 1186e3ce0b660f1cf8d03a275b0331da64d21f1b
2004-07-26 00:31:09 +00:00
drh
956bc92cde Prepared statements now work with CREATE and DROP. All tests pass.
No memory leaks. (CVS 1866)

FossilOrigin-Name: ebdb661e0eefe123c422d3c1c371e325bb6cf673
2004-07-24 17:38:29 +00:00
drh
3f7d4e49d8 Fix more problems with deferred execution of CREATE. Still need to do DROP.
There is now a memory leak. (CVS 1865)

FossilOrigin-Name: 6db3f122aad25b5226670ce682b7263d55c0d301
2004-07-24 14:35:58 +00:00
drh
234c39dff7 Progress towards getting prepared statements and CREATE and DROP to play
nicely together.  Work is incomplete.  Some tests are known to fail. (CVS 1864)

FossilOrigin-Name: 49b991492496e104f5eca620a5d465a742b7ff3a
2004-07-24 03:30:47 +00:00
drh
3e27c02625 First cut at a analysis tool for version 3.0 databases. (CVS 1862)
FossilOrigin-Name: 7c7f698b2eda7b1b34f5ca7fe104145d8bbd8f56
2004-07-23 00:01:38 +00:00
drh
8ea1a04ff8 Home page updates. (CVS 1861)
FossilOrigin-Name: 15774aab7d20eb4dfcb47378c8255e26b8cbbe19
2004-07-22 19:06:31 +00:00
drh
ad19857f5a Version 3.0.3 (CVS 1860)
FossilOrigin-Name: 068b15ae2a5187d9fc1e88c8c3fd21d647733788
2004-07-22 18:54:04 +00:00
drh
20753fb2d0 Updates to the publish.sh script and the download.html webpage. (CVS 1858)
FossilOrigin-Name: 23c2ec459101d45c17e6e4cc6a20ed1b981cfd35
2004-07-22 18:53:17 +00:00
drh
8685a946b8 Fixes to the publish.sh file for version 3.0. (CVS 1857)
FossilOrigin-Name: cc82288b9fff13ae1dc0ae61dfc6be1ac0e603f7
2004-07-22 18:44:23 +00:00
drh
91551097ea Update changes log for 2.8.15. Add new architecture images. (CVS 1853)
FossilOrigin-Name: 8dd9b4de278570e8a741d28752724117e8c5fae0
2004-07-22 16:12:19 +00:00
drh
1b06fbcd72 file join4_28.test was initially added on branch version_2. (CVS 1852)
FossilOrigin-Name: dc3caba7f0c8f1decb20e57915278acb8388fdd9
2004-07-22 16:08:38 +00:00
drh
7dcc2c9e27 file join3_28.test was initially added on branch version_2. (CVS 1851)
FossilOrigin-Name: ee5c2cff810511b8f457c5c5af0791fc7f05d6c4
2004-07-22 16:08:38 +00:00
drh
f8c3a21022 Update VERSION and changes.html in preparation for the next release. (CVS 1848)
FossilOrigin-Name: 428f80239e68671a258ed3d1a00f42b32e4ea0c9
2004-07-22 15:47:28 +00:00
drh
1dba027428 Change sqlite* to sqlite3* in the API reference for version 3.0. Ticket #818. (CVS 1847)
FossilOrigin-Name: 7c96daddb6b857f904f0ea72d6bad21ab7dc3f16
2004-07-22 15:45:15 +00:00
drh
25d6543de5 Fix bugs associated with the codec. (CVS 1846)
FossilOrigin-Name: b0a3becd82b9a4203c23f35dc5a5fd725e046f21
2004-07-22 15:02:25 +00:00
drh
89aa31e509 Changes in support of using a codec. (CVS 1845)
FossilOrigin-Name: 58505bf9be8e7f9d33a7a52f0d2ac167448f7b3a
2004-07-22 02:40:38 +00:00
drh
2011d5f5e5 Changes in support of using a codec. (CVS 1844)
FossilOrigin-Name: b77bec35742f07d79da3e85baee09a90c1494415
2004-07-22 02:40:37 +00:00
drh
90f5ecb39d Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843)
FossilOrigin-Name: 4cf6e9db757931aba2f300b7869305434d6f2d2b
2004-07-22 01:19:35 +00:00
drh
900dfba8ef Updates comments in sqlite.h.in that describe the destructor parameter
to sqlite3_bind_.... (CVS 1842)

FossilOrigin-Name: 166eb60614d958674469d6661c694aa5955ada7b
2004-07-21 15:21:36 +00:00
drh
a4aac81cdf Update the TCL API documentation. (CVS 1841)
FossilOrigin-Name: df306ad9ee522b20f017be0be83d9e071d525f8e
2004-07-21 14:54:49 +00:00
drh
422b3024e2 Updates to the C-language API documents for version 3.0. (CVS 1840)
FossilOrigin-Name: 814c58d470922d77cfcc6c4d5d26c1ec4c28ca60
2004-07-21 14:07:57 +00:00
drh
17c402944a Minor coding enhancements. (CVS 1839)
FossilOrigin-Name: 65c3af74c16c9fe0341b1e7e6d029927503f7404
2004-07-21 02:53:29 +00:00
drh
193bd777aa Simplify the where.c logic by flipping expression over so that the controlling
variable is always on the left. (CVS 1838)

FossilOrigin-Name: ec8bfa3891dbf0f3172e31cf322974c03f9af59a
2004-07-20 18:23:14 +00:00
drh
0bb132bedc Lemon collapses common destructors and reduce actions into a single case. (CVS 1837)
FossilOrigin-Name: 3c5aa850eeec5c75c5200a3707852cc5fc9e780b
2004-07-20 14:06:51 +00:00
drh
6d08b4d647 Add the '%ifdef' capability to lemon. Other minor changes. (CVS 1836)
FossilOrigin-Name: 522ff721ccc33c4b89072fed4e451f0df82e8140
2004-07-20 12:45:22 +00:00
drh
cf55b7aef7 Handle quotes on the table name in TABLE.* terms in SELECT statements.
Ticket #680. (CVS 1833)

FossilOrigin-Name: 826b6797a9f08c69b9378cb403d746e91a54dcde
2004-07-20 01:45:19 +00:00
drh
6458e39c12 Report an error when attempting to open a directory as a database.
Ticket #687. (CVS 1832)

FossilOrigin-Name: 4d77037be34b357d24d18d1e13b5f0df580b83ff
2004-07-20 01:14:13 +00:00
drh
78d153eecd Add test for creating indices with quoted names. Ticket #695. (CVS 1831)
FossilOrigin-Name: 7e72c5b7b5e355e41c30d4ef47268e11f4c97425
2004-07-20 00:52:44 +00:00
drh
fd1f394af2 Comment out all of date/time functions with SQLITE_OMIT_DATETIME_FUNCS.
Ticket #784. (CVS 1828)

FossilOrigin-Name: 4e2ad572ea1800a2da1ea18548415c6fbf396259
2004-07-20 00:39:14 +00:00
drh
2c61c070d2 Correct handling of views on tables with quoted column names. Ticket #756. (CVS 1826)
FossilOrigin-Name: 8ac5a8ad5eec381585adb6812fc39a1a30aee4c1
2004-07-20 00:20:23 +00:00
drh
bab39e1358 Refinements to the LIMIT patch (1823) for ticket #749. (CVS 1825)
FossilOrigin-Name: 9d4f43f030438b3e7358032de2e04132b80e04a8
2004-07-19 23:38:11 +00:00
drh
ea48eb2eef LIMIT occurs after DISTINCT. Ticket #749. (CVS 1823)
FossilOrigin-Name: e6bc8aa80824a9156e78fc99b5ac7045b97d29c3
2004-07-19 23:16:38 +00:00
dougcurrie
88215bdfde more uses of sqlite3.pc (CVS 1822)
FossilOrigin-Name: a0f107ca66f825cc1fd10b15157b22fd9cc0f95c
2004-07-19 22:28:43 +00:00
drh
d5b447d9ac The OsFile under Unix records a pointer back to the pager. This is intended
to be used for an externalized locking patch. (CVS 1821)

FossilOrigin-Name: 511ee6392472d250b542961d1f715cc7453598e6
2004-07-19 22:08:09 +00:00
drh
8d7e24f1d3 Remove debugging code that was accidently left in join4.test. (CVS 1819)
FossilOrigin-Name: e36e59f02eec166ef2c4e0991c97ceb536e3c3f3
2004-07-19 19:28:44 +00:00
drh
2ffb11855a Fix for ticket #813. (CVS 1818)
FossilOrigin-Name: 88e4bfa154e33c627ff2abb15cc55a100359d370
2004-07-19 19:14:01 +00:00
drh
c275b4ea91 Store schema cookies on the TEMP database. Ticket #807. (CVS 1817)
FossilOrigin-Name: c6c13dc460094e6adea2b14849edf9f485238b99
2004-07-19 17:25:24 +00:00
dougcurrie
27438cf186 use -lsqlite3 in .pc file (CVS 1816)
FossilOrigin-Name: b36e6e4907716e048fb21903e234578596c7333d
2004-07-19 04:25:47 +00:00
dougcurrie
12b3444483 Use 'sqlite3.pc' instead of 'sqlite.pc' (CVS 1815)
FossilOrigin-Name: 991b6108e7cac3837d39fd9a5adbd72b082a4983
2004-07-19 03:24:59 +00:00
dougcurrie
6f137d44e7 Use 'sqlite3.pc' instead of 'sqlite.pc' (CVS 1814)
FossilOrigin-Name: 7525a1a9106f492d288676fd8aa00b470db2dc4b
2004-07-19 03:23:12 +00:00
drh
8feb4b1d9e Correctly handle joins of more than 32 tables. Ticket #806. (CVS 1812)
FossilOrigin-Name: 880644097004cba1e215a5697d0553b3b98c9884
2004-07-19 02:12:14 +00:00
drh
755b6ba9f0 A failed ATTACH leaves the database in a consistent state. Ticket #811. (CVS 1811)
FossilOrigin-Name: c22f9feb1bb00d1d54a8a87b557195573463fda9
2004-07-19 00:56:23 +00:00
drh
5f6a87b3dd When comparing two expressions do not apply affinity to either operand.
Ticket #805. (CVS 1810)

FossilOrigin-Name: 88a4e400f916d7af088b39a9653d6452b3666577
2004-07-19 00:39:45 +00:00
drh
83ca160a33 Unsuccessful attempt to reproduce ticket #807. (CVS 1809)
FossilOrigin-Name: d7e9772c74a2b9377f17149cc1baa3b2d0dfbfb8
2004-07-18 23:47:53 +00:00
drh
8cd9db004a Use only unsigned characters for upper() and lower(). Ticket #708. (CVS 1808)
FossilOrigin-Name: 2464f79e5ddf65e90ed84ccd793995fc2f713400
2004-07-18 23:06:53 +00:00
drh
1020d49a31 The %W date specifier in strftime should be measured from the first Monday
of the year.  Ticket #758. (CVS 1805)

FossilOrigin-Name: 50b016b00470e6303ede1173d0447d8239563263
2004-07-18 22:22:43 +00:00
drh
1af3fdb4dc An improved fix for the min() problem of ticket #800. (CVS 1804)
FossilOrigin-Name: b6e8b7a13cd9f90e2f7d963d9ddbe591571f3a27
2004-07-18 21:33:01 +00:00
drh
9eb516c0eb min() ignores NULL values. Ticket #800. (CVS 1802)
FossilOrigin-Name: 166234a2b61e1d6a501e48dde1caec0a02bec90b
2004-07-18 20:52:32 +00:00
drh
e29b1a05a7 mprintf() correctly handles "%s","". Fix for ticket #812. (CVS 1800)
FossilOrigin-Name: 4f56db1149f65dc2edf6626fa20ae255a5f5280c
2004-07-17 21:56:09 +00:00
drh
dd809b087f Use the F_FULLFSYNC fctrl if it is available. Record the name of files
that are opened in the OsFile structure. (CVS 1799)

FossilOrigin-Name: 1d30d0dd46c2bd12ce3f7dc06492f3e27ab6bcee
2004-07-17 21:44:57 +00:00
drh
4ebfef14e3 Added tests for sqlite3_changes after a DELETE. (CVS 1798)
FossilOrigin-Name: c01f13267f592dc2678e78ea45dadddcdc154f82
2004-07-15 20:08:39 +00:00
drh
75f6a032c4 Implement the experimental sqlite3_bind_parameter_count() API in support
of DBD::SQLite.  Also fix the sqlite3.def export list. (CVS 1797)

FossilOrigin-Name: c44943e6fe0c88830102253591a501dc7d724d2f
2004-07-15 14:15:00 +00:00
drh
939a16d622 Make SrcList.nSrc a signed quantity to avoid problems in AIX. (CVS 1796)
FossilOrigin-Name: f2bb83cfd7e6b7ff853099897a24346a2991bc57
2004-07-15 13:37:22 +00:00
drh
2b735010f5 Fix the return type on sqliteStrICmp when the input strings are not
equal.  Ticket #804. (CVS 1794)

FossilOrigin-Name: 660b89a0fc031e798ce14f25273468e85e038efa
2004-07-15 13:23:21 +00:00
drh
ee4a1872c5 Bug fixes in the windows build process within the publish.sh script (CVS 1792)
FossilOrigin-Name: cda795a1d5549231b767114febd9980c9c70d4d2
2004-07-01 11:25:35 +00:00
drh
5efb145d6e Version 3.0.2 (Beta) (CVS 1791)
FossilOrigin-Name: 26a559b65835d3da4c853ed87ccdc6bfdf37461c
2004-06-30 23:59:00 +00:00
drh
b733c18436 Add -DNDEBUG to the default makefile. (CVS 1790)
FossilOrigin-Name: f5ab04dae88c68543a2264a39006a435469bfaa8
2004-06-30 23:17:05 +00:00
drh
070aaad8e8 Omit the "LL" literal qualifier as it causes problems for some compilers. (CVS 1789)
FossilOrigin-Name: 2010ed8040a0956f57f4ca594973ad93c0551f64
2004-06-30 23:04:32 +00:00
drh
49d55ac3f5 Add a Credits section to the version3.html document. (CVS 1788)
FossilOrigin-Name: 750ec96172e200f67cbd64659a87a1633edd544e
2004-06-30 22:54:06 +00:00
drh
76d7f8b385 Do not use "new" as a variable name - some compilers think it is a keyword. (CVS 1787)
FossilOrigin-Name: 8a6e4ea79e5f4333fbc767832d5e55c77da204e1
2004-06-30 22:43:21 +00:00
drh
7acde5a33b Up the version number to 3.0.2 and make changes to the website in
preparation for the first beta release. (CVS 1786)

FossilOrigin-Name: 0b73b7a074896f45573e612992d08a22124fc485
2004-06-30 22:35:06 +00:00
drh
93d648d4b4 Specify ASCII versions of Win32 API functions. (CVS 1785)
FossilOrigin-Name: 48b31540db5f0212a7e37e4833b760615afe13a3
2004-06-30 14:28:59 +00:00
danielk1977
7dca81b84c Fix a typo in capi3.tcl. (CVS 1784)
FossilOrigin-Name: 982389b25d26201116fdfd390aa4b9964b5adf69
2004-06-30 13:28:32 +00:00
danielk1977
25b3363d2c Have the debug version of sqliteRealloc() return partially uninitialised
memory in the same way as the non-debug version can. (CVS 1783)

FossilOrigin-Name: e78b0ff30fb630bc9835a7545525eea64924bafc
2004-06-30 12:49:46 +00:00
danielk1977
5b59af85c7 Fix a memory allocation problem in os_test.c (CVS 1782)
FossilOrigin-Name: ed511c2ea9581933ca504ce4b43d863503c6cc22
2004-06-30 12:42:59 +00:00
danielk1977
13073931a3 Coverage improvements for malloc and vdbemem.c (CVS 1781)
FossilOrigin-Name: a98dd004c4d328eb44a71fecdbf8c5ab416dc524
2004-06-30 11:54:06 +00:00
drh
376deb182a Add the crashtest target to Makefile.in. Add LL suffix to long long constants
in the vdbe.  Comment changes to vdbeaux.c. (CVS 1780)

FossilOrigin-Name: 42553001954356c942b874e95277efe235ef7692
2004-06-30 11:41:55 +00:00
drh
3ea64406fc Skip bigfile.test on Mac OS X. Darwin does not handle large sparse files
efficiently and so this test takes a really long time. (CVS 1779)

FossilOrigin-Name: a3c38a6d286ab37a9cdcc8b2243ea3258cc61ff0
2004-06-30 11:28:13 +00:00
drh
91b48aa1af When a statement causes a ROLLBACK due to an ON CONFLICT clause, other active
VMs abort. (CVS 1778)

FossilOrigin-Name: 0fedf74e30026afe2c8caacff3d62cf5c1b1f528
2004-06-30 11:14:18 +00:00
danielk1977
05056307fd Make sure vacuum.test closes all files. (CVS 1777)
FossilOrigin-Name: 4077f9a30b0c30a8749a596031aa4f7adc3a4891
2004-06-30 10:54:29 +00:00
danielk1977
96fb0dd55a Coverage tests for vacuum.c (CVS 1776)
FossilOrigin-Name: 152e9940b919a53fcd0da4091dbf75ab8ef15b38
2004-06-30 09:49:22 +00:00
danielk1977
bc6ada4103 Fixes for compiler warnings. Also more coverage. (CVS 1775)
FossilOrigin-Name: fa19c77bf045787faa4cdc40bcfbd9eeae8594ae
2004-06-30 08:20:16 +00:00
danielk1977
46c43edd39 Add some tests for overlapping SELECT, COMMIT and ROLLBACK commands. (CVS 1774)
FossilOrigin-Name: d256c14943968e7adf4b73988cac6af941c9b12d
2004-06-30 06:30:25 +00:00
drh
9d213ef022 Improve test coverage of util.c (CVS 1773)
FossilOrigin-Name: 68ac32213766c5e83de54373b90030a458538017
2004-06-30 04:02:11 +00:00
drh
cc19587998 Improved test coverage of func.c and hash.c. (CVS 1772)
FossilOrigin-Name: 0c999f28137bd82ba24dd263bab30d22329eed73
2004-06-30 03:08:24 +00:00
danielk1977
5b809e3198 Allow strings that look like integers to be inserted into IPK columns in a
UTF-16 database. (CVS 1771)

FossilOrigin-Name: e5e39764038311cbb3555b5bd41de2563a89113e
2004-06-30 02:43:38 +00:00
danielk1977
93cd039570 Minor fixes for UTF-16 databases. (CVS 1770)
FossilOrigin-Name: 6c5c11e07e157c15cf99078fce2a1bc478e287ce
2004-06-30 02:35:51 +00:00
drh
54bbdf4f7f Some extra tests for the OP_MustBeInt opcode. (CVS 1769)
FossilOrigin-Name: b9d5858ca171e11afaeb9712efa0fc1a0e79102b
2004-06-30 02:29:03 +00:00
drh
db96db107c Remove some pointless asserts from btree.c. (CVS 1768)
FossilOrigin-Name: 73eec675059f6d2178c6175268e80750378bf07b
2004-06-30 01:07:01 +00:00
danielk1977
2d1f92a13d Run tests in UTF-16 mode. (CVS 1767)
FossilOrigin-Name: 822bee3a4eb88054cc573a7b2d7f15ea2547bc1a
2004-06-29 23:52:48 +00:00
danielk1977
7939aa87e3 Fix capi3.test so that it works with production (as well as debugging ) builds. (CVS 1766)
FossilOrigin-Name: 9cf371d85d99235771f173572265c5e4dd5ab273
2004-06-29 14:03:58 +00:00
drh
4230e2c7f3 Fix TRACE7 in os_common.h. (CVS 1765)
FossilOrigin-Name: 76e0b74961af3ff285757ac428b82fe7eaffc025
2004-06-29 13:54:50 +00:00
danielk1977
c8c1158be2 Ensure the tcl interface returns an error when sqlite3_create_function()
fails. (CVS 1764)

FossilOrigin-Name: 357a82cd224e33e11870ad7c2f934c27af682881
2004-06-29 13:41:21 +00:00
danielk1977
312d6b36e3 Test cases intended to improve coverage of main.c. (CVS 1763)
FossilOrigin-Name: 15a084e9ea14d093f75c54a321f146c18f4453d7
2004-06-29 13:18:23 +00:00
drh
779c6a0647 Improved test coverage of table.c and printf.c. (CVS 1762)
FossilOrigin-Name: ba87834d863cb50f3016ccb04f790be5fa4070c6
2004-06-29 13:04:32 +00:00
drh
0f14e2ebed Improved test coverage of tclsqlite.c (CVS 1761)
FossilOrigin-Name: 008e57dcd5e16886ed732fe1e9797a3c00e8c579
2004-06-29 12:39:08 +00:00