danielk1977
452c989fd8
Manifest types in indices. At the moment indices use manifest typing, but
...
some other parts of the SQL engine do not, which can lead to some strange
results. (CVS 1368)
FossilOrigin-Name: 9f2b6d9d3a07e25fcdb7e8290da7a182a65c37b2
2004-05-13 05:16:15 +00:00
drh
fc70e6fcec
Fix a problem with B+trees. (CVS 1366)
...
FossilOrigin-Name: 64a75c4cd40f79c7b384bb2972922ff0c10212a4
2004-05-12 21:11:27 +00:00
drh
8b18dd4fb5
Implement a B+tree option (all data stored on leaves). (CVS 1365)
...
FossilOrigin-Name: b8f70d17f06531269caa0a127efb2d25ad0f3e1c
2004-05-12 19:18:15 +00:00
drh
ac69b05efa
The pager now handles file ":memory:" complete in memory with no disk I/O. (CVS 1363)
...
FossilOrigin-Name: 97de9f7ceebab859ef984d155808575ad321afc0
2004-05-12 13:30:07 +00:00
danielk1977
8d059845fc
Add some more code to support manifest typing in indices. Not activated yet. (CVS 1362)
...
FossilOrigin-Name: 2f16c9ef3c101c4280991ce3cb0c3bea7b6ed439
2004-05-12 11:24:02 +00:00
danielk1977
cfcdaefe11
Change the table record format to support manifest typing. (CVS 1361)
...
FossilOrigin-Name: 0242c9e4f7c85e9c911cf30d90b0cdb1015f3d7d
2004-05-12 07:33:33 +00:00
drh
779b6d357a
Change sqlite_ to sqlite3_ in the attach2.test test script. (CVS 1360)
...
FossilOrigin-Name: 98f756e6a0809e7034bfb587ff9d9085baac0c6e
2004-05-11 10:04:48 +00:00
drh
f4dada7512
A different fix for the problem with opening existing files. See also
...
check-in (1358). (CVS 1359)
FossilOrigin-Name: 93deaf54c6e1daee0c89a5e2a7d4a5e712ece3f4
2004-05-11 09:57:35 +00:00
danielk1977
bf57cfebc2
Fix a bug that was preventing the library from opening existing files. (CVS 1358)
...
FossilOrigin-Name: ad064bd429602fcac26b377841da90a1a56f5966
2004-05-11 09:50:02 +00:00
drh
a3b321df91
Fix an offset problem in the meta values that was causing problems for
...
many tests. (CVS 1357)
FossilOrigin-Name: 6d378cb7e7e081bb3bcd3a347bc1e02f50ee25cc
2004-05-11 09:31:31 +00:00
drh
0e1c19e2b6
Updates to sqlite3BtreeKeyFetch() and sqlite3BtreeDataFetch(). (CVS 1347)
...
FossilOrigin-Name: a675ac49882887dfcbf671e9092a29aca9eb694e
2004-05-11 00:58:56 +00:00
drh
f328bc80ce
Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345)
...
FossilOrigin-Name: bc5a2dafa1df74ba6403b4751ac1c33b0fee2884
2004-05-10 23:29:49 +00:00
drh
3644f0858d
The btree.c module passes all tests and is ready for integration.
...
Still need to go back and do coverage testing. (CVS 1343)
FossilOrigin-Name: 84506b23365933383397e02a8ec5a980c57c80fc
2004-05-10 18:45:09 +00:00
drh
24cd67e732
The btree.c module now passes all the historical regression tests. New tests
...
for new functionality still need to be added. (CVS 1342)
FossilOrigin-Name: 433ae0d327e5d5b0761e88418ed57fc4cbf4966b
2004-05-10 16:18:47 +00:00
drh
3a4c141357
More btree.c bug fixing. It's getting closer but still not there yet.
...
Move obsolete test scripts into the attic. (CVS 1331)
FossilOrigin-Name: 9379c7c9cf8b0770a0c8d1feb5ffdba342173589
2004-05-09 20:40:11 +00:00
drh
da200cc1c7
The btree.test test is no working with integrity_check enabled. (CVS 1330)
...
FossilOrigin-Name: 9f1caa530e69aaf202debac36b6a46d707f362d7
2004-05-09 11:51:38 +00:00
drh
457f501464
Begin trying to get integrity checking working on the new btree.c. (CVS 1329)
...
FossilOrigin-Name: 499569daa6a3aed6609bcb1e11a3d231e13f4f9c
2004-05-09 01:35:05 +00:00
drh
c12fc0d85f
All tests in btree.test now pass (but only because I commented out the
...
btree_integrity_check test.) (CVS 1328)
FossilOrigin-Name: ee706e9c74c3fb32fc3369db226fad9ed4db7596
2004-05-09 00:40:52 +00:00
drh
c8629a13e1
More btree.c bug fixes. (CVS 1327)
...
FossilOrigin-Name: e9f84ff3fe45a014ab60fabbfd91d19e6d353477
2004-05-08 20:07:40 +00:00
drh
ab9f7f12d5
Get the code back to the point where it will compile the btree.c tests.
...
Move the default key comparison routine from btree.c into vdbeaux.c.
Commented out code in vdbe.c that will need to be fixed. (CVS 1326)
FossilOrigin-Name: 2bca92240b16a51f78661c3ba4d779d231780f8d
2004-05-08 10:56:11 +00:00
drh
9b17127705
More bug fixes in btree.c. (CVS 1323)
...
FossilOrigin-Name: 2d64cba38c0f5fffa18cb30c4c448278837de49d
2004-05-08 02:03:22 +00:00
drh
c39e000bbf
More bug fixes in btree.c. (CVS 1322)
...
FossilOrigin-Name: a80939ef714ec884950b4a1f4f809ffa37fdfa59
2004-05-07 23:50:57 +00:00
drh
de64713041
The btree.c module compiles and links and passes some tests. Many tests
...
still fail, though. (CVS 1321)
FossilOrigin-Name: d394b2b217d4d728f9eba397262bf9d36195719e
2004-05-07 17:57:49 +00:00
drh
3aac2dd7bc
Pager tests working. (CVS 1308)
...
FossilOrigin-Name: 910067a200c4b25b5d813a84146673d3d1c80952
2004-04-26 14:10:20 +00:00
drh
1bdd9b5787
Get the temp_store and default_temp_store pragmas working. Update the
...
documentation. Also fix a malloc problem that popped up during the regression
testing. (CVS 1302)
FossilOrigin-Name: 7ace576215367101904677bd69951755ee9cb1a1
2004-04-23 17:04:44 +00:00
drh
8b8891bf0a
Fix a VDBE stack overflow that occurs when the left-hand side of an IN
...
expression is NULL and the result is stored on the stack rather than used
to control a jump. Ticket #668 . (CVS 1299)
FossilOrigin-Name: fc7a7975b03c144c2db3566facd008d3701c735e
2004-03-17 23:32:08 +00:00
drh
6e17529e97
Fix the min/max optimizer so that it works when the FROM clause is a
...
subquery. Ticket #658 . (CVS 1293)
FossilOrigin-Name: 31c94acc72d318b5dec0fef1485621943add45c8
2004-03-13 14:00:36 +00:00
drh
489c4677a0
Bump the version number to 2.8.13. Patch up the limit test so that it works
...
in spite of ticket #521 - we don't want any tests failing in an official
release even if there are bugs. :-D (CVS 1285)
FossilOrigin-Name: 2c6bd21ed0e212109cfb4a37cfac2a10ab58a024
2004-03-08 13:26:17 +00:00
drh
79f14b7240
A vdbe stack element might have a string value even after a call to
...
Integerify(). Ticket #641 . (CVS 1283)
FossilOrigin-Name: 3cac4b7b526d6c5dbf394009b534707bcb65b0da
2004-03-03 01:51:24 +00:00
drh
b1aa04fccc
Make sure a LIMIT clause on a SELECT cleans up the vdbe stack so that if it
...
occurs inside a trigger, it won't cause a stack overflow. Ticket #640 . (CVS 1282)
FossilOrigin-Name: 5aaa2939baa972231def086ed5f9d9ba63302532
2004-03-02 18:37:41 +00:00
drh
0d131ab716
One more fix to the new HH:MM:SS modifier. This time add some test
...
procedures too. (CVS 1280)
FossilOrigin-Name: 7b3b8968ee9a5349dd6e9ae1e7a311bf8906607c
2004-02-29 01:08:17 +00:00
rdc
f146a77677
Add comments and prototype for experimental sqlite_last_statement_changes() API function. Also, allow function to be called from tcl. (CVS 1273)
...
FossilOrigin-Name: ca99920b0dbf773962b47766d690154fd1276513
2004-02-25 22:51:06 +00:00
drh
268380ca9e
Min() and max() functions honor the distinction between TEXT and NUMERIC
...
data. Ticket #623 . typeof() is now a user function. Some tests are
now failing due to ticket #521 . (CVS 1272)
FossilOrigin-Name: adbe31adf1ad0ca723203ca3d7dc480324c60d43
2004-02-25 13:47:31 +00:00
drh
946966f2a1
Disable an assert which (as it turns out) is not always true. Ticket #615 . (CVS 1269)
...
FossilOrigin-Name: 2773c1d384b750eee037e6ccc61bc56b5204d690
2004-02-25 02:20:41 +00:00
drh
02f75f19e5
Make sure BEGIN, COMMIT, and ROLLBACK are really no-ops when preceded
...
by EXPLAIN. Ticket #626 . (CVS 1267)
FossilOrigin-Name: 2af1f065b5eb39fd3ecac00f8a66d1b4186aead5
2004-02-24 01:04:11 +00:00
drh
b621c23775
Test cases for printf of double overflows. (CVS 1260)
...
FossilOrigin-Name: 96a6d2d3ff5bd0aaff188ee1c5e2f02cbea435b2
2004-02-21 19:41:04 +00:00
drh
8eb2cce55c
Enhance date/time functions to work with negative years. Ticket #617 . (CVS 1255)
...
FossilOrigin-Name: ffa971934867b6bbe943c004154d5f161e0ea697
2004-02-21 03:28:18 +00:00
rdc
a503d7312a
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1252)
...
FossilOrigin-Name: 6734c923395ca41ce453f56dd7d6e7794fbb3bb5
2004-02-20 22:54:25 +00:00
drh
9cbe7ca7db
Fix a memory leak that occurs if you call sqlite_interrupt() on a query
...
using aggregate functions where the aggregate function returns a string
longer than 32 characters. (CVS 1248)
FossilOrigin-Name: 2c1e74e58a702fd2be954467a12e69a33b252831
2004-02-18 16:57:23 +00:00
drh
230680276c
Add more tests of the sqlite_interrupt() logic - looking for a reported
...
memory leak. (Didn't find it.) (CVS 1246)
FossilOrigin-Name: e4c8b1c3aa9d288f518c6394187354e6fa18978e
2004-02-18 01:31:53 +00:00
dougcurrie
960ac04f4f
Avoid line endings munging by Cygwin; ticket #370 (CVS 1245)
...
FossilOrigin-Name: 50e67948f89380f2f4b536add0b8179e6db960a5
2004-02-17 18:26:57 +00:00
drh
a1f9b5ee0b
The sqlite_exec() function is now implemented using sqlite_compile() and
...
sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240)
FossilOrigin-Name: 9771ad1e811e02e10bb738550fbea447749083c5
2004-02-14 16:31:02 +00:00
drh
b5f70c2ef1
Disable the malloc.test tests if not compiled with -DMEMORY_DEBUG (CVS 1239)
...
FossilOrigin-Name: 41b6ad78a6097f35bfac6ff40d2e5d6071a1c4cd
2004-02-14 01:39:50 +00:00
drh
c602f9ae01
Add the SQLITE_NOTADB return code for cases when you try to open a file
...
that does not even remotely resemble an SQLite database file. (CVS 1233)
FossilOrigin-Name: 0c77cee70f078152969933c1d340cea1c86286b0
2004-02-12 19:01:04 +00:00
drh
4d189ca48f
Add hooks on each attached database connection for storing auxiliary
...
information. Add the USING clause to ATTACH. (CVS 1232)
FossilOrigin-Name: 800c11f4bce014a07110eb539992a609e6418406
2004-02-12 18:46:38 +00:00
drh
3054efee07
All REPLACE INTO syntax inside of triggers. Ticket #610 . (CVS 1231)
...
FossilOrigin-Name: a6b862a9db6d409a53cc13e7008b27d4848b5509
2004-02-12 17:28:13 +00:00
drh
8ef83ffed8
Always reload the schema after a rollback. Ticket #594 . (CVS 1229)
...
FossilOrigin-Name: 12c7a83f8e4055c4590983ef212648c781ebd963
2004-02-12 15:31:21 +00:00
drh
93581642d2
VACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593 . (CVS 1228)
...
FossilOrigin-Name: 2fe9f5101cb0f743532912ece3d37f6c873e7025
2004-02-12 13:02:55 +00:00
drh
9eb9e26b82
Pass all (relevant) regression tests when using the codec. (CVS 1223)
...
FossilOrigin-Name: 5200e9edc5fdba0285a3cb1cd808cbf66d7a349e
2004-02-11 02:18:05 +00:00
drh
fb044c1d1c
Perform updates in search order. Ticket #602 . (CVS 1221)
...
FossilOrigin-Name: cf1cec74ae039cd7cbc8a1032d29f067dedb4210
2004-02-10 13:41:52 +00:00
drh
d0ba193dc7
Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217)
...
FossilOrigin-Name: 4c7bf714b5f3d2bb7366367ddf906141a7e36407
2004-02-10 01:54:28 +00:00
drh
e2201971ac
Add test case for ticket #601 . (CVS 1215)
...
FossilOrigin-Name: 096312dacb9eb2f8da3cec1504aef8629b505e7f
2004-02-09 14:35:28 +00:00
drh
585a3d7c22
Add the crashtest1.c program used to test the ability of the database to
...
survive a program crash or power failure. Ticket #599 . (CVS 1210)
FossilOrigin-Name: 597a59a72d662b291fb09a069547efd08aa5adb1
2004-02-08 06:06:37 +00:00
drh
e84a306b91
Remove undocumented extensions from sqlite_mprintf() and friends in order to
...
make it about 10% smaller. (CVS 1207)
FossilOrigin-Name: 0b3f552b986fd89c48c350b0746be93b9d276ecc
2004-02-02 12:29:25 +00:00
drh
22fbcb8ddd
Fix the handling of -init option to the sqlite shell. Ticket #568 .
...
Also add hooks for encrypting the database. (CVS 1206)
FossilOrigin-Name: 3c796de8d1af55944f396f08feaa9e69c1652896
2004-02-01 01:22:50 +00:00
drh
0c37e6309b
Make sure min() and max() optimizations work for subqueries. Ticket #587 . (CVS 1201)
...
FossilOrigin-Name: af73fbca839f8cbe39c21f1f9e439fe9b79005c8
2004-01-30 02:01:03 +00:00
drh
b733d03749
Add the ability to group FROM terms using parentheses. Names of columns in
...
a join no longer include the table name. (CVS 1197)
FossilOrigin-Name: 3626f6d4a1adb4209d5bd9e6477343b52bddbdf2
2004-01-24 20:18:12 +00:00
drh
30c84bfd5f
In test programs, an SQLITE_SCHEMA return is retried repeatedly, not just once. (CVS 1195)
...
FossilOrigin-Name: df3509e13dc05751b7a5af07b57bca449fe5244c
2004-01-21 13:35:13 +00:00
drh
0bca353087
Make ATTACH and DETACH work with the non-callback API. Ticket #574 . (CVS 1194)
...
FossilOrigin-Name: c32a80fe3cd6dda5238e59bd48d9dd22b4856304
2004-01-20 11:54:03 +00:00
drh
d1bec47a3d
More aggressive retry schedule in sqlite_busy_timeout(). (CVS 1181)
...
FossilOrigin-Name: 5e85025be7aa4a03b0cfb4d0f28a2e44653b9d3f
2004-01-15 13:29:31 +00:00
drh
23b2db23b4
Allow "<expr> IN <table>" as a shorthand for
...
"<expr> IN (SELECT * FROM <table>)" (CVS 1180)
FossilOrigin-Name: 01874d252ac44861e927dea3f5534f67e19b1fa8
2004-01-15 03:30:24 +00:00
drh
aa940eacfe
Reinsert the experimental sqlite_commit_hook() API. (CVS 1179)
...
FossilOrigin-Name: 72bc84f2f18f6eeb279a4ad670310e85d154f663
2004-01-15 02:44:03 +00:00
drh
751f41217e
Fix comparisons of ROWID against floating point numbers so that they work
...
correctly. Ticket #377 and #567 . (CVS 1178)
FossilOrigin-Name: c9ac3db8e08403398ec344757385334601a59374
2004-01-14 21:59:22 +00:00
drh
52b36cabe0
Ignore NULLs in a subquery as the right operand of IN. Ticket #565 . (CVS 1175)
...
FossilOrigin-Name: c9e7996fb9080b715e9b273a3ac3ed3744e10a77
2004-01-14 13:38:54 +00:00
drh
c713bdc778
Move some files around and bump the version number in preparation for the
...
release of 2.8.10. (CVS 1173)
FossilOrigin-Name: 74c661850e1899c457d4e822d8284bb66e1dc651
2004-01-14 03:32:37 +00:00
drh
d1d9fc3397
Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166)
...
FossilOrigin-Name: 03636c94a542b1f90a3acfbe65a9c2976872073f
2004-01-07 19:24:48 +00:00
drh
c5dd9fa8ab
Preserve the HH:MM:SS for most date/time modifiers. Ticket #551 . (CVS 1163)
...
FossilOrigin-Name: 70df32b716b0d6a4f72bb3ae6496431e53733b6a
2004-01-07 03:29:16 +00:00
drh
9d4280d53f
Additional integer overflow boundary case tests. (CVS 1159)
...
FossilOrigin-Name: 532170d4b8fc7a4e596a817257e9e1f81d364940
2004-01-06 01:52:34 +00:00
drh
202b2df74a
Fix problem in the code generator were incorrect code was being created if
...
the SQL source contained a negative integer that was too large to fit in
a 32-bit signed integer variable. Ticket #552 . (CVS 1157)
FossilOrigin-Name: b8381d9fe99273507e8626638110646801afef06
2004-01-06 01:13:46 +00:00
drh
b46d162d8d
The "EST" timezone designation is ambiguous. Do not use it in the test
...
scripts. (CVS 1155)
FossilOrigin-Name: 720b565e2d02344e4d38263f4995dfabc60c0860
2004-01-02 15:08:43 +00:00
drh
f586aa8b96
Update date/time functions so that they correctly handle NULL arguments. (CVS 1147)
...
FossilOrigin-Name: a5a5fbd60153dd068ec2559455146e84da075b90
2003-12-23 16:34:12 +00:00
drh
7091cb0566
Add localtime<-->UTC conversions to the date functions. (CVS 1146)
...
FossilOrigin-Name: 8482b8c44766e7f80fc449b3dbdd3f37396c332b
2003-12-23 16:22:18 +00:00
drh
93a5c6bdf4
Use a built-in atof() function instead of the one from the library to
...
avoid problems with locale. Ticket #305 . (CVS 1144)
FossilOrigin-Name: 4d9edbc50f7dee64edbadad2e2dc4f93d8248b3b
2003-12-23 02:17:35 +00:00
drh
5202560ee5
Makefile updates for the new "test4.c" module. Also disable large file
...
tests for archic TCL versions. (CVS 1139)
FossilOrigin-Name: 55e2488912871381959326ab7fa89123ab30d659
2003-12-19 12:31:19 +00:00
drh
acf01e7ddd
A better fix for ticket #530 - one that is likely to work on unix
...
implementations in addition to linux. Also more tests for multi-thread
locking added. (CVS 1138)
FossilOrigin-Name: 7dddbeb586504de30c64a1e61614da447f18c8ba
2003-12-19 08:40:22 +00:00
drh
a6064dcf3b
Add new thread-testing code and fix locking under Linux threads. Ticket #530 . (CVS 1137)
...
FossilOrigin-Name: b36a4bb61094d539273c21a9e4042384f10a7806
2003-12-19 02:52:05 +00:00
drh
acf4ac96e3
Make sure the pagers in-memory cache states in sync with the disk file.
...
Ticket #529 . (CVS 1133)
FossilOrigin-Name: da00efb13fe8ccf1c27e4e1193df6b53de9463f4
2003-12-17 23:57:34 +00:00
drh
4be295be07
Improvements to the way PRAGMA integrity_check works. More likely to output
...
userful information when given a corrupt database. (CVS 1132)
FossilOrigin-Name: b92c31d6c138f9462730cecfe14f7dde19778e79
2003-12-16 03:44:47 +00:00
drh
0f18bfa789
Fix the code generator to a void a VDBE stack overflow on 3-way joins.
...
Ticket #519 . (CVS 1129)
FossilOrigin-Name: 230a4ff2c8a3927533baf5b22edc9f25490d5443
2003-12-10 01:31:21 +00:00
drh
6f8c91caa0
Make the VACUUM command run out of the VDBE like all other commands.
...
(Ticket #464 ). Make the VACUUM command work even if there are VIEWs
in the SQLITE_MASTER table that come before tables they reference.
(Ticket #515 ) (CVS 1128)
FossilOrigin-Name: 614cbbafa180469744421f8fbe56cb392f48d05f
2003-12-07 00:24:35 +00:00
drh
447623d9aa
Fail an ATTACH if the auxiliary database is locked. Ticket #514 . (CVS 1127)
...
FossilOrigin-Name: ac428c8d4a731678cc26cf198689814a8a56d141
2003-12-06 22:22:35 +00:00
drh
4925ca00a3
Disallow temporary indices on persistent tables. (CVS 1122)
...
FossilOrigin-Name: 72bf73b2c1e3594aa85920e47fc345bba56c80d0
2003-11-27 00:48:57 +00:00
drh
7014aff37d
Revised date/time functions - now broken out into a separate source file.
...
See the DateAndTimeFunctions wiki page for additional information. (CVS 1116)
FossilOrigin-Name: 68ef9b45bd3abdedf3721011ad0fb22e8735e721
2003-11-01 01:53:53 +00:00
peter
63a1e49859
Fix progress test error 1-2 (CVS 1115)
...
FossilOrigin-Name: c3a495026c7eafd576042a05a9a5f585ba8ba9b9
2003-10-23 15:27:11 +00:00
danielk1977
348bb5d6c8
Add sqlite_progress_handler() API for specifying an progress callback (CVS 1111)
...
FossilOrigin-Name: ddb364635a207658664ea92fc677cf16a143a938
2003-10-18 09:37:26 +00:00
drh
191c0323c0
Allow quoted trigger names. Ticket #468 . (CVS 1109)
...
FossilOrigin-Name: 54aa0fb236d17b53b194a667d68c71007c8e7687
2003-10-03 00:13:38 +00:00
drh
319e4e7484
All LIKE and GLOB operators to use function notation. "A LIKE B" can be
...
expressed as "LIKE(B,A)". (CVS 1108)
FossilOrigin-Name: 95b27ebd1322a877112dee514dffddb0937e45fa
2003-09-30 01:54:13 +00:00
drh
dab3518880
Remove support for the Oracle8 outer join syntax. (CVS 1106)
...
FossilOrigin-Name: 824430b3ce435386b83ceb882f1510ac9f27d8fa
2003-09-27 13:39:38 +00:00
drh
5b8424b9e4
Add a test case for ticket #464 but leave it commented out for now. We
...
will fix this problem when VACUUM is rewritten. (CVS 1105)
FossilOrigin-Name: 7ba8dc9b1e5c788f2c0ab32314754324c86aaa49
2003-09-27 01:08:37 +00:00
drh
3775084a75
Add additional backslash escapes to the COPY command for compatibility
...
with PostgreSQL. Ticket #460 . (CVS 1104)
FossilOrigin-Name: 70a50bdda318f353c8be1ba200f9aedc34642c93
2003-09-27 00:56:31 +00:00
drh
562528c480
Do all WHERE clauses tests, even if an index is used for lookup so that
...
we know the test cannot be FALSE. The test might end up being NULL in which
case it would need to be treated as false. Ticket #461 . (CVS 1103)
FossilOrigin-Name: 5aea81488b2d3bcdc009ccf0f0ffcda046e38d79
2003-09-27 00:41:27 +00:00
drh
61b487d02a
The tokenizer should never return a negative size of the next token.
...
Ticket #453 . (CVS 1098)
FossilOrigin-Name: 4fbca3ab09596c530da7c50657f3bc9140178dd5
2003-09-12 02:08:14 +00:00
drh
9faae94118
Add test cases that check out sqlite_get_table() on queries with results sets
...
containing 100 columns. (CVS 1097)
FossilOrigin-Name: f9feedec32c975235c0d0996962033f6a63312ba
2003-09-09 00:47:47 +00:00
drh
82a4851a4b
Add initial test cases for the new sqlite_bind() API. Fix bugs that the new
...
test cases found. (CVS 1096)
FossilOrigin-Name: f6c4908e9b5b6ac9adc4af50dc5110dbb655dae3
2003-09-06 22:45:20 +00:00
drh
e4c616931d
Add locks to the in-memory backend so that recursive writes will be detected
...
and rejected. Ticket #436 . (CVS 1089)
FossilOrigin-Name: 3403d28a49b27d3059d3d399ca057e8d33eb857a
2003-08-27 22:54:31 +00:00
drh
901afd4341
If the database filename is an empty string, open a temporary file to hold
...
the database. Ticket #432 . (CVS 1085)
FossilOrigin-Name: da53369f0bf133b89b213bbb1ccea13eb93ab6ed
2003-08-26 11:25:58 +00:00
drh
263659be4d
Close files before deleting them on test scripts under Win2k.
...
Ticket #434 . (CVS 1084)
FossilOrigin-Name: 2a40b46140720783cf4002fb9993f7f6766dbf5f
2003-08-26 11:18:19 +00:00
drh
78100cc928
Add a "pk" column to the table_info pragma which is true for each column
...
that is part of the primary key. Add a "foreign_key_list" pragma that gives
information about all foreign keys for a table. Both changes are experimental. (CVS 1081)
FossilOrigin-Name: 5232b0665b84a9339a85918570093a376a0ea91f
2003-08-23 22:40:53 +00:00
drh
5d9d757626
Add the "onecolumn" method to the TCL language bindings. (CVS 1076)
...
FossilOrigin-Name: c7b4c28fbc0bca5645af5750fd353f4eca400b40
2003-08-19 14:31:01 +00:00
drh
9b1b01bb76
Do not delete tables with the same name when dropping triggers.
...
Ticket #430 . (CVS 1074)
FossilOrigin-Name: ef58f163b08d13f8e9b69459bd83e0bf9d5b404b
2003-08-16 12:37:51 +00:00
drh
8e18bac793
Fix a segfault that occurs in the VACUUM command if run on an empty database
...
with the EMPTY_RESULT_CALLBACKS pragma enabled. Ticket #427 . (CVS 1073)
FossilOrigin-Name: 3563e9cf9d6b20f09e92deb21fdda93bcd8fb583
2003-08-15 13:24:51 +00:00
drh
37ed48ed2f
Provide a more informative error message when a uniqueness constraint
...
fails. Ticket #419 . (CVS 1068)
FossilOrigin-Name: 086aa1c9922b7bf399b3ee8b73ba7353d126b119
2003-08-05 13:13:38 +00:00
drh
4305d10360
The {quote: SrcList} object was not being expanded correctly by a call to
...
sqliteSrcListAppend() if the {quote: SrcList} had previously been duplicated by
a call to sqliteSrcListDup(). Ticket #416 . This check-in fixes that problem
by keeping a separate nAlloc field on {quote: SrcList}. A similar change is made
to {quote: IdList} and {quote: ExprList} to avoid future problems. (CVS 1067)
FossilOrigin-Name: da6273255471673841fdcadc688aeac80722e130
2003-07-30 12:34:12 +00:00
drh
98e3e60012
Make sure the schema loader callback can handle EMPTY_RESULT_CALLBACKS being
...
on. Ticket #406 . (CVS 1065)
FossilOrigin-Name: 8c163fc0c7c721b7a5fa6727b0e90bff4484c782
2003-07-27 17:26:22 +00:00
drh
dc2d94de56
In the VDBE, when an integer value will not fit into a 32-bit int, store it
...
in a double instead. Ticket #408 . (CVS 1064)
FossilOrigin-Name: 7514c3db165e8cc5c696b2b345844949a0e45a61
2003-07-27 17:16:06 +00:00
drh
7b58daeafe
Fix the LIMIT clause so that it applies to the entire query in a compound
...
query. Prior to this change LIMITs on compound queries did not work at
all. Ticket #393 . (CVS 1058)
FossilOrigin-Name: 543479e3aed77976a0c689cf40811bf88353f706
2003-07-20 01:16:46 +00:00
drh
e5f50722b4
Make sure the min() and max() optimizer works correctly when there
...
is a LIMIT clause. Ticket #396 . (CVS 1057)
FossilOrigin-Name: c35e50717678703763c696e3e9b265add2ca6454
2003-07-19 00:44:14 +00:00
drh
9cb733c39d
In the test scripts, do not try to delete files that are still open.
...
Windows does not like it when you do. Ticket #397 . (CVS 1055)
FossilOrigin-Name: 93a2c961b17d2459272e2d8654bd4b972f52fbe1
2003-07-18 01:25:34 +00:00
drh
a88dc3f629
Make LIMIT 0 return no rows. LIMIT -1 still returns all rows. Ticket #346 . (CVS 1053)
...
FossilOrigin-Name: a31d0bd90af7cc95f8e36ca8ece21515f872235e
2003-07-16 11:51:35 +00:00
drh
ef0cae500d
Allow negative values for LIMIT and OFFSET. Add tests for negative LIMITs
...
and OFFSETs. Make the OFFSET work even if LIMIT is 0 or negative. (CVS 1052)
FossilOrigin-Name: e6a752bfef24f773973c151c6262ff331a9dc57a
2003-07-16 02:19:37 +00:00
drh
da808d56dc
An an extra test associated with ticket #387 . (CVS 1050)
...
FossilOrigin-Name: 6a07ac3782bc18f907ffcf66d908ddaa82ab9293
2003-07-09 16:34:56 +00:00
drh
073e5a7751
Allow the output arguments in sqlite_compile and sqlite_step to be NULL
...
pointers. Tickets #384 and #385 . (CVS 1049)
FossilOrigin-Name: dd84f88f6c4012e4a093a4881f6fe50527bb2006
2003-07-09 00:28:13 +00:00
drh
1dd59e0f94
Correctly handle comparing an INTEGER PRIMARY KEY against a floating point
...
number. Ticket #377 . (CVS 1045)
FossilOrigin-Name: 982aa3356bcc217003cd9e6a829619219c334797
2003-07-06 17:22:25 +00:00
drh
3c8bf55a04
Make sure indices in ATTACH-ed databases are put into the right hash table.
...
Ticket #354 . (CVS 1044)
FossilOrigin-Name: eb4582831d536cd26a1738f9ad197e40486d0958
2003-07-01 18:13:14 +00:00
drh
dc339ee29c
The prior fix of ticket #360 was incorrect and caused a memory leak. This
...
check-in plugs the memory leak and correctly fixes ticket #360 . (CVS 1040)
FossilOrigin-Name: fc490f677b89e623b41f9e7f5f3bade9b981562c
2003-06-29 20:25:08 +00:00
drh
937dd84de8
Fix a bug in the soundex() code. Ticket #367 . Add tests for ticket #261
...
even thought the problem could not be reproduced. (CVS 1035)
FossilOrigin-Name: e2ca936feee35b3fce99c95c2cf8c0ad05cd9c3b
2003-06-28 16:20:22 +00:00
drh
d60ccc6a75
In a SELECT, the rowid of a view or subquery which is really a join is
...
set to NULL if the join is flattened. Ticket #364 . (CVS 1034)
FossilOrigin-Name: bad8b55833f5120003a19883154dac5146cc36a3
2003-06-24 10:39:46 +00:00
drh
8ce10ba65e
Make sure the source of a PULL opcode is not an ephemeral string. Ticket #360 . (CVS 1031)
...
FossilOrigin-Name: cb70ee67ea9f5a47d58820e0e8b28c8f945217ed
2003-06-22 01:41:49 +00:00
drh
d93d8a812e
Add the %z format to the sqlite_mprintf() and related functions. (CVS 1028)
...
FossilOrigin-Name: eca1398eaac67d772aff2676a470d9a6d96a93ca
2003-06-16 03:08:18 +00:00
drh
3fc673e622
Do not flatten a subquery which is the right term of a LEFT OUTER JOIN
...
if the subquery contains a WHERE clause. Ticket #350 . (CVS 1027)
FossilOrigin-Name: dd8943e8583cf7ed3b662570a5607856fd246dac
2003-06-16 00:40:34 +00:00
drh
ed717fe3b2
Enhance the "PRAGMA integrity_check" command to verify that all indices are
...
correctly constructed. New calls to integrity_check are made in the test
suite. These changes are intended to prevent any future problems such
as seen in ticket #334 . (CVS 1024)
FossilOrigin-Name: c9734c27074d2039a1896a8c6965c08d03711b13
2003-06-15 23:42:24 +00:00
drh
81e293b4b2
Extend the authorization mechanism to disallow the ATTACH and DETACH commands.
...
Ticket #340 . (CVS 1010)
FossilOrigin-Name: a97dca73aed0b42d8dcf944360667ae93c5324fd
2003-06-06 19:00:42 +00:00
drh
7d02cb73ca
Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
...
Also clean up some compiler warnings for VC++. (CVS 1005)
FossilOrigin-Name: af6f2bdf59fb621ff3e1d061e429f01ebd7d0b42
2003-06-04 16:24:39 +00:00
drh
b8ec20925d
Adjust test cases to cope with the extra column returned by the database_list
...
pragma. (CVS 1004)
FossilOrigin-Name: fa10c6df5a80127508fb198c21ef93acfc93ebe2
2003-06-04 15:53:02 +00:00
drh
bc2bca0843
Disable the unreadable file test (attach-6.2) under windows because of
...
problems in the OS. (CVS 1000)
FossilOrigin-Name: 4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd
2003-06-04 12:31:53 +00:00
drh
5383ae5c12
Avoid corrupting indices when doing a REPLACE on a table with an
...
INTEGER PRIMARY KEY that also has another index. Ticket #334 . (CVS 999)
FossilOrigin-Name: e813faae0e4086571d13c769f793add7f1f979af
2003-06-04 12:23:30 +00:00
drh
4312db55d9
Additional testing of the ATTACH command with bug fixes for the new problems
...
that the tests found. (CVS 998)
FossilOrigin-Name: 3e8889d7ce5e99fc855526fc1bb62ddbe282bfc5
2003-06-03 01:47:11 +00:00
drh
2394e376d6
Fix a bug in the COPY command introduced by check-in (991). (CVS 996)
...
FossilOrigin-Name: 77ec13dab85b70795ef06ff2c714cca0cd496837
2003-06-02 22:50:25 +00:00
drh
a0217ba720
Add the ability to INSERT or UPDATE using the "rowid" column even on tables
...
that lack an integer primary key. (CVS 991)
FossilOrigin-Name: 903adbe802ca0e987b867e5ad33aae02ad2a43d4
2003-06-01 01:10:33 +00:00
drh
f26e09c87f
Tighter binding of views, triggers, and indices to their respective
...
databases. Ticket #323 . Much more testing needs to be done to the
sqliteFix...() routines in attach.c. (CVS 990)
FossilOrigin-Name: 7202d4f1a8853368954a967b7ccca9d8a6645a2e
2003-05-31 16:21:12 +00:00
drh
6b8611126b
Additional attach testing. I now believe that ticket #317 was fixed
...
by check-in (981). (CVS 985)
FossilOrigin-Name: 24191373796b7fd6255ef9b70ce2344326308113
2003-05-17 19:23:51 +00:00
drh
79a519c047
Prevent an infinite loop when deleting a table that has a TEMP trigger. (CVS 984)
...
FossilOrigin-Name: c8c823b068916711857fa67db10fb479999b55c2
2003-05-17 19:04:03 +00:00
drh
8bf8dc9208
Fix problems with TEMP indices that lead to corrupt databases. These
...
problems were discovered while working on ticket #317 . No sure yet if
that ticket is fixed. (CVS 981)
FossilOrigin-Name: 01398fb78bab7e5c6f439f2b743f26e82118468a
2003-05-17 17:35:10 +00:00
drh
a996e477d0
Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution
...
specified by an index. This fixes a bug reported on the newsgroup. (CVS 975)
FossilOrigin-Name: 0f92736d1fbe3b587592fe1f26dfb3558cc49727
2003-05-16 02:30:27 +00:00
drh
8af4d3ace6
Restrain the flattener in the presence of outer joins. Ticket #306 . (CVS 958)
...
FossilOrigin-Name: 6d4b6597e560578253960d9876dc8c8657f41fef
2003-05-06 20:35:16 +00:00
drh
66b4ebafb2
Added tests trying (unsuccessfully) to reproduce ticket #304 . (CVS 957)
...
FossilOrigin-Name: fda637f453d35b74f676997fcf056a948ccd771b
2003-05-04 20:42:56 +00:00
drh
7ad4334add
Fix deficiencies in sqlite_complete() pointed out by R. Dennis Cote. (CVS 955)
...
FossilOrigin-Name: 54b33a5ed9f7a89435c2f1395a3177e8c778bb8a
2003-05-04 17:58:25 +00:00
drh
e9ffc168d8
Additional tests of the new flattener added. Ticket #272 . (CVS 949)
...
FossilOrigin-Name: 8d9ee45ab487614191e8d6aef845141fdddf832a
2003-05-02 16:44:25 +00:00
drh
c31c2eb82c
Enhance the query flattener to handle subqueries that are joins.
...
All regressions pass but new tests need to be added before release.
Ticket #272 . (CVS 948)
FossilOrigin-Name: ad57693e9f1b83a8cc4d028264b35018a9a4a701
2003-05-02 16:04:17 +00:00
drh
6a3ea0e6ef
VDBE cursors numbers for tables in a join do not have to be consecutive.
...
This is one step on the road to fixing ticket #272 . (CVS 947)
FossilOrigin-Name: be7aed2011b4af868b6a0c370c3d41354ae0cdf4
2003-05-02 14:32:12 +00:00
drh
524a5bf5f6
Fix the sqlite_complete() routine so that it recognizes /*...*/ comments.
...
Ticket #277 . (CVS 937)
FossilOrigin-Name: ef8eb580fc6c40264219c2ae77a9c4f8a5803c8b
2003-04-26 02:31:54 +00:00
drh
85e2096fb6
Report the correct authorization context in the authorization callback
...
when coding an INSTEAD OF trigger on an update or delete. (CVS 936)
FossilOrigin-Name: 67746833fc8de3afff80db413bd63a362bb28218
2003-04-25 17:52:11 +00:00
drh
2e6d11bc07
Add tests to insure VACUUM works in the presence of I/O errors. Fix some
...
problems that came to light by these tests. (CVS 935)
FossilOrigin-Name: 8d3e879349fc9523c72cb46111e0058b57ce9341
2003-04-25 15:37:57 +00:00
drh
9c05dc6298
Work around a name collision problem on windows. (CVS 934)
...
FossilOrigin-Name: c3b1f84dfce13b2523c9923e4270577862ca0595
2003-04-25 13:28:02 +00:00
drh
f7c5753174
Make VACUUM work even if multiple processes have the database open at once. (CVS 933)
...
FossilOrigin-Name: caa960289f3d1f5e8f35a94e9e4321996c211ed2
2003-04-25 13:22:51 +00:00
drh
45a304ee8c
Get VACUUM working again - with test cases. Some other minor cleanups. (CVS 931)
...
FossilOrigin-Name: 5afb88008fed253e6d1fc0ed5172370b61d3727b
2003-04-25 02:43:08 +00:00
drh
5cf590c128
Fix some issues with INSTEAD OF triggers. (CVS 930)
...
FossilOrigin-Name: 206b17397b1d2b55179c935927ff1d8215728c32
2003-04-24 01:45:04 +00:00
drh
b5a20d3ceb
Remove the begin_hook and commit_hook APIs. They were a bad idea. Add a
...
"trace" method to the TCL interface. (CVS 929)
FossilOrigin-Name: 6289b863590ecc5de3d1efaaa60aa6f3f64fefb3
2003-04-23 12:25:23 +00:00
drh
e22a334b78
Update the authorizer API so that it reports the database that table and
...
indices belong to and so that it reports when actions are taken in response
to a trigger. (CVS 928)
FossilOrigin-Name: c675a5504138f34cae6def782b5d3add2c67d2bc
2003-04-22 20:30:37 +00:00
drh
f0f258b11b
Add support for TEMPORARY triggers. Such triggers can write temporary or
...
permanent tables. (CVS 926)
FossilOrigin-Name: 58ddd587b0f5d565ae3b0ba3a1fa5c20d459f3fc
2003-04-21 18:48:45 +00:00
drh
881b890af4
Add more tests for the in-memory database. (CVS 925)
...
FossilOrigin-Name: 11cab41c4f02cdddc4fd3f57555573ac2814a81b
2003-04-20 23:45:23 +00:00
drh
b2fe7d8cb7
Added tests for the in-memory database backend. Also updated some comments
...
in other modules. (CVS 924)
FossilOrigin-Name: fb89adf4d1325c5ea471759ebfd8df7faa4f9a80
2003-04-20 17:29:23 +00:00
drh
7bdc0c1def
Modify the optimizer so that it does not assume that functions are
...
constant. (CVS 920)
FossilOrigin-Name: 767f1af236d115e8388e1dcc28a4df1be48d6c85
2003-04-19 17:27:24 +00:00
drh
37ea94b8c9
Bug in WHERE clause processing fixed. Ticket #298 . (CVS 919)
...
FossilOrigin-Name: 9b619c98b586a207a87942640d3a94220ff8ab02
2003-04-19 16:34:04 +00:00
drh
cab20050bb
Fix for ticket #297 - bug in sqliteSortCompare(). (CVS 917)
...
FossilOrigin-Name: 4ded1965eb83dee0f28c27ba935d615c77331571
2003-04-18 17:45:14 +00:00
drh
a69d91681d
Fix triggers to work in an ATTACHed database. Ticket #295 . (CVS 915)
...
FossilOrigin-Name: 1e5e00fb73c308378efd034cb291caf338c9fe84
2003-04-17 22:57:53 +00:00
drh
d4d595f94c
Make sure the min() and max() optimizations work on empty indexed tables.
...
Ticket #296 . (CVS 914)
FossilOrigin-Name: 98ef6110068e5ed3cd77a14b004f890b79b731f7
2003-04-17 12:44:23 +00:00
drh
027850b676
Fix the authorizer so that it correctly interprets attempts to read the
...
OLD and NEW pseudo-tables of a trigger. (CVS 911)
FossilOrigin-Name: f04bd43254b3ba3fccc842214115d4c298e28138
2003-04-16 20:24:52 +00:00
drh
bb07e9a34f
Simplify the number processing code. Fix for ticket #281 . (CVS 910)
...
FossilOrigin-Name: 4326b52a39cad4632dc2db37aa53a285a31af138
2003-04-16 02:17:35 +00:00
drh
70ce3f0c58
Get triggers working on tables with INTEGER PRIMARY KEYs. Ticket #291 .
...
This may also fix #159 . Still need to add tests so both bugs remain open
for the time being. (CVS 908)
FossilOrigin-Name: 0b996959b8d8bc2c82eab9cccc190befd0056505
2003-04-15 19:22:22 +00:00
drh
49449834fc
Do not record the inserted rowid on when doing an INSERT within a trigger.
...
Ticket #290 . (CVS 906)
FossilOrigin-Name: 96a717661a3b7108fe0cacb588d81fd8e91eb640
2003-04-15 14:01:43 +00:00
drh
a73af533de
More testing of ATTACH and DETACH. (CVS 899)
...
FossilOrigin-Name: 51f515f28cb1cc3e8f0c3531724dc8876b25f18e
2003-04-05 16:56:28 +00:00
drh
2d4583473b
Begin testing the new ATTACH and DETACH commands. (CVS 898)
...
FossilOrigin-Name: 7a0f8024a1323a15d0c83afe9302400736f01fe8
2003-04-05 03:42:26 +00:00
drh
0d1a643aea
Added experimental APIs: sqlite_begin_hook() and sqlite_commit_hook(). (CVS 896)
...
FossilOrigin-Name: 5efbf62313519d0a6e8b8f5dbb29d3ef428d73e8
2003-04-03 15:46:04 +00:00
drh
048c530c01
Use a intermediate table when inserting a TEMP table from a SELECT that
...
reads from that same TEMP table. Ticket #275 . (CVS 895)
FossilOrigin-Name: 087d1e83af12b3a9aedd4945f02774a1043b1eb4
2003-04-03 01:50:44 +00:00
drh
3aa31a16e6
Remove the experimental sqlite_open_aux_file() API. It will soon be replaced
...
by ATTACH and DETACH SQL commands. (CVS 889)
FossilOrigin-Name: b6d6e07f3a5cb493f2cf0675bc6061c5afe5c078
2003-03-30 19:17:01 +00:00
drh
0be9df076a
Fix a memory leak in triggers and update tests to show the latest error
...
message text. (CVS 886)
FossilOrigin-Name: b90d9de32d10a71fe81f5bfd0cf57faae8c5c3b4
2003-03-30 00:19:49 +00:00
drh
9468c7f489
Do not allow an empty string to be inserted into an INTEGER PRIMARY KEY. (CVS 877)
...
FossilOrigin-Name: 2aba40bea5fc1c4aef8cfd4c790d40808821ca14
2003-03-07 19:50:07 +00:00
drh
2299706c2a
Add more tests to make sure that sqlite_changes() works when using the
...
non-callback API. Ticket #250 . (CVS 876)
FossilOrigin-Name: 13e501d190e327cc6fc16e182819ea9d7bb9c566
2003-03-01 19:53:15 +00:00
drh
dde85d9e00
Get the non-callback API working with the EXPLAIN keyword and for PRAGMAs.
...
Tickets #258 and #257 . Update the API documentation on the sqlite_changes()
routine to explain how it works with the non-callback API. Ticket #250 . (CVS 875)
FossilOrigin-Name: 620e1065e978545dd7bf6fa6fad1e6b93918dbf8
2003-03-01 19:45:34 +00:00
drh
e0194f2bbd
Fix a memory leak associated with PRIMARY KEY in a CREATE TABLE statement
...
that fails. Ticket #249 . (CVS 1730)
FossilOrigin-Name: 66158843dfa073ffb8779a5170e091cebc018855
2003-02-26 13:52:51 +00:00
drh
50cceb36b6
When the right table in a LEFT OUTER JOIN contains an INTEGER PRIMARY KEY
...
make sure that key is NULL if there is no row in the right table that
matches the current row in the left table. Tickets #246 and #247 . (CVS 873)
FossilOrigin-Name: 6a45fe3bd7e19cf9c20fc6cb65b0269cdd704490
2003-02-20 01:48:12 +00:00
drh
e6da3c1816
Fix the parsing of the LIMIT clause when the limit and offset are separated
...
by a comma. The offset comes before the limit in that case. Ticket #245 . (CVS 872)
FossilOrigin-Name: 6ef91a364b2922f078b7de81816bca3f2ca0fe46
2003-02-20 00:44:52 +00:00
drh
94e9203247
Added test code to check for file descriptor leaks. All regression tests pass
...
now on both win2k and linux. (CVS 868)
FossilOrigin-Name: 75ba78280f7ab6b6acce5878859312f3223ee898
2003-02-16 22:21:32 +00:00
drh
99ee360003
Fix more bugs. The new rollback journal implementation now passes all
...
regression tests under Linux. (CVS 867)
FossilOrigin-Name: d10adc1c5727d76320d5919be55e86d030e9c8bc
2003-02-16 19:13:36 +00:00
drh
4303feedd3
Fix the pager so that correct rollbacks occur when synchronous is turned off.
...
This check-in also included unrelated documentation updates. (CVS 866)
FossilOrigin-Name: 3ef0ad8a4f2696a58aff9d812f90038c2c63f3fc
2003-02-15 23:09:17 +00:00
drh
973b6e333d
Added the new FULL option to the SYNCHRONOUS pragma. Still need to test it. (CVS 863)
...
FossilOrigin-Name: 792a9e157dd066fcaffd4f5b373010151fb4ca61
2003-02-12 14:09:42 +00:00
drh
968af52acf
Modify the journal format to be more robust against garbage that might appear
...
in the file after a power failure. The changes are mostly working but more
testing is still required. This check-in is to checkpoint the changes so far. (CVS 861)
FossilOrigin-Name: 8ec5632536eea31197a3b1fd6abc57881a0cf1d7
2003-02-11 14:55:40 +00:00
drh
bb999ef6fa
Make the GROUP BY clause work even if there are no aggregate functions. (CVS 859)
...
FossilOrigin-Name: b68792315883eed8523f5e11856ec8378dc972c1
2003-02-02 12:41:25 +00:00
drh
17e9e29d1e
When a CREATE TABLE ... AS SELECT statement fails, make sure the table name
...
is removed from the internal hash tables. Ticket #238 . (CVS 858)
FossilOrigin-Name: 65264780c553e8a00ec7a40cf76b89a11b245faf
2003-02-01 13:53:28 +00:00
drh
dcd997ea2e
The sqlite_exec() function now returns SQLITE_AUTH when authorization fails.
...
Ticket #231 . (CVS 857)
FossilOrigin-Name: d93c1aeb544a5b1056424945eb43854213b30e50
2003-01-31 17:21:49 +00:00
drh
88eee38afd
Allow double-quoted strings as string constants in the IN operator. As a
...
side-efffect, allow the GROUP BY clause to refer to columns by their integer
column number. Ticket #237 . (CVS 856)
FossilOrigin-Name: 187d9c405891e543fc706f8ddb41f3966a842214
2003-01-31 17:16:36 +00:00
drh
3a84069da3
Additional testing and bug fixing with the non-callback API. Updated the
...
C/C++ interface document to describe the non-callback API. (CVS 855)
FossilOrigin-Name: af1e9299468aa70d7d91e7a5445ba391ccc8ff8b
2003-01-29 22:58:26 +00:00
drh
483750ba8a
Better error messages on constraint violations. Additional tests and bug fixes
...
for the callback-free API. (CVS 854)
FossilOrigin-Name: ccc82f1ab4539a60ee5cc2625743c5389f9ccd8e
2003-01-29 18:46:51 +00:00
drh
326dce7451
The callback-free API is now working, though much more testing is need. (CVS 853)
...
FossilOrigin-Name: 162b259188e6967fe9c3722da26b81aab5655d83
2003-01-29 14:06:07 +00:00
drh
b86ccfb26e
First code for the new callback-free API. All regression tests pass but the
...
new API is mostly untested and is unlikely to work. (CVS 852)
FossilOrigin-Name: 065fa818ffc8d7562889172acea16e4e44e773ef
2003-01-28 23:13:10 +00:00
drh
fcb78a4900
Fix datatype reporting and collating sequence selection so that it works
...
correctly on views and with the UNION, EXCEPT, and INTERCEPT operators. (CVS 839)
FossilOrigin-Name: 71cc292dce59cf8224b205d1cdbff59ad12f1043
2003-01-18 20:11:05 +00:00
drh
db48ee02c4
Improvements to the pager to help large updates against a large database run
...
faster. Also improved the testing of the pager rollback algorithms. (CVS 835)
FossilOrigin-Name: 717523d3750dce784fa767ed9a8267d1246798ef
2003-01-16 13:42:43 +00:00
drh
2c3831cb23
Finish out the test suite for the new sqlite_set_authorizer API. (CVS 834)
...
FossilOrigin-Name: 701a73918db22fd134a8b959670ba7a4a908c8c5
2003-01-14 13:48:20 +00:00
drh
77ad4e4133
More tests of the sqlite_set_authorizer() API together with fixes for bugs
...
that the new tests uncovered. (CVS 832)
FossilOrigin-Name: cc2ae781ac186f9ee1afacdc9117087421955369
2003-01-14 02:49:27 +00:00
drh
7160220495
Make the GLOB work write with upper-case characters. Ticket #226 . (CVS 831)
...
FossilOrigin-Name: 7ea46e706485cc159f9d1c7e69efcdd048a0bb12
2003-01-14 00:44:08 +00:00
drh
e5f9c6442f
Revise the sqlite_set_authorizer API to provide more detailed information
...
about the SQL statement being authorized. Only partially tested so far. (CVS 830)
FossilOrigin-Name: 45de93f913a18026a45de6254963dbcd1b0f1a19
2003-01-13 23:27:31 +00:00
drh
1962bda764
The initial round of tests for the sqlite_set_authorizer() API. More are
...
needed before release. Ticket #215 . (CVS 829)
FossilOrigin-Name: 5707b3d56efb6e988f816abefb1836f2f3254117
2003-01-12 19:33:52 +00:00
drh
5a38705ecb
Document the SHOW_DATATYPES pragma and add tests for it to the test suite.
...
Make sure datatypes are show even for aliased columns.
Tickets #220 and #221 . (CVS 822)
FossilOrigin-Name: e84d3afe7b9153d003fdcca98221f446c004ffa2
2003-01-11 14:19:51 +00:00
drh
428ae8cb41
Optimizations to the BTree module for a modest speed improvement. (CVS 810)
...
FossilOrigin-Name: 39902a70417475225956704a037493515e9b08b9
2003-01-04 16:48:09 +00:00
drh
f33cb428e5
Make sure the host machine has enough disk space before running the
...
large file tests. (CVS 800)
FossilOrigin-Name: b1ec547865a76541951433630bd4528d1988a4de
2002-12-17 14:13:48 +00:00
drh
3e7a609667
Save the full pathname of the database file so that journalling still works
...
even if the user changes working directories after opening the databae.
Ticket #200 . (CVS 798)
FossilOrigin-Name: 1c58b4fc032c5975dcce9b8ae844c0e516254a17
2002-12-07 21:45:14 +00:00
drh
1a844c380b
Fix a bug in the reverse scan logic that comes up when the table being
...
scanned is empty. Add additional tests for the reverse scan. (CVS 797)
FossilOrigin-Name: 0051c87d5e8d07fae09da2eb7b0d8cbd1bbd3c8e
2002-12-04 22:29:28 +00:00
drh
dd4852c3d1
Fixes to the logic that decides if the ORDER BY can be ignored due to the
...
use of an index. Tests updated. (CVS 796)
FossilOrigin-Name: bfb9a2aa939ecffc5dc2c7c23bddd57d357bdf13
2002-12-04 21:50:16 +00:00
drh
2dcc9aa2a8
Add the sqliteBtreePrevious() routine to the BTree module API. This is
...
in anticipation of implementing reverse order searching of a table. (CVS 794)
FossilOrigin-Name: 0ad1d93879bee0d34b122591c025192a51b8490f
2002-12-04 13:40:25 +00:00