Commit Graph

2114 Commits

Author SHA1 Message Date
drh
1bcdb0c0b2 Add new defenses against misuse of the C API. Ticket #870. (CVS 1906)
FossilOrigin-Name: 6ef1f662d71c75bdb7f61b2fff03f5b1b41e5586
2004-08-28 14:49:46 +00:00
drh
3d2efea4fa Add sqlite_temp_directory to the windows driver. (CVS 1905)
FossilOrigin-Name: f5b0e5b0b2f17d179c23c7e4542dbbb452096056
2004-08-28 01:12:56 +00:00
drh
db06183c22 Update the TCL binding documentation to describe the newly added ability
to specify TCL variable names in the body of an SQL statement. (CVS 1904)

FossilOrigin-Name: b3b9e58103dd6c65c55caf9a25bc1c257b37df88
2004-08-26 01:12:13 +00:00
drh
1d895039e2 Protect Tcl_Obj pointers from change using Tcl_IncrRefCount() while
executing SQL statements in the TCL bindings. (CVS 1903)

FossilOrigin-Name: 6199f2f243514bbd4befbf768a7e03aec775bed2
2004-08-26 00:56:05 +00:00
drh
2c6674cf7e Host parameter names conform to SQL-2003. (CVS 1902)
FossilOrigin-Name: fd584d1ccf6643b723c2ff0a7a16c2aea3f1142c
2004-08-25 04:07:01 +00:00
drh
9d74b4c516 Fix a bug in the parsing of wildcards that begin with '$'. (CVS 1901)
FossilOrigin-Name: 054dd8901dbfe64a8f61e7b99e23512057bad99a
2004-08-24 15:23:34 +00:00
drh
fdb38064b0 Fix a pager bug that might have made multi-database commits non-atomic
if a power failure occurred at just the wrong moment. (CVS 1900)

FossilOrigin-Name: b6eb4bf8c7763ef73723fc3d3697af435c19bae4
2004-08-21 19:20:42 +00:00
drh
290c19482e Optimizations to the code generator. (CVS 1899)
FossilOrigin-Name: bd6649c5aae1bf182610eb267b546c297a34481d
2004-08-21 17:54:45 +00:00
drh
92febd92ad Tcl interface transfers values directly between SQLite and Tcl_Objs, without
at translation to strings. (CVS 1898)

FossilOrigin-Name: e97c331362545ce21117776c7b61d3488668f2bf
2004-08-20 18:34:20 +00:00
drh
895d747226 Add support for named wildcards in SQL statements. (CVS 1897)
FossilOrigin-Name: d3be0b7c5a39c02b9b2d6d85f1595d591984a569
2004-08-20 16:02:39 +00:00
drh
e8cf2cacb1 Optimizations in the hash table module. (CVS 1896)
FossilOrigin-Name: d5b0269e0dd7c310460a7ffc4120ed45db823ce9
2004-08-20 14:08:50 +00:00
drh
7ac25c7510 Enhance lemon so that a @X instead of just X in the code expands to the
major token value rather than the minor token value.  Use this to make
the parser a few hundred bytes smaller. (CVS 1895)

FossilOrigin-Name: 28215096e0748b5b02776ddb4c964e0161bc0f16
2004-08-19 15:12:26 +00:00
drh
2889ae7248 Add the SQLITE_BUSY_RESERVED_LOCK compile-time option. (CVS 1894)
FossilOrigin-Name: 25fe7a42ec2e06e659d7a0a6664789114c007e17
2004-08-19 13:29:15 +00:00
drh
cb4c40ba0e Make sure the database file is correctly truncated after a ROLLBACK that
occurs after a statement abort. (CVS 1893)

FossilOrigin-Name: 6afe467d146828d67ad17af21604c2e691aa5dff
2004-08-18 19:09:43 +00:00
drh
2b74d70a38 Better debug logging of the pager. (CVS 1892)
FossilOrigin-Name: 1cc0323f2597584b3f3239e8948ac3ff3db8da03
2004-08-18 16:05:18 +00:00
drh
34f4732b06 Be more agressive about not creating or opening the TEMP database if there
are no TEMP tables. (CVS 1891)

FossilOrigin-Name: 6b2b6b2dbd821070a2781685c4b63a50bc8f5cae
2004-08-18 15:58:22 +00:00
drh
dc3ff9c34c Avoid creating a TEMP database unless it is absolutely necessary. (CVS 1890)
FossilOrigin-Name: 5914a11caa4c6e778cd7ca010427897c8f971552
2004-08-18 02:10:15 +00:00
drh
181fc99332 Fix a typo in a comment. (CVS 1889)
FossilOrigin-Name: 9af1d4d1456d32c2e15f73f79928572f3bfba6ae
2004-08-17 10:42:54 +00:00
drh
ae15787643 If meta(3)>0 then make the database readonly for now. This allows the current
database to interact with future releases that might include autovacuum. (CVS 1888)

FossilOrigin-Name: 7619bf4771781005da23a3e9d7b00de405e27a64
2004-08-14 19:20:09 +00:00
drh
22ac46d15d Fix a bug that was preventing "PRAGMA temp_store=MEMORY" from working. (CVS 1887)
FossilOrigin-Name: bb55894521848b6a9d8b516a3c7eeb3482936d7e
2004-08-14 18:34:54 +00:00
drh
472cbf6b9e The command-line shell should avoid writing changes into string constants. (CVS 1886)
FossilOrigin-Name: 6b8178de9936e48ed69d1546218b5def6665b459
2004-08-14 18:18:44 +00:00
drh
ab3f9fea05 Add the ability to specify a alternative temporary file directory using the
"sqlite_temp_directory" global variable. (CVS 1885)

FossilOrigin-Name: fce56ba6a3c53843fabdfad4f545e35a83a01aa9
2004-08-14 17:10:10 +00:00
drh
458b8fc8bc Version 3.0.4 (beta) (CVS 1884)
FossilOrigin-Name: 98edbdd5176704a3a8cbcb19614b51c59d748fda
2004-08-09 00:26:57 +00:00
drh
b78825070e Prepare for the release of version 3.0.4. (CVS 1883)
FossilOrigin-Name: 72fb719bdd627694d89ea523dda3cf44537463a9
2004-08-09 00:04:04 +00:00
drh
71c697ef4d Fix problems in the handling of malloc failures. (CVS 1882)
FossilOrigin-Name: 81d91d14cf2352fc7981b361ac9af99b3cbbc9e8
2004-08-08 23:39:19 +00:00
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
drh
b97759ed11 Add testing for sqlite3_trace() and fix a bug. (CVS 1760)
FossilOrigin-Name: 7a15391079ae9ce5360fa13e8779c8872885e789
2004-06-29 11:26:59 +00:00
drh
fd69dd6b3d Comment out unused routine in os_unix.c. (CVS 1759)
FossilOrigin-Name: 20db8124ace5fbfa99035ae28e5c98f4c5fcde00
2004-06-29 11:08:19 +00:00
drh
ef0715c20a Do not set new error messages after a malloc failure. (CVS 1758)
FossilOrigin-Name: f46251ee0a654e9aa927df31968f7792f771caa9
2004-06-29 10:53:54 +00:00
danielk1977
8a41449ecc Fix error reporting path for errors that occur while reading the database
schema. (CVS 1757)

FossilOrigin-Name: 157db33e09399f31bcdaf58ea90fe618fefcd9bd
2004-06-29 08:59:35 +00:00
danielk1977
2b444853e0 Bug-fixes to get the two threadtest C programs working again. (CVS 1756)
FossilOrigin-Name: ffd3312b66e2657c3431eab814aadec254af2403
2004-06-29 07:45:33 +00:00
drh
5fdae7711a Try to get threads working again on Linux. (CVS 1755)
FossilOrigin-Name: a8417cb83e9d070f46e7505f92a95f057b992658
2004-06-29 03:29:00 +00:00
danielk1977
f46188911d More coverage testing. (CVS 1754)
FossilOrigin-Name: 332921041040b343b6b568685ff55d21a624f502
2004-06-28 13:09:11 +00:00
drh
2ec81649a5 Get all tests working under win2k. (CVS 1753)
FossilOrigin-Name: 168112c8b76af132c675a6508d3ee7764ef7a845
2004-06-28 11:52:45 +00:00
danielk1977
489468cf26 Add a simple test case for inter-process locking. (CVS 1752)
FossilOrigin-Name: b0fcc99d227c061203fb1e0f4583b66723033159
2004-06-28 08:25:47 +00:00
danielk1977
8191bff0c2 Fix some problems with multi-file transaction rollback. (CVS 1751)
FossilOrigin-Name: 06e8e30b249c10512a225d6c7a5fcb5c666595e6
2004-06-28 04:52:30 +00:00
danielk1977
c3e8f5ef52 A few more warning fixes. (CVS 1750)
FossilOrigin-Name: 81e4994045697470bcfd692a794731c8291a8a30
2004-06-28 01:16:46 +00:00
danielk1977
e0d4b060db Fix a bunch of harmless warnings. (CVS 1749)
FossilOrigin-Name: fae7c6e004aa4752fd3db09a42bfdb900861b3c0
2004-06-28 01:11:46 +00:00
danielk1977
55e0af4653 Fix a seg-fault caused by a malloc() failure. (CVS 1748)
FossilOrigin-Name: e28d42cb5e274b871f54add0e046d6e153060e21
2004-06-28 00:17:32 +00:00
danielk1977
fe587031cf Fix unitialised variable in sqlite3VdbeFinalize(). (CVS 1747)
FossilOrigin-Name: 9501587944f1009aa0b4fa431bb19e7ec993a077
2004-06-27 23:50:21 +00:00
drh
6a179ea796 Remove unused routines from vdbeaux.c. Improve test coverage. (CVS 1746)
FossilOrigin-Name: 792b3c75e7764bab1473c0d6efc76f1164c943bf
2004-06-27 21:31:39 +00:00
drh
6a6124e27a Fix a bug in the handling of Mems inside of vdbe.c. (CVS 1745)
FossilOrigin-Name: ad65c6e24e15966d5fd15d60f81487ff97788da4
2004-06-27 01:56:33 +00:00
drh
5260f7e925 Coverage testing of pragma.c. (CVS 1744)
FossilOrigin-Name: 0f9c0f0aa9188c46c65cb92203687f37884f685a
2004-06-26 19:35:29 +00:00
drh
b089c0b722 Fold in a 64-bit change that came from the PHP people. (CVS 1743)
FossilOrigin-Name: b69b4fe8adff83a26e3566613bea8b477a26e8a4
2004-06-26 14:46:39 +00:00
danielk1977
b5548a8b20 Fix a problem where a file was not being closed after a malloc() failure. (CVS 1741)
FossilOrigin-Name: 3c8512bc549e10ee131cb7f2d4e74d96e9de74a0
2004-06-26 13:51:33 +00:00
drh
3dea76474c Add news about the break-in to the homepage. (CVS 1740)
FossilOrigin-Name: 5cda1cda63bef554f8b3436bd958014f453087c2
2004-06-26 12:40:06 +00:00
danielk1977
b2c7f5b31e Fix error message returned when a database cannot be opened. (CVS 1739)
FossilOrigin-Name: 440bfd2ac57d228d10913aca81ca8c6d7f38aa61
2004-06-26 10:02:16 +00:00
danielk1977
e35ee196dc Minor fixes related to the tests in misuse.test (CVS 1738)
FossilOrigin-Name: 0af3ff39422e02afdfdaf2005ab5eb01b496dc72
2004-06-26 09:50:11 +00:00
danielk1977
40b38dcdf8 Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737)
FossilOrigin-Name: 4e20720984e1fd6822ead785d758374d2704b7fb
2004-06-26 08:38:24 +00:00
danielk1977
1e8770ec89 Remove default_synchronous and temp_store pragmas. Allow the safety-level
and cache-size to be set for attached databases. (CVS 1736)

FossilOrigin-Name: 76da457b8fc8fe838226da14c31c315cf914a505
2004-06-26 06:37:06 +00:00
danielk1977
91cf71b01f Remove default_synchronous and temp_store pragmas. Allow the safety-level
and cache-size to be set for attached databases. (CVS 1735)

FossilOrigin-Name: 212de3ce66f746036cb2267a9f924fd55fa2f37a
2004-06-26 06:37:06 +00:00
danielk1977
75edc16f07 Fix a bug in the new full-sync journal format. (CVS 1733)
FossilOrigin-Name: 02bd3acd7efde9cc6b67c97e98db9f4b62d27877
2004-06-26 01:48:18 +00:00
danielk1977
c8e9a2df77 Fix CVS merge problem. (CVS 1693)
FossilOrigin-Name: dfab1e9ac0fbe57fe4a1cbe6c363ef43b3b075ef
2004-06-25 12:08:46 +00:00
danielk1977
cafadbac02 Add a checksum to the master journal name stored at the end of a journal
file. (CVS 1692)

FossilOrigin-Name: 4905e74925a4e9d467c51dc174f265b9395ae9fa
2004-06-25 11:11:54 +00:00
danielk1977
4cb1607bc0 Remove crash.test from memleak.test. (CVS 1691)
FossilOrigin-Name: 2a9cea61f90be4881b01f8a7c1ca4dab77706d2f
2004-06-25 10:26:12 +00:00
danielk1977
fa916940fa Remove duplicate sqlite3_changes() declaration. Ticket #779. (CVS 1690)
FossilOrigin-Name: 0322c83776f0c17286e9accb3ed3c72b5be6cdab
2004-06-25 10:25:10 +00:00
danielk1977
90ba3bd065 A few more comment changes. No code alterations. (CVS 1689)
FossilOrigin-Name: b68b4a4262c2ab60f9a7cc0c206b9db207f86933
2004-06-25 08:32:25 +00:00
danielk1977
f42f25c2c5 Add a comment on the implementation of sqlite3OsLock(). No code changes. (CVS 1688)
FossilOrigin-Name: 084f3fffbdeb1e2b375817ae1111b867c9d32559
2004-06-25 07:21:28 +00:00
danielk1977
f187bd9d64 Activate test cases for new journal format. (CVS 1687)
FossilOrigin-Name: 197d00d6a6a440848a0b4710157272558868221c
2004-06-25 06:23:22 +00:00
danielk1977
7657240a21 Modifications to the journal format to make it more robust. (CVS 1686)
FossilOrigin-Name: 504246a18daca794473b17a7874096f1ec8648ee
2004-06-25 02:38:54 +00:00
drh
e970767144 Fix signed integer problems in vxprintf. Ticket #778. Also remove some
dead code from util.c. (CVS 1685)

FossilOrigin-Name: 200cd3baf60e6cfad9fa3971834367821456ae30
2004-06-25 01:10:48 +00:00
dougcurrie
256a4ec4a3 add all sqlite3_ functions in capi reference to dll exports (CVS 1684)
FossilOrigin-Name: b6ca51e47a6f6551058d529662abe113399b38e9
2004-06-24 15:09:45 +00:00
dougcurrie
afded26eac add sqlite3_exec to dll exports (CVS 1683)
FossilOrigin-Name: 6c6a84b5641f676d2bd1791863c1be849fbfbee4
2004-06-24 14:43:56 +00:00
dougcurrie
575414ae8d make doc directory earlier in build; see (1667) (CVS 1682)
FossilOrigin-Name: 68c90d16b482a388e73ac1e7535bd0183d6a3c1a
2004-06-24 14:17:44 +00:00
danielk1977
cf991b375a Minor fix for 'make doc'. (CVS 1681)
FossilOrigin-Name: 31fe5cbd870916b2445dec83cdd8e031ef43c177
2004-06-24 01:30:44 +00:00
danielk1977
3aeab9e438 Apply (1679) to version 3. Ticket #777. (CVS 1680)
FossilOrigin-Name: 0a26b9158095f0995fce2f0ccdfb383ab26c76a5
2004-06-24 00:20:04 +00:00
danielk1977
1ba1b5511c Improve test coverage of utf.c. (CVS 1678)
FossilOrigin-Name: 53c553c760a84e213c2277588bcc292892c2b0ce
2004-06-23 13:46:32 +00:00
danielk1977
e12c17bab3 Fix a bug in the previous checkin. (CVS 1677)
FossilOrigin-Name: f31c84a64f53cf2e75a5e988fbb6ad82537f2403
2004-06-23 12:35:14 +00:00
danielk1977
9d951766ea Add some tests for user functions that prefer various text encodings. (CVS 1676)
FossilOrigin-Name: db6bab574869fde49a147d4e19dd73005f247092
2004-06-23 12:15:55 +00:00
danielk1977
ef317ab577 Test cases to verify recovery after a crash. (CVS 1675)
FossilOrigin-Name: 41868d79ac5b3c496c4d87ca6b4ee7c17ef38965
2004-06-23 10:43:10 +00:00
danielk1977
ece80f1e48 Handle corrupt journal file headers correctly. (CVS 1674)
FossilOrigin-Name: 46107da7eddbdda8b582e2ece2dc41222a70330a
2004-06-23 01:05:26 +00:00
danielk1977
d7e69648c1 Add a comment to the output buffer allocation in sqlite3VdbeMemTranslate() (CVS 1673)
FossilOrigin-Name: e2f7f182987fbfe8611ead8bd1f12b2e8b47f6dc
2004-06-23 00:23:49 +00:00
drh
22276bd773 Fix another uninitialized Mem.xDel problem. (CVS 1672)
FossilOrigin-Name: cb4e242e83ba111c5da1f9662fda5a890051e7b0
2004-06-22 22:54:22 +00:00
drh
1b743be858 Be careful to initialize the Mem.xDel field to zero for static Mems. (CVS 1671)
FossilOrigin-Name: e17ea666b1eb1df12a1d4d78bda2e025e2aa30bd
2004-06-22 22:04:46 +00:00
drh
7cf8c55add Make sure the result of a user-defined function uses the text encoding of
the database. (CVS 1670)

FossilOrigin-Name: d333ac8002feff9423e286369e5ae5a6bfe3be50
2004-06-22 17:59:55 +00:00
drh
c4d8d097dc Version 3.0.1 ALPHA (CVS 1669)
FossilOrigin-Name: ac6683e380f6199a980d587b2933c3cb0a4024f2
2004-06-22 14:59:40 +00:00
drh
fa9249dd98 Fix typos in web documentation. Tickets #770 and #771. (CVS 1668)
FossilOrigin-Name: 04673066ff6a7c127559ba448fe50a4d95a26347
2004-06-22 14:57:53 +00:00
drh
f1f7d25536 The download.tcl script used to generate download.html must run out of
the doc subdirectory of the build. (CVS 1667)

FossilOrigin-Name: 80c7b13ff39c88474587b1899505bac83a0b8812
2004-06-22 14:52:26 +00:00
drh
d8c8d5cec8 Update the changes.html webpage for version 3.0.1. (CVS 1666)
FossilOrigin-Name: d5d28e9822ba9177acfd72ebd87c293a4fac4784
2004-06-22 14:47:01 +00:00
drh
8eebadf133 Rename sqlite.dll to sqlite3.dll. (CVS 1665)
FossilOrigin-Name: a82cb4d30a1191322e61faedc9c48472d0686c98
2004-06-22 14:41:35 +00:00
drh
03601b8d57 Prepare for another ALPHA release. Version number 3.0.1. (CVS 1664)
FossilOrigin-Name: 6dd7b02537c20af2074ada70c3fd4294dd46742d
2004-06-22 14:41:00 +00:00
drh
d86596e0e2 Do not apply unary '-' to an unsigned "sizeof" result. (CVS 1663)
FossilOrigin-Name: 129c5d5e3af4a7eeeebf5e4cbe9f0da5c123a68b
2004-06-22 14:40:11 +00:00
danielk1977
e5b7a0e8ee Fix error introduced during merge of main.mk. (CVS 1662)
FossilOrigin-Name: eef6da38d5b1d84e8a1eb9fe88f0f568717ea323
2004-06-22 13:23:47 +00:00
drh
645f63ed02 Fix some segfaults that could have occurred after a malloc() failure. (CVS 1661)
FossilOrigin-Name: 80151e728101c3cd5a8cf36cca2bfa661b21c746
2004-06-22 13:22:40 +00:00
danielk1977
d1e3bee1a0 Add crash.test script. (CVS 1660)
FossilOrigin-Name: 64a6d805178af8947ccca19898c06979c226d92b
2004-06-22 13:12:51 +00:00
drh
241db313b4 Add comments to test1.c. (CVS 1659)
FossilOrigin-Name: be6bd6c99dde902aafd02d8a72f3d42826caabe8
2004-06-22 12:46:53 +00:00
drh
83f4707ab2 Add os_tst.c to the TESTSRC macro in main.mk. (CVS 1658)
FossilOrigin-Name: d0def160e5cf37cde771c2d9b18904a2a1f8c358
2004-06-22 12:30:19 +00:00
danielk1977
8a6c550d94 Improve the os_test.c module. (CVS 1657)
FossilOrigin-Name: ecdb93d3c92e34f7d85aa2fd703880669397b216
2004-06-22 12:18:32 +00:00
drh
efad99959b Patch around compilers that do not support "long long int". (CVS 1656)
FossilOrigin-Name: d98b1502e2947d24ab9f4a5d2e5b9a95dde92faf
2004-06-22 12:13:55 +00:00
danielk1977
e302663615 Add os_test.c. Not activated yet. (CVS 1655)
FossilOrigin-Name: d16b863849d1aa887fe403e25153b1e9df6b837e
2004-06-22 11:29:02 +00:00
dougcurrie
369340af3d configure fixes for cygwin (line endings in configure.ac) ticket #772 (CVS 1654)
FossilOrigin-Name: 819a5973d15bf619182e47abd9b9dca2a560d8ff
2004-06-21 21:49:57 +00:00
dougcurrie
001c0bdc28 configure fixes for cygwin (line endings in configure.ac) (CVS 1653)
FossilOrigin-Name: eec48814f470bc90c7a3ffd8a0f0e84af52abb26
2004-06-21 21:44:49 +00:00
dougcurrie
0f290bf7b8 configure and makefile updates for v3-alpha compiler macros (CVS 1652)
FossilOrigin-Name: 99f38932d6e777392e168493ebcf5559ecc994c7
2004-06-21 18:57:29 +00:00
drh
da71ce1623 Fix an uninitialized variable. The variable was harmless, but pedantic
error checking in MSVC raised an exception on it. (CVS 1651)

FossilOrigin-Name: afc398c2ca97ff165ea8242a5ffb8b6374b7fa8f
2004-06-21 18:14:45 +00:00
danielk1977
da95f8a67f Remove unused OP_UtfXX opcodes. (CVS 1650)
FossilOrigin-Name: 84d6354fce8332b2fb4365ee23b9c9b7c012db9f
2004-06-21 11:30:56 +00:00
danielk1977
e159fdf21c Avoid opening a temp table for aggregate queries with no GROUP BY clause. (CVS 1649)
FossilOrigin-Name: 4d02df63496091a1e643601f84313f42130d6282
2004-06-21 10:45:06 +00:00
danielk1977
72c952a1c4 Add the OP_Concat8 opcode, similar in concept to OP_String8. (CVS 1648)
FossilOrigin-Name: bbd3e93348bc3a1178f5278c6cf0b82e75bbf642
2004-06-21 09:06:41 +00:00
danielk1977
9e6db7d70f Ensure sqlite3ErrorMsg() is used to report errors during compilation,
sqlite3Error() during execution. Also remove unused param from
sqlite3VdbeReset() and Finalize(). (CVS 1647)

FossilOrigin-Name: 7a33daef5b49b1f2d89f27e0063372fe4f1702c8
2004-06-21 08:18:51 +00:00
danielk1977
00e279d9f7 Update sqlite3_column_decltype() to return NULL as the declartion type for
an expression that is not a column reference. (CVS 1646)

FossilOrigin-Name: ee9dffd986621490af7bd45c7fe070bb7da8c357
2004-06-21 07:36:32 +00:00
danielk1977
b28af71a22 Update sqlite3_changes() to match the documentation and add
sqlite3_total_changes(). (CVS 1645)

FossilOrigin-Name: ae2f4a0943854fedbbb6fab1dc3aaf972722ed95
2004-06-21 06:50:26 +00:00
dougcurrie
d664d9a2bb fix fulltest error by restoring unset (CVS 1644)
FossilOrigin-Name: d2ccac9d01994de09a195d71cb63d1bf9fb0d33f
2004-06-20 03:06:18 +00:00
drh
0e3d74761d Make sure VdbeFunc entries are initialized before trying to destroy them.
Also, unrelated comment changes in build.c. (CVS 1643)

FossilOrigin-Name: fc3b3a8fe86980db4de402bb8e85f8f739fc3883
2004-06-19 17:33:07 +00:00
drh
124b27e654 Omit the DB_Locked and DB_Cookie flags. Other minor cleanup. (CVS 1642)
FossilOrigin-Name: 01f74b420c3f24918c066172e09cebbb22568faf
2004-06-19 16:06:10 +00:00
drh
f92c7ff74a Clear up another zero-length array. This seems to fix the segfault in
func-13.4 too. (CVS 1641)

FossilOrigin-Name: 70680a34b4b617286d92730bd3042b8b569b3371
2004-06-19 15:40:23 +00:00
drh
998da3a287 Fix problems with the WatCom C compiler: Arrays must contain at least one
element.  sqlite3FreeX declared properly.  Don't allow run-time expression
(the SQLITE_UTF16NATIVE macro) in an array initializer. (CVS 1640)

FossilOrigin-Name: fbfc3c95a8abf25bb9e2b44cfeb7186c5b0591d7
2004-06-19 15:22:56 +00:00
drh
a99db3b6ac Omit the sqlite3VdbeCode() routine. Use sqlite3NameFromToken() more to
reduce the amount of code. (CVS 1639)

FossilOrigin-Name: 99d0436e0ee1c917b2b7bbf005f05288b535648a
2004-06-19 14:49:12 +00:00
drh
65d8439342 file spaceanal.tcl was initially added on branch version_2. (CVS 1638)
FossilOrigin-Name: 936e60d7b122079de23db301a55c6e8510c82e18
2004-06-19 11:57:39 +00:00
drh
7ec0191c42 Create sqlite3.def and move sqlite.def into the attic. (CVS 1635)
FossilOrigin-Name: a5c98a272ec30971a9aa9ba2a6e2dec1a4dd8c18
2004-06-19 11:39:01 +00:00
danielk1977
ec8450f6cb Remove the unused 'next_cookie' mechanism. (CVS 1634)
FossilOrigin-Name: c94a9759ca6346a8c32f388a7aa1f0f139d6abc2
2004-06-19 09:35:36 +00:00
danielk1977
92f9a1bbda Make sure ATTACH and DETACH fail if a transaction is active. (CVS 1633)
FossilOrigin-Name: c49d8bdc3e1172a283f7aaf208fbb9096acd5ab6
2004-06-19 09:08:16 +00:00
danielk1977
f9d64d2c30 Remove the iCollate argument from sqlite3_create_function() (CVS 1632)
FossilOrigin-Name: 728d57ff5517a51c3aad4ba95525b1aa2065bd19
2004-06-19 08:18:07 +00:00
danielk1977
96d81f99d4 Update sqlite3_close() API to match documentation. (CVS 1630)
FossilOrigin-Name: 61819740fe8916892afe502196bb8b75a51f81e8
2004-06-19 03:33:57 +00:00
drh
b7ce0c90a3 Update sqlite.def for version 3.0. (CVS 1629)
FossilOrigin-Name: 327780ade9ac99470018320218f39fbbc8f21837
2004-06-19 03:26:12 +00:00
danielk1977
d008cfe305 Fix for #764. When reloading the schema, load the temp schema last. (CVS 1628)
FossilOrigin-Name: 1f43219a7402af7255743466731dba2afb31d12b
2004-06-19 02:22:10 +00:00
dougcurrie
d3fc6d0e3b fix dependencies for testfixture in Makefile.in (CVS 1627)
FossilOrigin-Name: 26676538ee63311393b52c8479c324469bf71f65
2004-06-19 02:19:39 +00:00
drh
ef4ac8f9df Change the name of the TCL command from "sqlite" to "sqlite3" so that both
SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626)

FossilOrigin-Name: d705d051bed2b92b6c3bbcc75fe5b056633b9c31
2004-06-19 00:16:31 +00:00
dougcurrie
81c95efaf5 MinGW/MSYS build fixes; ticket #765 (CVS 1625)
FossilOrigin-Name: 5f383c1ee1a2aec9e192f29528ec2a02f2329d19
2004-06-18 23:21:47 +00:00
dougcurrie
f12f80f071 MinGW/MSYS build fixes; ticket #765 (CVS 1624)
FossilOrigin-Name: 3c6b9b41a682a7bb979acc1e269eea2384aa9d45
2004-06-18 23:20:53 +00:00
dougcurrie
6b29334cd2 MinGW/MSYS build fixes; ticket #765 (CVS 1623)
FossilOrigin-Name: 7121cee78c2ed20fd09190fdcca1c8c92ef1e09d
2004-06-18 23:19:19 +00:00
drh
bdb4383a90 Fix declaration problem in the previous check-in. (CVS 1622)
FossilOrigin-Name: f312057da4304857d16b344b784c84ce14e2ef69
2004-06-18 17:45:11 +00:00
drh
38f8271f81 Changes to allow libsqlite3.a and libsqlite.a to be both linked into the
same program at the same time. (CVS 1621)

FossilOrigin-Name: 2590fffcaa92adc619f7a927d2b5169d8dfef50a
2004-06-18 17:10:16 +00:00
drh
43d0578e04 Fix typos in documentation. Fix publish.sh so that it correctly builds the
ZIP archive of preprocesses source code. (CVS 1620)

FossilOrigin-Name: fee0c5e308c3de1937185e2060c8757e605ab3a2
2004-06-18 15:13:48 +00:00
drh
8107be2c7e Version 3.0.0 (ALPHA) (CVS 1619)
FossilOrigin-Name: 8b409aaae42cc36d96536531da41f05bd0cdd29c
2004-06-18 12:29:23 +00:00
danielk1977
f5628d7825 Fix typos in capi3.tcl (CVS 1618)
FossilOrigin-Name: 9e0e530f10bf70996471650496173dee074c2732
2004-06-18 11:34:09 +00:00
drh
829512baa0 Update the Makefile.in, version number, change log, etc for the 3.0.0
release. (CVS 1617)

FossilOrigin-Name: 917391e05ef45fd1eae883a99e6bbe6d7df3cc1c
2004-06-18 11:29:35 +00:00
danielk1977
8d81b86a2e Fix typos and minor errors in lang.tcl. (CVS 1616)
FossilOrigin-Name: 61db159c7d1d971266e487d44e3eb5bf6ac9a8e3
2004-06-18 11:25:21 +00:00
danielk1977
5314c4d7ab Fix a couple of gcc warnings. (CVS 1615)
FossilOrigin-Name: 960f55f3ecbef4581c8cb7be860023ba10de4e96
2004-06-18 06:02:35 +00:00
danielk1977
bfd6cce56b Optimisation for unicode encoding conversion routines. (CVS 1614)
FossilOrigin-Name: 39a415eaa65964742e40b7ea4d471fa04007c6c9
2004-06-18 04:24:54 +00:00
drh
a285422922 Documentation updates in preparation for the release of version 3.0.0. (CVS 1613)
FossilOrigin-Name: 9fb29f7331254b601b71f0fe7d77f91915272dc7
2004-06-17 19:04:17 +00:00
danielk1977
ededfd5e83 Remove redundant opcodes OP_MakeKey and OP_MakeIdxKey. (CVS 1612)
FossilOrigin-Name: a71a9ff114f2162696d8d37fbc87b315568f6dcb
2004-06-17 07:53:01 +00:00
danielk1977
f736b77160 Handle conflicting ON CONFLICT clauses in table definitions. (CVS 1611)
FossilOrigin-Name: 12e77e759ec5b45b7fb94aa815435127f395162e
2004-06-17 06:13:34 +00:00
danielk1977
3f6b087471 Use the faster LIKE function from sqlite v2. Add special user functions to
test builds to test the auxdata APIs. (CVS 1610)

FossilOrigin-Name: b9493c5facea4d24a6cbc4f6fa2f75dc2399a11d
2004-06-17 05:36:44 +00:00
danielk1977
d09b592f63 Remove the second definition of SQLITE_N_BTREE_META from test3.c. (CVS 1609)
FossilOrigin-Name: b1e66ae4640c2cd32d47c043b5c25ea67182098b
2004-06-17 00:01:21 +00:00
danielk1977
f7df9ccfe7 Trivial modifications to prevent compiler warnings. (CVS 1608)
FossilOrigin-Name: b3d5ad6f7832d46e34e99e4a1cb7e47c88f207a4
2004-06-16 12:02:47 +00:00
danielk1977
742f947b1d Trivial modifications to prevent compiler warnings. (CVS 1607)
FossilOrigin-Name: 7974c9a6f5ed86f02176376d99d909c43a4ae455
2004-06-16 12:02:43 +00:00
danielk1977
cfe9a69f90 Trivial modifications to prevent compiler warnings. (CVS 1606)
FossilOrigin-Name: 6001c5e1ced08096bb404e72ff533b7edcc896ec
2004-06-16 12:00:29 +00:00
danielk1977
8def5ea203 Fix handling of a failed malloc() in various places (CVS 1605)
FossilOrigin-Name: b739ef2a1b8f7cfee4ab3f4c1319c159bd1e2e40
2004-06-16 10:39:52 +00:00
danielk1977
5c4c77878d Fix handling of a failed malloc() in various places (CVS 1604)
FossilOrigin-Name: 7d8edce4c12d075acbc6bac6758aabb2769f983a
2004-06-16 10:39:23 +00:00
danielk1977
eac7a362f6 Fix two more memory leaks. (CVS 1603)
FossilOrigin-Name: 98b48704a1ce983677cdb269c24f7bca4ed606f7
2004-06-16 07:45:24 +00:00
drh
7b93ed3d48 Documentation updates and changes the publish.sh script. (CVS 1602)
FossilOrigin-Name: e9a77f8972128550f6ff98dcf854eb7680eaee8b
2004-06-16 03:02:00 +00:00
danielk1977
e00484002f Assorted memory leak fixes. (CVS 1600)
FossilOrigin-Name: 07b90f3690768e852384fbbde0ba59e69e24d1da
2004-06-15 16:51:01 +00:00
danielk1977
b20e56b451 Memory leak fixes for tests in file select1.test. (CVS 1599)
FossilOrigin-Name: 59db58ebd30cd7c79c32f5a725620e740eff661d
2004-06-15 13:36:30 +00:00
danielk1977
369f27eb51 Minor bugfixes and test case adjustments for version 2 test cases to work
with version 3. (CVS 1598)

FossilOrigin-Name: e21a181376d4115c7dbe614f3f8a1fbf82d77c75
2004-06-15 11:40:04 +00:00
danielk1977
fbcd585fe6 (1) Vdbe makes a copy of column types. (2) Don't invalidate other cursors
when a statement or transaction is rolled back. (3) Update capi2.test for
the new API. (CVS 1597)

FossilOrigin-Name: 4f5e2530829ef91753b083b5f2a1d7332e311cb6
2004-06-15 02:44:18 +00:00
drh
0c6cc4ed19 Update comments in btree.c. No changes to code. (CVS 1596)
FossilOrigin-Name: 1c6a0706359c21e3b04e9097837a297d1d7714c3
2004-06-15 02:13:26 +00:00
drh
1f5957167b Do not use the page containing locks for anything to avoid problems with
the manditory file locking on windows. (CVS 1595)

FossilOrigin-Name: 5a814202777f381caf5337b37e11c9ab8b8f554a
2004-06-15 01:40:29 +00:00
drh
bf9a7e4d4e Add the sqlite3OsFileModTime() interface. But it is still unused. The
change counter in page 1 is always incremented. (CVS 1594)

FossilOrigin-Name: 186c6f93e12978907c5f0ff81d90bdf7367b9274
2004-06-15 00:29:03 +00:00
danielk1977
2dd59365ed Update some old tests to use the new API. (CVS 1593)
FossilOrigin-Name: af6edd2c0ad160435acd5bfa7af36c4f394f0bb8
2004-06-14 23:46:47 +00:00
danielk1977
026d270ca6 Schema modifications are committed internally when a statement transaction
is committed. (CVS 1592)

FossilOrigin-Name: 4cfc5a36e9891a9b69209f94194fc492e203ab75
2004-06-14 13:14:59 +00:00
danielk1977
2ac79703b1 Fix a bug in the auth.test script. (CVS 1590)
FossilOrigin-Name: 1fa97dd81d349e448171a78f69e463e7fa364daa
2004-06-14 11:54:18 +00:00
danielk1977
f3ce83f5f6 Have the TCL 'errorcode' interface call sqlite3_errcode(). (CVS 1589)
FossilOrigin-Name: f4b4df6514c19b0c23b399142749a7e4a20d0f70
2004-06-14 11:43:46 +00:00
danielk1977
66b978a415 Don't invoke authorisation callback during database initialisation. (CVS 1588)
FossilOrigin-Name: 293fbf0aa5c221bc341d0d9afc73d459f427f940
2004-06-14 11:35:17 +00:00
danielk1977
3fe83ac7a1 Bugfix for previous checkin. (CVS 1587)
FossilOrigin-Name: 2737505f28e37627ed6091e356d005624e1f49fa
2004-06-14 09:41:17 +00:00
danielk1977
962398d395 Ensure master journal file is deleted when a transaction is committed. (CVS 1586)
FossilOrigin-Name: cb3cbe00be9a42e974688016a056053cedb55eef
2004-06-14 09:35:16 +00:00
danielk1977
f9d19a6b3f Check the value of the schema cookie before reading the sqlite_master table. (CVS 1585)
FossilOrigin-Name: 80c299f8839d920c61854f575498340b28db98d7
2004-06-14 08:26:35 +00:00
danielk1977
19bea40160 Change tests in pager.test to account for the extra cache hit in the code
that updates file change counter. (CVS 1584)

FossilOrigin-Name: 76ac9a787b42da3bfa94192b26ed48483b5ff189
2004-06-14 06:13:06 +00:00
danielk1977
5865e3d54f Ensure the master journal directory is synced. Also, change the master journal
format to store journal file names. (CVS 1583)

FossilOrigin-Name: 73cd0aabb24f7b663c8b55cf5e8fcb34fd48c032
2004-06-14 06:03:57 +00:00
danielk1977
aa5ccdf5b8 Update the file change counter just before each transaction is committed. (CVS 1582)
FossilOrigin-Name: 4649abcbfd032836b196b5d690ef66e4aa494c45
2004-06-14 05:10:42 +00:00
drh
59eb676017 os_win.c is now working with the new locking protocol. (CVS 1581)
FossilOrigin-Name: 77c5eaa10a9d2e2bb8f89b7434d6e6efbacf35e9
2004-06-13 23:07:04 +00:00
drh
eafe05b0ce More speed improvements. (CVS 1580)
FossilOrigin-Name: c5ebc1c05eccc2c0697b6047a504954e11960f73
2004-06-13 00:54:01 +00:00
drh
e1632b271d The VDBE aggregate functions use an in-memory btree instead of a disk-based
btree for improved performance. (CVS 1579)

FossilOrigin-Name: 8029f1e465b900215acdff48c8eefb53c71341a8
2004-06-12 20:42:29 +00:00
drh
4774b13029 Speed up in the handling of VDBE cursors. (CVS 1578)
FossilOrigin-Name: e42316f5708de6f639b7b54e08d4be73b45367e9
2004-06-12 20:12:51 +00:00
drh
e61cffc203 Improve the speed of OP_Column through better caching. (CVS 1577)
FossilOrigin-Name: f687977a28eda5ce0aa1cba2fdfb0152443032bc
2004-06-12 18:12:15 +00:00
drh
406c3f9284 Fix typo in the locking document. (CVS 1576)
FossilOrigin-Name: 99a7bd83ac38e14bb936a834634313cf98279a62
2004-06-12 14:11:38 +00:00
danielk1977
d8123366c4 (1) Modifications to the user-function interface and (2) Internal changes
to automatically created indices. (CVS 1575)

FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
2004-06-12 09:25:12 +00:00
drh
3cde3bb0da Bug fix in the unix locking code. (CVS 1574)
FossilOrigin-Name: dcad244f58453d23f2bcb749dcea077434bbd08c
2004-06-12 02:17:14 +00:00
danielk1977
2a764eb0cd Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573)
FossilOrigin-Name: 4f1cfca5ca703d0068cf8d6222dc8e0cfb7e24b6
2004-06-12 01:43:26 +00:00
danielk1977
dc8453fd7a Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
FossilOrigin-Name: 9b84f2f488e1d37ba1a4c4cf31490bcbba0f6edd
2004-06-12 00:42:34 +00:00
drh
31ef3b91f5 Fix typos in the new locking document. (CVS 1571)
FossilOrigin-Name: 022075517cc0edc5f21de4b92ef188bda2034c98
2004-06-11 22:04:31 +00:00
drh
52619dfb7f Documentation of the new pager locking mechanism. (CVS 1570)
FossilOrigin-Name: 13cf1ba8256bf8cee0195dbaeac71a20cd2c2fc2
2004-06-11 17:48:02 +00:00
danielk1977
ce2663ccc8 Have the vdbe aggregator use a btree table instead of a hash table. (CVS 1569)
FossilOrigin-Name: 8d56118f64dbaf8c8006266fa7026f900a4a16bd
2004-06-11 13:19:21 +00:00
danielk1977
dc1bdc4f9d Fix various collation sequence issues. (CVS 1568)
FossilOrigin-Name: 66835ee67051027456a536e33b2f88a741654525
2004-06-11 10:51:27 +00:00
drh
726de599bd Comment changes in pager.c. (CVS 1567)
FossilOrigin-Name: 0e420f72cd5885e32914b4d958bad811fdd9fb77
2004-06-10 23:35:50 +00:00
drh
ef5ecb4126 Add new contributed logo TIFF. (CVS 1566)
FossilOrigin-Name: 86744c9aca8f27c994a2bf37c4f9fd3c90b1266f
2004-06-10 22:51:42 +00:00
danielk1977
4e6af1347c Correctly handle the situation where a collation sequence is available, but
not in the preferred encoding. (CVS 1565)

FossilOrigin-Name: 49ab4794e1b5be5cbb3b87a65477659762487cf8
2004-06-10 14:01:08 +00:00
danielk1977
caec4e7a59 Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1564)

FossilOrigin-Name: 67500546ea24fd7a30348960c98cd257dbfa965f
2004-06-10 10:51:52 +00:00
danielk1977
d2b65b9fad Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1563)

FossilOrigin-Name: 518d82d3b1ab996d675f45c94d740c98578a04a6
2004-06-10 10:51:47 +00:00
danielk1977
7cedc8d4d6 Add the sqlite3_collation_needed() API and fix some error handling cases
involving unknown collation sequences. (CVS 1562)

FossilOrigin-Name: edf069b9f4044ed2a80962c7722052bf1b80bf45
2004-06-10 10:50:08 +00:00
danielk1977
0de0bb3360 Misc fixes for test cases failing due to the new locking model. (CVS 1561)
FossilOrigin-Name: 71e98d0d089576433c4b06dcba1c57063bd366f5
2004-06-10 05:59:24 +00:00
danielk1977
a3f3a5f3d2 When in PAGER_RESERVED state, don't write to the main file when rolling
back a statement transaction. (CVS 1560)

FossilOrigin-Name: adb2bd61436927d37b23bae857089d62e12397af
2004-06-10 04:32:16 +00:00
danielk1977
466be56bcf Change the collation sequence interface to allow collation sequences that
use UTF-16 in non-native byte order to be registered. (CVS 1559)

FossilOrigin-Name: b8aaa3a29e0ddef357ab1b3b0b9f87ed390f2f36
2004-06-10 02:16:01 +00:00
drh
35d4c2f4b8 Add the vdbe_listing and sql_trace pragmas used for debugging. (CVS 1558)
FossilOrigin-Name: 28c3cc088018833f507535b8d227232776cff204
2004-06-10 01:30:59 +00:00
drh
a60accbdb2 Tests in lock.test no conform to the new locking scheme. (CVS 1557)
FossilOrigin-Name: a60afd04c5296020e5e72c4d35063fd1e6f90e9e
2004-06-10 01:08:06 +00:00
drh
427eab53e1 Fix a buffer overrun in the atomic multifile commit logic of the pager. (CVS 1556)
FossilOrigin-Name: 3b78ffe0b5dfa20e5c638d85ed400afda8a9f948
2004-06-10 00:51:43 +00:00
drh
a6ecd33851 Check for schema updates if the parser fails to find a table. More locking
test updates. (CVS 1555)

FossilOrigin-Name: a22283512afe2df09d5783d189fbd7389ed313ad
2004-06-10 00:29:09 +00:00
drh
f8646695a2 Website changes for version 2.8.14. (CVS 1553)
FossilOrigin-Name: 73afa14a04e8aa22de71aac7d08abc0ec68dc327
2004-06-09 23:15:22 +00:00
drh
ff13c7d6a3 If a commit fails due to lock contention right after the COMMIT command, take
the database back out of autocommit mode.  Do not rollback.  This gives the
user the chance to try the COMMIT again. (CVS 1551)

FossilOrigin-Name: 39b4ba95c4a16b28b5e8c7a3331e09cb5796e258
2004-06-09 21:01:11 +00:00
drh
c9e0686ead Turn on the atomic multifile commit logic. It does not work right yet, but
it has at least stopped failing asserts. (CVS 1550)

FossilOrigin-Name: 3674b25edc37145b2b1275dd20580015ace66aa7
2004-06-09 20:03:08 +00:00
drh
ae2b40c47d Remove legacy journal formats. (CVS 1549)
FossilOrigin-Name: a12bef4a0877fb1dca531509a1186e092727b6d8
2004-06-09 19:03:54 +00:00
drh
a6abd04193 Fixes to the file locking. 109 tests are now failing. (CVS 1548)
FossilOrigin-Name: dc0763455bbf54c1d8728e16033709caedd6e1c6
2004-06-09 17:37:22 +00:00
drh
89ac8c1a70 Add the "lock_status" pragma - only available when SQLITE_DEBUG is defined.
Used for testing only. (CVS 1547)

FossilOrigin-Name: 0ecbba78fcde8f7715cd74c674b5040ef4953f6e
2004-06-09 14:17:20 +00:00
drh
faa57acc9f Change the MEMORY_DEBUG macro to SQLITE_DEBUG. (CVS 1546)
FossilOrigin-Name: 428b685b7174ef4589176def1028ad1c9461ff7e
2004-06-09 14:01:51 +00:00
danielk1977
c039139807 Fix error reporting when trying to attach a database with a foriegn text
encoding. (CVS 1545)

FossilOrigin-Name: beab038c71eecbabb1351b0c98a71f32ea013285
2004-06-09 12:30:04 +00:00
danielk1977
0202b29ef7 Some progress on user-defined collation sequences. (CVS 1544)
FossilOrigin-Name: c634e71f1909819fb55c728bc410e5cc390428e3
2004-06-09 09:55:16 +00:00
drh
80242055e5 Start all transactions and verify all schema cookies near the beginning of
of each vdbe program. (CVS 1543)

FossilOrigin-Name: 1086196460e261718e78512d77e25dde021a117d
2004-06-09 00:48:12 +00:00
drh
b3e043463d Do not require a RESERVED lock when transitioning from SHARED to EXCLUSIVE. (CVS 1542)
FossilOrigin-Name: 4dfdea7373f3471d17498da3d6c3aaf926a72d4b
2004-06-08 00:47:47 +00:00
danielk1977
3f41e976e8 Enhance the built-in function quote() to support blob values. (CVS 1541)
FossilOrigin-Name: 97aa54bb70715934e0af082d51b9b0f6bb847e8e
2004-06-08 00:39:01 +00:00
danielk1977
4f057f904a Remove the third argument from the sqlite3_open() API. (CVS 1540)
FossilOrigin-Name: 62e31f396cb6b49f542977e2fade78e11e371132
2004-06-08 00:02:33 +00:00
drh
2ac3ee9787 More work on windows locking. Fix some problems with unix locking. There
is still an assertion failure on windows locking in attach2.test. (CVS 1539)

FossilOrigin-Name: 0c2d169cf3c0f36972015c952a2b46cb9a333881
2004-06-07 16:27:46 +00:00
danielk1977
517eb64616 Tables created with the CREATE TABLE <tbl> AS SELECT ... syntax now inherit
column declaration types from the SELECT statement. (CVS 1538)

FossilOrigin-Name: 31c1668dbc2b84438a5b78b0270f58b37b03791d
2004-06-07 10:00:31 +00:00
danielk1977
8e227875dd Add pragma to set/get text encoding. Also fix an obscure problem where a
temp trigger could be accidently dropped. (CVS 1537)

FossilOrigin-Name: 983221b038813c5a7892564896e39597c223c4c3
2004-06-07 07:52:17 +00:00