danielk1977
4273deaec1
When updating a view, invoke the authorization callback for reading the view before setting the authorization-context to the view name. (CVS 3264)
...
FossilOrigin-Name: 48d297c561b8d3d670ab425115ef50d1901523b6
2006-06-17 06:31:18 +00:00
danielk1977
2867fef244
Fixes for UPDATE statements on virtual tables. (CVS 3263)
...
FossilOrigin-Name: 81c5a5b48b05186a1690198092ac92006d9f7020
2006-06-17 03:27:21 +00:00
drh
9c41938ff8
Rework the way UPDATE works for virtual tables. (CVS 3262)
...
FossilOrigin-Name: 2119e7bf5577350e4e1236ea729568085620a826
2006-06-16 21:13:21 +00:00
danielk1977
f1a381e7fc
Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260)
...
FossilOrigin-Name: 9497c66e5533ec143d0efda4a419e4bdf922ae8c
2006-06-16 08:01:02 +00:00
danielk1977
1f6eec547c
Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259)
...
FossilOrigin-Name: afa39a46320e9996a5478ea6e19eb4c2014327ac
2006-06-16 06:17:47 +00:00
danielk1977
176f4d23c1
Add tests (and modify test code) for writing to virtual tables. (CVS 3253)
...
FossilOrigin-Name: 6380a9b118cf972c3c7d4886ecdb62c44f2208ca
2006-06-15 10:41:15 +00:00
danielk1977
c7d5410126
Simple tests and fixes for writing to virtual tables. (CVS 3252)
...
FossilOrigin-Name: 88fa510e4c684513bbb59031d034fdb5c51a6a15
2006-06-15 07:29:00 +00:00
drh
1a90e099f4
Bug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249)
...
FossilOrigin-Name: c996185a9e0671e46bed06e5803b1ca3b42d61e2
2006-06-14 22:07:10 +00:00
danielk1977
69e777f330
Add some tests for sqlite3_load_extension(). (CVS 3239)
...
FossilOrigin-Name: 402a77c43d4e4dcd2e1197cfaaa2ed51249a1b8f
2006-06-14 10:38:02 +00:00
danielk1977
619a3693a2
Add tests for the new MATCH operator. (CVS 3238)
...
FossilOrigin-Name: b4024c394d25e5a0abdb07be779ae41581834c42
2006-06-14 08:48:25 +00:00
danielk1977
47d0809401
Add a test case for ORDER BY using the echo module. (CVS 3237)
...
FossilOrigin-Name: f459f034f659a4c418aa1bc72135cc93d04565df
2006-06-14 07:41:31 +00:00
danielk1977
a4e763671d
Add tests for error conditions surrounding the creation/connection of virtual tables. (CVS 3235)
...
FossilOrigin-Name: 5e592c422b86deb5802c6536e91661717ee9bbe1
2006-06-14 06:31:28 +00:00
drh
4be8b51ee1
The echo module test is now running. Added the tclvar module test but have
...
not yet done anything with it. (CVS 3234)
FossilOrigin-Name: 29199eeea4c46168ccaa7535d4941bd740479dee
2006-06-13 23:51:34 +00:00
drh
7f3759015a
The optimizer recognizes MATCH operators and allows virtual-tables to make
...
use of them. (CVS 3232)
FossilOrigin-Name: 136bed496b89943522310ec511199b78198d0844
2006-06-13 17:38:59 +00:00
danielk1977
be8a7835ea
Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228)
...
FossilOrigin-Name: 7a3e97f76b1f4f97a04f7c5a9daa400402b2ff25
2006-06-13 15:00:54 +00:00
danielk1977
5fac9f86eb
Add simple tests for the xFilter and xBestIndex methods. (CVS 3227)
...
FossilOrigin-Name: 0f4657ea69314e49bc7c9faf9a653ef072f5082d
2006-06-13 14:16:58 +00:00
danielk1977
b7a7b9a3b9
Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223)
...
FossilOrigin-Name: 1f20e1832b38c76d2b0dde5fd720670c2ad0438b
2006-06-13 10:24:42 +00:00
danielk1977
7dabaa126a
Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory in the Destroy() method of the echo module. (CVS 3221)
...
FossilOrigin-Name: f9ea9704755eee3fd29af7a47be1d41620be8835
2006-06-13 04:11:43 +00:00
danielk1977
9e39ce87cf
Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218)
...
FossilOrigin-Name: f0c7c8d12c04376e48c6d53a29cfae3fa13b52cf
2006-06-12 16:01:21 +00:00
drh
a75803d968
Fixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216)
...
FossilOrigin-Name: 54b30fe1bdf0c9e690e12f07dcce4382e863bf02
2006-06-12 12:50:23 +00:00
danielk1977
fe3fcbe20c
Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214)
...
FossilOrigin-Name: b63dbc794795533f0bfd2d8e25633e6e3dea3ebd
2006-06-12 12:08:45 +00:00
danielk1977
7e6ebfb246
Add first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213)
...
FossilOrigin-Name: bbeb93b5bb26ba83ee7b7ae439ca5ceebebac9a0
2006-06-12 11:24:37 +00:00
danielk1977
78efaba10e
Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212)
...
FossilOrigin-Name: 8ffbab79d5a76dea0f87cf551d5b6ad4f0fab337
2006-06-12 06:09:17 +00:00
drh
b9bb7c187e
Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211)
...
FossilOrigin-Name: 898ec36b4102aaa03979f8f5c510936e57e2ae48
2006-06-11 23:41:55 +00:00
drh
df26fd5edd
In joins of the form "A left B, C" make sure they are not transformed into
...
"A left C, B". Ticket #1830 . See also #1652 . (CVS 3203)
FossilOrigin-Name: 2baa983653796e16d36739e37b0be1672bf59a92
2006-06-06 11:45:54 +00:00
drh
2871bd0cab
Fix a windows portability problem in trans.test. (CVS 3201)
...
FossilOrigin-Name: f2538dfdb608b7f849bfc5fac0ec9d0d8dece4c7
2006-06-04 23:20:10 +00:00
drh
f8888bb22a
Allow SQL statements to be executed from within a progress callback.
...
Be warned, however, that the progress callback might be called
recursively in this case. It is up to the program to disable the
progress callback to prevent recursive invocations.
Ticket #1827 . (CVS 3193)
FossilOrigin-Name: ffc4730c05ea64b8c32f64b323db9b96b26bcb88
2006-05-26 19:57:19 +00:00
drh
86dac2b6be
Syntax errors override errors from the code generator, not the other
...
way around. (CVS 3192)
FossilOrigin-Name: 5031ffc665782e7b300c498fb8be168443505add
2006-05-25 12:17:31 +00:00
drh
ea063f5bb1
Handle NULL database names in ATTACH and DETACH as if they were empty
...
strings. Ticket #1825 . (CVS 3191)
FossilOrigin-Name: 79a818bb05bc95c4c83375a679955dd18659b2b8
2006-05-25 11:52:37 +00:00
drh
f012ea3b00
When opening a new connection on a shared cache, be careful not to
...
overwrite the encoding flag on the shared cache. Ticket #1824 . (CVS 3190)
FossilOrigin-Name: c8e5ceedee087098c04e3b6b8b82710de0563e77
2006-05-24 12:43:26 +00:00
drh
9c0cb0e893
Additional tests for ticket #1821 . (CVS 3189)
...
FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b
2006-05-23 23:25:09 +00:00
drh
8159a35f46
Fix type coercion rules for the IN operator. Ticket #1821 . (CVS 3188)
...
FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10
2006-05-23 23:22:29 +00:00
drh
ffe0f8901e
Correctly handle multi-column indices where multiple columns are constrained
...
by IN operators with subqueries on the right-hand side. Ticket #1807 . (CVS 3184)
FossilOrigin-Name: b16541ba5e6a9514f9f317888117c68b6818f9cb
2006-05-11 13:26:25 +00:00
drh
605ad8fb69
Faster :memory: database COMMITs. Ticket #1790 . (CVS 3178)
...
FossilOrigin-Name: 8f820e435272c0a4861421508c7e6f2979c2750f
2006-05-03 23:34:05 +00:00
drh
f42bacc2f1
Get LIMIT 0 working on subqueries. Ticket #1784 . (CVS 3177)
...
FossilOrigin-Name: 7f3ef7ddba22d69a23e656836ba76738c9652b4d
2006-04-26 17:39:34 +00:00
drh
18e87cff0a
Allow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768 . (CVS 3173)
...
FossilOrigin-Name: d83e0230c0c4909cb035e266beffc0967526d9c1
2006-04-11 14:16:21 +00:00
drh
a06ab2ca23
Follow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after
...
a memory allocation failure. It is not sufficent to return an "out of memory"
error message. The return code needs to be SQLITE_NOMEM. (CVS 3172)
FossilOrigin-Name: 9d95750e8556aef20a637a815652d547ed2f887c
2006-04-10 13:37:47 +00:00
drh
30bcf5dbaf
Return the correct declared column type, origin column name, origin database
...
name, etc. from aggregate queries. Ticket #1726 and #1755 . (CVS 3169)
FossilOrigin-Name: e64809f0ae98ce9d152cf030cae72bf3df3e2403
2006-04-07 13:50:37 +00:00
drh
6103fe972e
Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH
...
even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164)
FossilOrigin-Name: 3538a4e30fb5131b461bb0cf72cada63e9724e14
2006-04-05 11:57:37 +00:00
drh
e4df0e7497
Properly record the names of triggers even if the name is quoted.
...
Ticket #1737 . (CVS 3158)
FossilOrigin-Name: 4ba280ddd66d5cbf617263d6300b7582f65d47a9
2006-03-29 00:24:06 +00:00
drh
923782530b
SQLite now always chooses the column names for compound selects using
...
the left-most select. This makes SQLite work like other SQL database,
but it also is a change from historical behavior and may break some
scripts. Ticket #1721 . (CVS 3153)
FossilOrigin-Name: 80cda9f7ce83f2de6cd2fdaf6150bbc35b670fee
2006-03-26 01:21:22 +00:00
drh
6205d4a47b
Make sure the rootpage values in the symbol table are correctly updated
...
when dropping tables and indices in autocommit mode. Ticket #1728 . (CVS 3150)
FossilOrigin-Name: 1c582dd11304f4421da2fa451f52b313b541270e
2006-03-24 03:36:26 +00:00
drh
5229ae4df5
Get autovacuum and in-memory databases working together. Ticket #1727 . (CVS 3148)
...
FossilOrigin-Name: 21446df6420df00468867f1131c28604a1ae91a3
2006-03-23 23:29:04 +00:00
drh
05a8298338
Increase test coverage to above 98%. (CVS 3144)
...
FossilOrigin-Name: 8ae6ccc715b081cd422e847cd9e5cc22b04d8512
2006-03-19 13:00:25 +00:00
drh
aa01c7e2cd
Fix CHECK constraints to use alternative conflict resolution. Ticket #1717 . (CVS 3137)
...
FossilOrigin-Name: c0d20fa97f94313e6b7ee5b4baa236ef5b664d76
2006-03-15 16:26:10 +00:00
drh
afed086386
Set and clear the full_column_name flag using direct invocation rather than
...
the execsql tcl command so that the select1 test works with the serialized
statement extension. (CVS 3136)
FossilOrigin-Name: 4d70013a6a42a58bc7af3a87bf79c131a0070e96
2006-03-14 13:10:42 +00:00
drh
643054c18b
Correct names returned from a query against a view. Ticket #1709 , #1688 , #1711 . (CVS 3128)
...
FossilOrigin-Name: 36830fafa405c9eae4795045efc6843394c67555
2006-03-09 17:28:12 +00:00
drh
43617e9ab9
Code changes resulting from Coverity analysis.
...
http://scan.coverity.com/ Found 1 potential segfault in sqlite3_mprintf().
Also 2 failures to fclose() following a malloc() failure. And lots of
cases where unnecessary conditionals could be removed from the code. (CVS 3126)
FossilOrigin-Name: e510e6dd9d6261f33b853af3b32d155b9d6b63b3
2006-03-06 20:55:46 +00:00
drh
bfa8b1020b
The table_info pragma shows column affinity as "" if there is no column
...
affinity. Ticket #1570 . (CVS 3122)
FossilOrigin-Name: 5cae8d63d9c83f481bd2fbbcfed69df631062651
2006-03-03 21:20:16 +00:00
drh
57bacb2282
Ignore leading spaces on text to numeric conversions. Ticket #1662 .
...
Fixes to test cases broken by the recent changes to round(). (CVS 3118)
FossilOrigin-Name: cdca3383c54b33aeafbbdbbb4ae7c90796cf66e5
2006-03-03 19:12:29 +00:00
drh
41714d6f83
Allow WHERE clause terms on the left table of a LEFT OUTER JOIN to
...
contain aggregate subqueries. Ticket #1697 . (CVS 3117)
FossilOrigin-Name: a286e54e26f9a364127649eeea160d5fa8928faf
2006-03-02 04:44:23 +00:00
drh
d589a92a26
Change the ROUND() function to return a REAL value instead of TEXT.
...
Ticket #1699 . (CVS 3116)
FossilOrigin-Name: 9dbadfb2111f7d7f971e1832db3992ed5851d8b1
2006-03-02 03:02:48 +00:00
drh
3e450ec254
Add a test to make sure parser stack overflow is detected and reported. (CVS 3114)
...
FossilOrigin-Name: 201ab3b5238c4afeb9a9f254f9ed3632b106066d
2006-02-27 23:19:20 +00:00
drh
187e4c6ac9
The parser now permits very large triggers - triggers with 10000 or more
...
statements. (CVS 3113)
FossilOrigin-Name: b4fa96d0e92182cd8792e88b4540b95912bb9f95
2006-02-27 22:22:27 +00:00
drh
52fc849a3c
Detect integer overflow in the abs() function. The random() function
...
now provides 64 bits of randomness instead of just 32. Fix bugs in
testing logic of test4.c. (CVS 3108)
FossilOrigin-Name: 942c509595a2a300e798e6b048ad7fc3bc54af43
2006-02-23 21:43:55 +00:00
drh
e134ff1ea8
Always generate code, even if it is a no-op, for CREATE and DROP statements
...
that use the IF EXISTS or IF NOT EXISTS clause. (CVS 3106)
FossilOrigin-Name: f8173e6aea8e90f64f5907f3f7ff4f34281f40da
2006-02-18 16:36:45 +00:00
danielk1977
ddfb2f036a
Ensure temp db is open before executing a pragma like "temp.cachesize = xxx". Fix for #1682 . (CVS 3104)
...
FossilOrigin-Name: 1e4644b2369547da65fcaa9a3c8ddd206a3c82ae
2006-02-17 12:25:14 +00:00
drh
7d9bd4e19e
Or the SQLITE_UTF16_ALIGNED with the encoding field in
...
sqlite3_create_collation and UTF16 strings will always be aligned
on an even byte boundary when passed into the comparison function. (CVS 3103)
FossilOrigin-Name: 7a1701e8c562087d364dff28cd7cad7ca4cdb5ae
2006-02-16 18:16:36 +00:00
danielk1977
2d9fcaa61c
Account for a malloc failure in the asynchronous writer thread in test_async.c (CVS 3096)
...
FossilOrigin-Name: 2f2a8a69cb380dc30b85a792c369020fec3c79a5
2006-02-14 14:02:08 +00:00
danielk1977
bf623f25cd
Fix bug in test_async.c version of OsFileSize(). (CVS 3095)
...
FossilOrigin-Name: 239e53b4f29b4faf2dbdc2aebd2332ad25b14286
2006-02-14 13:48:33 +00:00
danielk1977
be29bfc0b5
Add simple io error tests for test_async.c. (CVS 3094)
...
FossilOrigin-Name: 528dfb71801bb7b8a66944db6f32cc3dc0054118
2006-02-14 13:25:43 +00:00
danielk1977
750b03e543
Changes so that test_async.c works with memory management turned on. (CVS 3093)
...
FossilOrigin-Name: f4150c29df2774b4422d4296d913cdbcee62c859
2006-02-14 10:48:39 +00:00
drh
4eb9a9792a
Disable the /./ and /../ collapser logic in sqlite3OsFullPathname under Unix. (CVS 3092)
...
FossilOrigin-Name: 111a426b3e2fae77c9e6c3cd903fd80652b23720
2006-02-13 18:42:21 +00:00
drh
97bbdc0aa2
Fix a bug in the handling of sqlite3OsTruncate by the test_async.c demo.
...
Added trans.test to the suite of tests for asychronous I/O. (CVS 3091)
FossilOrigin-Name: 5b16c43542194d6c736bf7aadaaa7f31ff12af31
2006-02-13 18:35:06 +00:00
drh
8c08e86187
I give up. SUM() now throws an error on integer overflow. Those of us
...
who think this is goofy can use TOTAL() instead.
Tickets #1664 , #1669 , #1670 , #1674 . (CVS 3084)
FossilOrigin-Name: 1c3e6002cd9fd5d30e197448c4d98cdd59163cac
2006-02-11 17:34:00 +00:00
drh
ac530b1ab4
Add support and documentation for the fullfsync pragma. Also include
...
some other unrelated documentation updates. (CVS 3080)
FossilOrigin-Name: f2069d0bf3161591535e68b7389792e9cb7fe043
2006-02-11 01:25:50 +00:00
danielk1977
12f5e2018d
Minor test file modifications for builds compiled with OMIT options. (CVS 3077)
...
FossilOrigin-Name: c468aa349db4e6571711bf94781b88aa3c811d03
2006-02-10 13:33:30 +00:00
danielk1977
ff293cad83
Add trivial tests to increase coverage of sqlite3_table_column_metadata(). (CVS 3074)
...
FossilOrigin-Name: 424ce5ecd0aa9860afb73180e4d09987f3a9300a
2006-02-10 12:48:55 +00:00
danielk1977
266664ddef
Work around the case where the pending-byte page is also a a pointer-map page. Ticket #1667 . (CVS 3073)
...
FossilOrigin-Name: 5ea87fbbe09279e70d3a22b8cd9994befffeac53
2006-02-10 08:24:21 +00:00
danielk1977
1787ccabed
Fix the origin APIs so that they correctly handle views and subqueries that cannot be flattened. (CVS 3072)
...
FossilOrigin-Name: 5e8611e13de08d704cea6c9c4466c3af842a7a1a
2006-02-10 07:07:14 +00:00
danielk1977
4b1ae99d01
Add a symbol P3_TRANSIENT to pass to VdbeSetColName() to make it copy the string parameter up to the first 0 byte. (CVS 3070)
...
FossilOrigin-Name: 6ebb8f9bb2f6a3f7fde19267727aa4e2d878a416
2006-02-10 03:06:10 +00:00
danielk1977
955de52c9c
Add the column_origin_name() etc. APIs. (CVS 3069)
...
FossilOrigin-Name: 82f502cdc1fead3bf7e3190d5c9db3aee6919ed4
2006-02-10 02:27:42 +00:00
drh
0b2a5eeae9
Allow '@' to introduce host parameter names for compatibility with
...
MS SQL Server. Ticket #1671 . (CVS 3067)
FossilOrigin-Name: 0738ef818d4023a5159b6bee0a65f0b83d01c1d5
2006-02-09 22:24:41 +00:00
drh
29d7210819
SUM never gives an error. An integer result is returned for exact results
...
and a floating point result is returned for approximate results.
Tickets #1664 , #1669 , and #1670 . (CVS 3066)
FossilOrigin-Name: 9e04f8fdf1ec0dc36effb55c05d075b3b4777fef
2006-02-09 22:13:41 +00:00
drh
76c730c18f
Integer overflow in SUM causes an exception. Ticket #1669 . (CVS 3064)
...
FossilOrigin-Name: c72b946198128cbceb12dffbdf4706d9fda0fd72
2006-02-09 17:47:42 +00:00
drh
9f6696ac9f
Back out check-in (3058) - it breaks too much application code. (CVS 3063)
...
FossilOrigin-Name: 731f1e3245fafbda24355d5bdc5b249c4229305f
2006-02-09 16:52:23 +00:00
danielk1977
deb802cd83
Add the sqlite3_table_column_meta() API. (CVS 3062)
...
FossilOrigin-Name: 1ac72f68c0e9fd63decc97c166f49b405a9d323c
2006-02-09 13:43:28 +00:00
drh
fc6ad39cf8
Avoid overflowing the 48-bit mantissa of a floating point number when
...
summing large integers in the SUM() function. Ticket #1664 . (CVS 3061)
FossilOrigin-Name: a9169e879de5d5e4192d1681bc3e119fb83e739c
2006-02-09 13:38:19 +00:00
drh
ff22e18b3c
Correctly handle COLLATE clauses in tables being modified by an
...
ALTER TABLE ADD COLUMN command. Ticket #1665 . (CVS 3060)
FossilOrigin-Name: baef2f66be164910881278ea527d2be75ac2e944
2006-02-09 02:56:02 +00:00
drh
f7eece6cd9
Add "autoinc" and "collseq" columns to the table_info() pragma. (CVS 3058)
...
FossilOrigin-Name: 7940a590abb4262c17922fb2dae1d9688279b2ef
2006-02-06 21:34:27 +00:00
drh
fb8de2dc07
Detect circularly defined views and issue an error message. Ticket #1658 . (CVS 3055)
...
FossilOrigin-Name: f5341529d0cdbd63ce4c33606858158b6093969a
2006-02-05 18:55:20 +00:00
drh
570b935c2a
In joins of the form: "A, B left C" make sure that the reordering optimization
...
does not put table A after table C. Ticket #1652 . (CVS 3052)
FossilOrigin-Name: 248b9be93d9532e31c640432b75c3310e180acb3
2006-02-01 02:45:02 +00:00
drh
7aae9943f5
Fix an problem in the test scripts that was show false failures under
...
windows. (CVS 3044)
FossilOrigin-Name: 0cf4e3c6e767cab7e145c50f1fa7097844ad5abc
2006-01-31 15:19:45 +00:00
drh
81f2ccdce9
Authorization callback on the ALTER TABLE ADD COLUMN command.
...
Ticket #1479 . (CVS 3043)
FossilOrigin-Name: 461f586973431438bb074aa3077f705e9b1b80da
2006-01-31 14:28:44 +00:00
drh
3caf58ea65
Memory DB works with autovacuum. (CVS 3041)
...
FossilOrigin-Name: 34dff874a2bf8331be87310809ba11d813fadb7d
2006-01-30 22:48:44 +00:00
drh
9051a420d6
Make sure the 3rd parameter to sqlite3_prepare() is honored. Ticket #1650 . (CVS 3040)
...
FossilOrigin-Name: 9d53cc880fd2aa3bd4b4a59f666b57b0b7864e8f
2006-01-30 22:35:43 +00:00
danielk1977
8f238103ed
Add a couple of extra test cases for #1644 . (CVS 3037)
...
FossilOrigin-Name: e10d229ff21ac884dda24f0ff936aaeb36ff9a3f
2006-01-30 15:41:53 +00:00
drh
fd426c6611
Expire all prepared statements whenever there is a change to the schema
...
of the TEMP database. Ticket #1644 . (CVS 3036)
FossilOrigin-Name: 4cd4efaf5ef40a07e76fba3073bbd2600ca7e327
2006-01-30 15:34:22 +00:00
drh
afa5f68091
Fix bug with CHECK constraints contain an IN operator. Ticket #1645 . (CVS 3035)
...
FossilOrigin-Name: 944df310ce8d32798135c70becee7845676520ae
2006-01-30 14:36:59 +00:00
danielk1977
9dfa60bf8c
Add omittest.tcl script to automate testing compile-time OMIT symbols. (CVS 3031)
...
FossilOrigin-Name: 540d28a7d355d846cedfc21fb5156379fec830ce
2006-01-26 13:11:36 +00:00
danielk1977
8d34dfd656
Handle errors in saving cursor positions during a rollback by aborting all active statements. (CVS 3027)
...
FossilOrigin-Name: 5df9f022bfb22976f22b996bda169635354b825c
2006-01-24 16:37:57 +00:00
danielk1977
2b8c13e7a7
Save the position of any open cursors before a rollback. (CVS 3026)
...
FossilOrigin-Name: 32d45bcf746e7e926b8cc8bd038d66e7c2ec6562
2006-01-24 14:21:24 +00:00
danielk1977
f2fa8310f9
Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025)
...
FossilOrigin-Name: c30705a00d7d9d61fb9cb47a1019b1a186d690a7
2006-01-24 13:09:33 +00:00
danielk1977
7246f5b9cb
Coverage improvements for main.c. (CVS 3023)
...
FossilOrigin-Name: 50964ef9b0159bfdcd7eae88b0806957cab184dc
2006-01-24 11:30:27 +00:00
danielk1977
161fb79619
General test coverage improvements. (CVS 3022)
...
FossilOrigin-Name: 153940af5af4f775fa3b1784931d3fd1e41764c5
2006-01-24 10:58:21 +00:00
drh
80d56827fe
More test script changes to get it to run without -DSQLITE_MEMDEBUG. (CVS 3018)
...
FossilOrigin-Name: 0ede5e496bc779e96f05602bebadd10f8a208d48
2006-01-24 00:15:15 +00:00
drh
7b3822b36b
Disable shared-cache OOM tests if not compiled with -DSQLITE_MEMDEBUG. (CVS 3016)
...
FossilOrigin-Name: 2d896667e460dcdaf83d18bd03050e917d54edc7
2006-01-23 23:49:34 +00:00
drh
c693e9e693
Fix the shared pager tests so that they work under windows. (CVS 3013)
...
FossilOrigin-Name: 4a1a9f3e9df6588bcd4da13456790fbbc58f66de
2006-01-23 21:38:03 +00:00
drh
1b91c729b5
Progress toward getting SQLITE_OMIT_FLOATING_POINT to pass all tests.
...
Ticket #1621 (CVS 3012)
FossilOrigin-Name: c4c90965c98c591f601cd69c70351c20ba37218a
2006-01-23 21:37:32 +00:00
drh
a86a5b6c7e
Bug fix in cases where a compound select has an ORDER BY clause with
...
multiple terms. (CVS 3011)
FossilOrigin-Name: 4f56949bd69fed6167fa2ae115d0251e8369d796
2006-01-23 18:42:21 +00:00
drh
be1f84c021
Get I/O error tests working on windows. (CVS 3007)
...
FossilOrigin-Name: 2ef8b85db7607eb0989c5ecf49cc554fa13d894f
2006-01-23 16:25:22 +00:00
drh
0acb23dcef
Changes to the enc2.test script so that it will run on windows. (CVS 3004)
...
FossilOrigin-Name: 4c1818ecebc79f5f7e5f4a7843b5fae02a251f47
2006-01-23 15:59:55 +00:00
danielk1977
8a7aea3bb3
Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001)
...
FossilOrigin-Name: a9ec5ee4724ab993e71ef8b387e2d92f3e74959c
2006-01-23 15:25:48 +00:00
danielk1977
75bab7d64e
Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995)
...
FossilOrigin-Name: 6ec8e6b7856a0b394b8497ab9166b882f98124ba
2006-01-23 13:09:45 +00:00
danielk1977
a1686c9a3b
Fixes for OMIT_UTF16 and OMIT_COMPOUND (CVS 2993)
...
FossilOrigin-Name: f58bbdc0ac6e618686c598aaafb3a41b972e078e
2006-01-23 07:52:37 +00:00
danielk1977
4b202ae2a5
Improve coverage of expr.c and btree.c slightly. (CVS 2992)
...
FossilOrigin-Name: cc2e8e87cfd474b4dc6833ee0c38e2cd2dd3a494
2006-01-23 05:50:58 +00:00
drh
fe61378a22
Tests for the subquery flattening fix of check-in (2987). (CVS 2988)
...
FossilOrigin-Name: 72a067f0df5818c0fdb3b9f8af20f83bb2e1dd34
2006-01-22 00:14:39 +00:00
danielk1977
c4da5b9f2c
Fix more problems with malloc() and IO failures. (CVS 2985)
...
FossilOrigin-Name: 29281dea81c909b70b2d914d7061a6df8f388195
2006-01-21 12:08:54 +00:00
danielk1977
97a227c996
Fix another couple of IO or malloc() failure problems in a shared-cache context. (CVS 2982)
...
FossilOrigin-Name: 7e34163a65a5842ecc50a14a9d60601e7c9d3249
2006-01-20 16:32:04 +00:00
drh
90669c1dca
Fix and test the processing of sqlite3_result_error() withing aggregate
...
functions. Allow errors to come from the step function (a new
capability). Ticket #1632 . (CVS 2981)
FossilOrigin-Name: fd4a6bb1ac94d085dda247799c0a5c64aaeec046
2006-01-20 15:45:36 +00:00
danielk1977
07cb560b23
Handle some of the IO error conditions that may occur in a shared-cache context. (CVS 2980)
...
FossilOrigin-Name: 97491d4eb5fc24d8f5cc7605db844359ecc6a818
2006-01-20 10:55:05 +00:00
danielk1977
ed4293119a
Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)
...
FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245
2006-01-19 08:43:31 +00:00
danielk1977
191c3e7db0
Fix a bug with internally saving cursors open on index tables. Also increase coverage of util.c and btree.c. (CVS 2976)
...
FossilOrigin-Name: a628d84d3185fb7742cc929e758bfd59c811ca0b
2006-01-19 07:18:14 +00:00
danielk1977
e7823cb591
Omit thread2.test if memory-management is enabled at compile time. (CVS 2975)
...
FossilOrigin-Name: df91f685cacbcb3e048eaa03260b33bbcfcb321c
2006-01-18 18:33:42 +00:00
danielk1977
950f054cec
Handle malloc() failures that occur in open16() and errmsg16(). (CVS 2967)
...
FossilOrigin-Name: 86eab9e53db8d7fecc789fe3d8cd8d7be3196fed
2006-01-18 05:51:57 +00:00
danielk1977
9a30cf653f
Handle malloc() failures that occur inside create_collation() calls. (CVS 2966)
...
FossilOrigin-Name: 95c5903f368413019af83aa73263e0e9d1204b62
2006-01-18 04:26:07 +00:00
danielk1977
cbb8496c5e
Arrange for ThreadData to be automatically deallocated even if SQLITE_MEMDEBUG is defined. Fix for #1623 . (CVS 2965)
...
FossilOrigin-Name: 9e2e40845d30cc150abe23ee318a721b4fe9613c
2006-01-17 16:10:13 +00:00
danielk1977
08659fee65
Fix compilation errors when building SQLITE_DEBUG defined but without SQLITE_MEMDEBUG. (CVS 2964)
...
FossilOrigin-Name: 62dd2427784721436737a6e8e11fc05e10f0c44d
2006-01-17 15:36:32 +00:00
danielk1977
771151b67f
Various fixes that allow the malloc() failure tests to pass again. (CVS 2963)
...
FossilOrigin-Name: 0505405fb9ae1068b7976718efbf2aabd07592d4
2006-01-17 13:21:40 +00:00
danielk1977
3bdca9c9a5
Test suite fixes for builds that define OMIT symbols. (CVS 2962)
...
FossilOrigin-Name: 3a54a33dcb7e765ee3773397407e8929a8cfe1a9
2006-01-17 09:35:01 +00:00
danielk1977
ff890793fc
Test file fixes for libaries compiled with various SQLITE_OMIT_ macros. (CVS 2961)
...
FossilOrigin-Name: c058f483a52c8043178b6329aa5e58bedf0c8277
2006-01-16 16:24:25 +00:00
danielk1977
8212defca2
Fix problems compiling with memory-management enabled. Ticket #1619 . (CVS 2960)
...
FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
2006-01-16 15:32:23 +00:00
danielk1977
bab45c647d
Fix some of the issues raised in #1615 . (CVS 2959)
...
FossilOrigin-Name: 0d5d83bcbd65dd7ae968909acfee075185e49c38
2006-01-16 15:14:27 +00:00
danielk1977
a96a7103b2
Run the tests in shared.test a second time using an autovacuum database. (CVS 2957)
...
FossilOrigin-Name: 9927522923558348a846e033b92100c0ed4ee556
2006-01-16 12:46:41 +00:00
danielk1977
819d7f4735
Correctly set the length of the string in bytes when transforming an OP_String8 to OP_String in a utf-16 vdbe program. (CVS 2949)
...
FossilOrigin-Name: 69f996e0fac1dc50b8c43d5fa132f79776843819
2006-01-15 14:11:48 +00:00
danielk1977
b597f74af5
Rollback any open write-transaction when a shared-cache connection is closed. (CVS 2947)
...
FossilOrigin-Name: 1944d92b530d3bbcd31561063660de03d668af23
2006-01-15 11:39:18 +00:00
drh
64b1bea3ba
Add tests and fix bugs in the new cross-thread lock resolution code.
...
When an unlock fails, do not leak file descriptors (ticket #1611 ).
But we really ought to report SQLITE_MISUSE or some other error instead
of just returning SQLITE_OK. (CVS 2945)
FossilOrigin-Name: f68e05cb2be65fad43fac823b2a9c53b6d2e797d
2006-01-15 02:30:57 +00:00
drh
029b44bdd3
Documentation updates. Fix to date.c. But most importantly: database
...
connections are now allowed to change threads as long as they are not
holding a lock. (CVS 2944)
FossilOrigin-Name: 03c422ecb508dd84dfafc8b7a0b790a43f5dadda
2006-01-15 00:13:15 +00:00
danielk1977
1576cd9251
Fixes for OMIT_SUBQUERY builds: Disable where clause OR->IN optimization. Include EXISTS keyword (for new CREATE TABLE syntax). Test file fixes. (CVS 2943)
...
FossilOrigin-Name: 8e79a0c24a03ccf960d6ccfb7c6b9b0f7c614e9b
2006-01-14 08:02:28 +00:00
danielk1977
79f27df664
Account for multi-byte characters in ALTER TABLE code. Fix for #1609 . (CVS 2942)
...
FossilOrigin-Name: d634f8b28abd7af4565c644bd7972b067caa0133
2006-01-13 18:06:40 +00:00
drh
a3e4d96f5d
Make sure the authenticator does not try to authenticate columns in
...
subqueries. Ticket #1607 . (CVS 2939)
FossilOrigin-Name: 55b7dfaf4d3a6d01fffdaf1707e88bcd215d7333
2006-01-13 13:55:44 +00:00
danielk1977
327bd59216
Fix a vdbe stack overflow problem that could occur with a correlated sub-query. (CVS 2938)
...
FossilOrigin-Name: caa7da807d6578f7d8848978a7d3175b6ea1743b
2006-01-13 13:01:19 +00:00
drh
83330ed8ce
Add tests to make sure "PRAGMA table_info" works using sqlite3_prepare16.
...
Ticket #1606 . (CVS 2932)
FossilOrigin-Name: ace8ba817766f9da270cd7f06b68cc537768a8be
2006-01-13 01:25:05 +00:00
drh
a97fdd3bfc
Add support for the TOTAL() aggregate function - works like SUM() except
...
that it returns 0 instead of NULL when presented with an empty list. (CVS 2930)
FossilOrigin-Name: a7f528ff3446d50b280fb0b85063879e3ac5751a
2006-01-12 22:17:50 +00:00
drh
f1f6c587eb
Automatically cast BLOBs to strings prior to handing them over to
...
functions like LIKE that want strings. Ticket #1605 . (CVS 2928)
FossilOrigin-Name: 730ddb0b74ed23c916dabd7ce893bd6bc55f3549
2006-01-12 19:42:41 +00:00
drh
e321c29a7b
Add the legacy_file_format pragma. (CVS 2922)
...
FossilOrigin-Name: b2dbd1a5b7f5a70049f25755f07b9c4c5116549b
2006-01-12 01:56:43 +00:00
drh
b4bc7057e5
Testing of the automatic TSD deallocation logic. The sqlite3_thread_cleanup()
...
API is documented. This should close ticket #1601 . (CVS 2920)
FossilOrigin-Name: fb518b0ce4ddd4aaca5cccf61e651f173e735119
2006-01-11 23:40:33 +00:00
danielk1977
b82e7edae9
Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917)
...
FossilOrigin-Name: 3970eb875d1830d35b3a70a7583a8ab6b238cad6
2006-01-11 14:09:31 +00:00
drh
7a91dd8602
Prepare for the release of version 3.3.0. (CVS 2913)
...
FossilOrigin-Name: 302993ae16750c56fd1418531ba716cff53d2df0
2006-01-11 01:08:34 +00:00
drh
02d9eca53f
Fix bug in the server1 test script. (CVS 2911)
...
FossilOrigin-Name: 25db22b6711590214f4f953e6e3cf6be2d7451db
2006-01-10 20:36:39 +00:00
danielk1977
da71798256
Initialize variables in malloc3.test (was causing error in all.test). (CVS 2906)
...
FossilOrigin-Name: 16a8172a617d4ff739660ae67d3e381b2dea68e6
2006-01-10 18:27:41 +00:00
danielk1977
eecfb3eebc
Fix a problem with shared-schemas and temp triggers. (CVS 2901)
...
FossilOrigin-Name: 9c18a1ce1e7ff6a02eb0f9ce344cab9660819740
2006-01-10 12:31:39 +00:00
danielk1977
311019be0b
If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594 . (CVS 2900)
...
FossilOrigin-Name: bd02a6faefa3602d0b93d54bc57809a2222d5903
2006-01-10 07:14:23 +00:00
drh
bdd6da23cd
Enable shared cache on the server demonstration. (CVS 2899)
...
FossilOrigin-Name: 8719f880a395db8be65ea45615d8e55985306f1e
2006-01-10 02:30:33 +00:00
drh
7910e76ddb
Add the first simple tests of server mode. Get the Makefile generated from
...
the configure script working again. (CVS 2898)
FossilOrigin-Name: 66f84068f3c7c0963ce88f84fc0ba6775f64cd19
2006-01-09 23:50:11 +00:00
drh
29c636bc12
Added database server example code (untested). Fixed serveral bugs including
...
the autovacuum compile problem described by ticket #1593 . (CVS 2897)
FossilOrigin-Name: ec332d8822d1ac9673581a26ab2a2fce5f2554a3
2006-01-09 23:40:25 +00:00
drh
2366940d8f
Reinstate the asynchronous I/O demonstration code and tests with minor
...
changes. (CVS 2896)
FossilOrigin-Name: eeebc640aaeeb0ab7f730d854069f159aa41968b
2006-01-09 17:29:52 +00:00
danielk1977
14db26653a
Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895)
...
FossilOrigin-Name: 3e75d3d5efebc0dfff1adfc13d85e85ec39db3eb
2006-01-09 16:12:04 +00:00
danielk1977
52622828ce
Add a runtime interface to enable memory-management features. (CVS 2894)
...
FossilOrigin-Name: 44f8e3139aa3ad3fcce9028565dd9ad23bbe62a2
2006-01-09 09:59:49 +00:00
danielk1977
e501b89ada
Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893)
...
FossilOrigin-Name: 82b81f69c78cb3f54634d9aea4f6a838474dc5e5
2006-01-09 06:29:47 +00:00