drh
af6df11f8a
Add tests to make sure statement journals are only opened when necessary. (CVS 2500)
...
FossilOrigin-Name: 914d6e6549446a6ddf25e5da57d2fe9446750625
2005-06-07 02:12:30 +00:00
drh
ed8a3bb108
Reference count Table structures so that they are not deallocated too soon.
...
Ticket #1210 . (CVS 2498)
FossilOrigin-Name: e73d25c7419d580c47925494621df26d2fb9f27e
2005-06-06 21:19:56 +00:00
drh
473d179d8a
Return SQLITE_MISUSE when passing a NULL pointer into sqlite3_bind routines.
...
Ticket #1219 . (CVS 2497)
FossilOrigin-Name: 12c32f139bae3cb7ca520451bfc15f9f7d94833d
2005-06-06 17:54:55 +00:00
drh
ba0232a0df
Any non-zero value is considered TRUE in a WHERE clause. Ticket #1211 . (CVS 2496)
...
FossilOrigin-Name: 0f7af623791d8d2ed35c3978ab12316912d9b6f8
2005-06-06 17:27:19 +00:00
drh
873fac0cae
Avoid ambiguous column name errors when the column name is in the USING clause
...
of a join. Ticket #743 . (CVS 2495)
FossilOrigin-Name: 6a51bdeeff8312fa54fa2b1200f823428f35d605
2005-06-06 17:11:46 +00:00
drh
355ef36114
Naming the join columns in the result set of a natural join does not result
...
in an "ambiguous column name" error. Ticket #1217 . (CVS 2494)
FossilOrigin-Name: 265fb6079c0a4b7a93f063939436db494ff1d56c
2005-06-06 16:59:24 +00:00
drh
7c3d64f151
Do not allow parameters in VIEW definitions. Ticket #1270 . (CVS 2492)
...
FossilOrigin-Name: 0d46289f02aad526f462a3ceceb1bca1b9f6a543
2005-06-06 15:32:08 +00:00
drh
defc997230
Fix a bug in the malloc2 tests introduced by checkin (2473). (CVS 2489)
...
FossilOrigin-Name: fafaa18eea1e7142e1094b5f6d544d20c9df7c0f
2005-06-06 14:45:42 +00:00
danielk1977
a38b4134e7
Omit a couple of test cases if the library is compiled without subqueries. (CVS 2488)
...
FossilOrigin-Name: 6bc372978364a1a4bfa14732a818a6bba613b1e3
2005-05-29 14:23:12 +00:00
danielk1977
44ee5bf795
Minor changes to help build and test SSE. (CVS 2487)
...
FossilOrigin-Name: 3ac4a212bd70abb94d24830c73f7121df51125c7
2005-05-27 09:41:12 +00:00
drh
3e1d8e6356
Add an experimental sqlite3_get_autocommit() API used to test whether or not
...
changes are committed automatically. (CVS 2486)
FossilOrigin-Name: 4a7f1275857602e3841ccb2d43a5c4d3d3e87bff
2005-05-26 16:23:34 +00:00
danielk1977
105afed6a0
Add a -cleanup option to Tcl test proc do_ioerr_test. (CVS 2485)
...
FossilOrigin-Name: b0a898c05a2285c87d7da4d47dd697c58a0d4d58
2005-05-26 15:20:53 +00:00
drh
15ccce1c0d
Make sure that the use of a double-quoted string literal does not trick
...
the optimizer into using a correlated subquery when a static
subquery would suffice. (CVS 2477)
FossilOrigin-Name: ef4059e3afa1a61a9e59df00cdfedc57d8df9fec
2005-05-23 15:06:39 +00:00
drh
eb43e5c7b7
The cache_size pragma should not reset the synchronous pragma. Ticket #1260 . (CVS 2474)
...
FossilOrigin-Name: 2db2b32f269062b006ae5c4a302d116cdab8f9ec
2005-05-22 20:30:39 +00:00
drh
1c7880e501
Do not allow the pagesize of :memory: databases to be changed. Silently
...
ignore PRAGMA page_size=N requests for :memory: databases.
Ticket #1144 and #1252 . (CVS 2466)
FossilOrigin-Name: f29a1d882623d8ff14f35a302aef63a16388bcb3
2005-05-20 20:01:55 +00:00
drh
0405a34d11
Fix a datatype in trigger6.test that changed due to the previous check-in. (CVS 2454)
...
FossilOrigin-Name: c2af7d2c947bcec507087cc3a1e5b21e6322e4cd
2005-05-05 11:04:50 +00:00
drh
c7f269d551
In the TCL interface, user-defined functions preserve the datatype returned
...
by the Tcl procedure. (CVS 2453)
FossilOrigin-Name: 99dcba1fb1fdaa2b8bc85046b00c14f6af596e8f
2005-05-05 10:30:29 +00:00
drh
7e62779a58
Prevent a segfault described by ticket #1229 . (CVS 2450)
...
FossilOrigin-Name: 0667eae9a97059125a77bd90452d19dc17c30a12
2005-04-29 02:10:00 +00:00
drh
f8db1bc03b
Remove some vestigal code. Add the experimental sqlite3_transfer_bindings()
...
API. (CVS 2446)
FossilOrigin-Name: 88b39436f00d645cdb6333a7413c698c42227d3f
2005-04-22 02:38:37 +00:00
drh
b47d45ccbf
Correctly store large integers. Ticket #1212 . (CVS 2445)
...
FossilOrigin-Name: 00e20690bb8cc6522c9c48f36f0c3336ae007827
2005-04-15 12:04:34 +00:00
kwel
c7e22ee254
Added tests to exercise delete, insert, and update triggers on views (tkt #1169 ) (CVS 2444)
...
FossilOrigin-Name: 6cd19ddcba5fbea1be04b44699c911294618e948
2005-04-08 19:48:27 +00:00
danielk1977
55c45f2e1e
Apply Tcl 'nullvalue' patch from Stefan Finzel. (CVS 2441)
...
FossilOrigin-Name: 9906ae37b9be684b615a1190cf8798513baa799a
2005-04-03 23:54:43 +00:00
drh
495c09a49a
Make the ORDER BY clause return equal elements in the same order they were
...
seen (a stable sort). It was returning them in exactly the reverse order. (CVS 2439)
FossilOrigin-Name: e8391491a68018406e30c2a699a4cab9e0de092c
2005-04-01 10:47:40 +00:00
drh
f4f8fd51e4
Make sure integer primary keys larger than 2^31 are handled
...
properly. Ticket #1188 . (CVS 2436)
FossilOrigin-Name: 1d04c2ab299430959b8a193d4679cbc4c0be31a4
2005-03-31 18:40:04 +00:00
danielk1977
bc04f8529d
Reduce the space allocated for the runtime virtual machine stack. (CVS 2428)
...
FossilOrigin-Name: 7d6818da33a87076d1faf35ffc15a3aada0533b3
2005-03-29 08:26:13 +00:00
danielk1977
53c0f7480b
Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427)
...
FossilOrigin-Name: c41d55443c2dd532147962b87f542fb7d37075fd
2005-03-29 03:10:59 +00:00
drh
92fd9d285f
Changes to alter3.test to allow it to work with a codec. (CVS 2423)
...
FossilOrigin-Name: 9e856bab2bbb77004b049827b4a275aa6c48096b
2005-03-28 16:50:22 +00:00
danielk1977
f0b5792bdc
Use SQL function substr() correctly from ALTER TABLE code. Ticket #1182 . (CVS 2420)
...
FossilOrigin-Name: ccb9f4022b3ccb1cc2ab001628fd38becfbf8efe
2005-03-28 00:07:16 +00:00
danielk1977
b3a2cced6b
Correctly allocate new columns array in ALTER TABLE .. ADD COLUMN. Ticket #1183 . (CVS 2419)
...
FossilOrigin-Name: 3c86e63389b286a49106d8d7009cc63e3914d40f
2005-03-27 01:56:30 +00:00
danielk1977
6b456a2b46
Add function to recover from a malloc() failure. (CVS 2414)
...
FossilOrigin-Name: 1f9d10d7965c95d1e35f64cf4c3f128adabd41f2
2005-03-21 04:04:02 +00:00
drh
38fba69135
Fix an infinite loop in the code generator for INSERT. Ticket #1140 . (CVS 2410)
...
FossilOrigin-Name: 876d09d9145775956913e975c29e81d7553839ac
2005-03-21 01:20:58 +00:00
drh
4cb29b4cfc
Allow the character "T" between date and time in ISO-8601 date/time formats.
...
Ticket #1170 . (CVS 2408)
FossilOrigin-Name: 2bf88daa57b01216c7bbe67972f479ee12be1193
2005-03-21 00:43:44 +00:00
drh
ab34b8f65a
Fix for ticket #1167 (CVS 2405)
...
FossilOrigin-Name: d9aa0aa9ae2ca0dec976ba2ae4cd7047132be45b
2005-03-20 23:18:57 +00:00
drh
8aa60cb746
Do not attempt to read the journal file on windows because manditory locking
...
on windows will not allow it. Ticket #1166 . (CVS 2404)
FossilOrigin-Name: 1865e0d81c827cc879dde96c6a9f42e740b6a560
2005-03-20 22:54:56 +00:00
drh
41712ef171
Tentative fix for ticket #1171 . More research and testing needed. (CVS 2402)
...
FossilOrigin-Name: f0a39cee78472b93cce5304fc255285ddea7d2bf
2005-03-20 19:10:12 +00:00
drh
072192dffa
Fixed a typo in alter3.test. (CVS 2396)
...
FossilOrigin-Name: 698be25d3e8f0eb2b5a4c6c7d20343b3c8a06134
2005-03-17 12:33:14 +00:00
danielk1977
37b69a0130
Don't run the tests in alter3.test if SQLITE_OMIT_ALTERTABLE is defined. (CVS 2395)
...
FossilOrigin-Name: 800fb3bf06f73af53af57f5b172c85406af374ad
2005-03-17 07:00:55 +00:00
danielk1977
19a8e7e882
Add the ALTER TABLE ... ADD COLUMN command. (CVS 2393)
...
FossilOrigin-Name: 94185dd4f7e2e941c74a521488d1212a75927218
2005-03-17 05:03:38 +00:00
drh
cb9882a753
Fix a bug in the calculation of the table record header size.
...
Ticket #1163 . (CVS 2389)
FossilOrigin-Name: bf82a04ff7c24a38d45721b3fae69d88d6e83149
2005-03-17 03:15:40 +00:00
danielk1977
d5d565235b
Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388)
...
FossilOrigin-Name: 9a358fc33d726d0b5782bf65b50f61f2bd096d56
2005-03-16 12:15:20 +00:00
drh
165ffe9708
When creating a new database, delete any preexisting journal that might be
...
left over from a prior database with the same name. Ticket #1152 . (CVS 2387)
FossilOrigin-Name: 856e2ec9688affbfe496cf184f460b18408e3dc0
2005-03-15 17:09:30 +00:00
drh
ae8b3615ee
Allow the database name in a DETACH statement to be quoted.
...
Ticket #1151 . (CVS 2386)
FossilOrigin-Name: 24e887735256499e58dabe90463524d9e6eb08ce
2005-03-15 02:04:12 +00:00
drh
b8ef32c3e8
Be more aggressive about using the busy handler. Ticket #1159 . (CVS 2385)
...
FossilOrigin-Name: 644c6398e52481e5dda87671e1c196b26b1e4990
2005-03-14 02:01:49 +00:00
drh
748f763f7a
Fixes so that the FULLSYNC changes will build on windows. They do not have
...
any effect, but neither do they cause errors. (CVS 2377)
FossilOrigin-Name: ace3e30de1cde2e8990d8429b730ca5b68acd714
2005-03-11 04:41:39 +00:00
drh
b851b2c938
Disable F_FULLSYNC if the sychronous pragma is not set to FULL. (CVS 2372)
...
FossilOrigin-Name: 58b8733b96165126ee8514f2ce0f88d249792847
2005-03-10 14:11:12 +00:00
drh
cca76c2f7e
Disable the use of ./crashtest in builds that include a codec. (CVS 2371)
...
FossilOrigin-Name: 7e4af62238bf8fa3d3cbc79e2c8951e621a0c0b4
2005-03-10 12:58:21 +00:00
drh
fec8066734
Disable the alter2 tests if there is a codec compiled into the library. (CVS 2370)
...
FossilOrigin-Name: 06a48da67b142e92624cdfd46947bd4ccc6842b7
2005-03-10 12:52:47 +00:00
danielk1977
5fd057af68
Fix a file corruption bug in CREATE INDEX in auto-vacuum databases. (CVS 2368)
...
FossilOrigin-Name: 64c4c717d35c8fce9b4be073196c507f6d471188
2005-03-09 13:09:43 +00:00
danielk1977
aee18ef8e2
Support for a future ALTER TABLE command to add columns with default values. (CVS 2367)
...
FossilOrigin-Name: 9d5abc1ddf6da37563c12d5a0401b89bb4e51c59
2005-03-09 12:26:50 +00:00
drh
97ba4c94fc
Print an error message and quit if the regression tests are run as root.
...
Ticket #1153 . (CVS 2366)
FossilOrigin-Name: 9b96078763949a2723482328e7b90c939ba8d2d8
2005-03-02 05:18:57 +00:00
drh
bf21627b6f
Add the SQLITE_OMIT_FLAG_PRAGMAS compile-time option. (CVS 2362)
...
FossilOrigin-Name: c167e9054249361d1f464d3840a5c277e6ed44ab
2005-02-26 18:10:44 +00:00
drh
ccae6026e6
Fix an assertion fault that can occur while autovacuuming a corrupt database
...
file. Add the SQLITE_OMIT_COMPLETE compile-time parameter. (CVS 2361)
FossilOrigin-Name: bb0e7e3857a06347b08d93553ac603e737322262
2005-02-26 17:31:26 +00:00
danielk1977
3fdf826699
Fix bug reported on the mailing list for WHERE clauses like (rowid<'2'). (CVS 2357)
...
FossilOrigin-Name: b323f0f2832ac5d225d880db6f56314d2f766a25
2005-02-22 09:47:18 +00:00
danielk1977
36963fdca8
Support for a future file format that includes 'short' records. (CVS 2351)
...
FossilOrigin-Name: 173aeb256e2c09098a4392874f8623e8a760d951
2005-02-19 08:18:05 +00:00
drh
75f86a4b0b
Compile-time option to limit the size of AUTOINCREMENT rowids to 32-bits. (CVS 2349)
...
FossilOrigin-Name: c5366deaf5beca9c99558c0f375ba73f817acd92
2005-02-17 00:03:06 +00:00
drh
0f68fd1bd9
Get vacuum working on database that used to have autoincrement tables but
...
where all such tables have been dropped. Ticket #1121 . (CVS 2344)
FossilOrigin-Name: 8f7c639da0f862fa2dd2f55eb7e4d453cd321540
2005-02-16 03:27:04 +00:00
drh
aee128dc20
Make sure that when a CREATE INDEX fails, it does not leave a residue behind
...
that can corrupt the database. Ticket #1115 . (CVS 2330)
FossilOrigin-Name: cbed92f397ec13b57771ab8b5be74c0cacf35dfd
2005-02-14 20:48:18 +00:00
danielk1977
2b6d46b975
Tighten up the CREATE INDEX syntax accepted by the parser. (CVS 2329)
...
FossilOrigin-Name: 41d2214b83dd52acdda64a50d0c1ef16009d06d0
2005-02-14 06:38:40 +00:00
drh
802d69a79c
Update the version number in preparation for the release of 3.1.2. (CVS 2325)
...
FossilOrigin-Name: f3c51de7599ed6d3bcdd227e290ad75829840957
2005-02-13 23:34:24 +00:00
danielk1977
a1cb183d04
Fix a problem with sub-queries and the flattening optimization. Also handle an extra case of database corruption. (CVS 2324)
...
FossilOrigin-Name: f7858d8830cdd0f57b8f9bc73068d29a7062b8ac
2005-02-12 08:59:55 +00:00
drh
8cbd373ca7
Fix a problem with VACUUM that can lead to database corruption. (CVS 2323)
...
FossilOrigin-Name: 63894baf1b37156fd0b84eba4c9c5e8f43cee3f3
2005-02-12 00:19:30 +00:00
danielk1977
48af65aeae
Add experimental collation_list pragma. (CVS 2321)
...
FossilOrigin-Name: f73a8aa34afd39e0b7df8f22b5c5d2c8d8979a1b
2005-02-09 03:20:37 +00:00
danielk1977
24c8ab8030
Document SQLITE_DEFAULT_CACHE_SIZE and SQLITE_DEFAULT_TEMP_CACHE_SIZE macros. (CVS 2320)
...
FossilOrigin-Name: ddcea6f8891b02e64f96591af161feb55c00a72c
2005-02-09 01:40:23 +00:00
danielk1977
4d88778b26
Fix a buggy interaction between "INSERT ... SELECT" processing and optimization (2170). (CVS 2319)
...
FossilOrigin-Name: c54ad2123693be8777d80343979e3261c4892105
2005-02-08 08:42:27 +00:00
danielk1977
a58fdfb162
Fix for correlated subqueries where the parent is an aggregate. Ticket #1105 . (CVS 2318)
...
FossilOrigin-Name: f0d3ca10c5bccf8fca7143028ebb3e604c0e3f20
2005-02-08 07:50:40 +00:00
danielk1977
a2dc3b1a5e
Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket #1096 . (CVS 2316)
...
FossilOrigin-Name: 515e5033a5482f55e7edb66d69ff3da7e234ff2e
2005-02-05 12:48:48 +00:00
danielk1977
ac17178853
Detect database corruption in rootpage flags (see also (2313)). (CVS 2314)
...
FossilOrigin-Name: 6d91a1e91bf0e8b4a0f5f78d079031f3ee69603b
2005-02-05 06:49:54 +00:00
danielk1977
6a67fe8edf
Remove code for SQL cursors. (CVS 2312)
...
FossilOrigin-Name: 2eb90870556c90b8d85da3d5eb7554f74ec922c2
2005-02-04 04:07:16 +00:00
drh
62d54916c4
Get AUTOINCREMENT and VACUUM working together. Ticket #1095 . (CVS 2311)
...
FossilOrigin-Name: 332a531d06a610e6597b02105fcda767313f0225
2005-02-03 01:08:20 +00:00
danielk1977
d0a6932f70
Handle "rowid<=X ORDER BY rowid DESC" where X is an integer. Fix for ticket #1092 . (CVS 2307)
...
FossilOrigin-Name: 506088796c846243e24c4cba6be4ce6511fdb345
2005-02-02 01:10:44 +00:00
danielk1977
142bdf4051
Respect collation sequences in views. Ticket #1088 . (CVS 2291)
...
FossilOrigin-Name: 9843c0dd795ceda3c260986f95b101a0cbc7cf64
2005-01-30 11:11:44 +00:00
danielk1977
6c18b6e0f4
Have the optimization introduced in (2170) deal with OP_NullRow as well as OP_Column and OP_Recno. Fix for #1086 . (CVS 2290)
...
FossilOrigin-Name: 356d31e03fe856642c5637f5ea5665947ff681fc
2005-01-30 09:17:58 +00:00
danielk1977
0fa388f685
Update to test files to support builds with OMIT macros defined. (CVS 2289)
...
FossilOrigin-Name: 808e16a7dda048c214df24170da282087042ee3a
2005-01-29 09:14:05 +00:00
danielk1977
494fa66d19
Fix a test bug causing a segfault in bind.test. (CVS 2288)
...
FossilOrigin-Name: a8b921d45ec9ef4d16ef7b5bf09aabaf02ebc70b
2005-01-29 09:00:49 +00:00
danielk1977
f7c9bfead4
Update ioerr.test to be more deterministic. (CVS 2287)
...
FossilOrigin-Name: d0b16bae6555f723400821b22916b66609a26b9c
2005-01-29 08:36:45 +00:00
danielk1977
b3bce66232
Modify sub-query handling. Tickets #1083 and #1084 . (CVS 2286)
...
FossilOrigin-Name: b1b50f315873a8614920d1e3af4a07fb29a7ff6a
2005-01-29 08:32:43 +00:00
danielk1977
c9ec413a08
Modification to schema.test so that it works with SQLITE_OMIT_TRIGGER and SQLITE_OMIT_UTF16 defined. (CVS 2285)
...
FossilOrigin-Name: 95ecb2745f3fc69d370fc3961800db56297acb68
2005-01-29 01:54:18 +00:00
danielk1977
81e9674ba6
Test that it is ok to execute ALTER TABLE immediately after opening a database connection. (CVS 2281)
...
FossilOrigin-Name: 1d5ebb1146cc6e59d8b419b3fa4796552111606d
2005-01-27 00:30:52 +00:00
danielk1977
33a5edc3a4
Have REINDEX handle missing collation sequences correctly. (CVS 2280)
...
FossilOrigin-Name: 1c1904f44310fa0e327d8f0a77f1cf97599b630a
2005-01-27 00:22:02 +00:00
danielk1977
e257300f2e
Allow GROUP BY on non-aggregate queries. Ticket #1064 (CVS 2276)
...
FossilOrigin-Name: 0642d3e3d6636a5f922f75c05252c9c1372d3936
2005-01-26 03:58:35 +00:00
danielk1977
9636c4e102
Prevent collation sequences and user functions from being deleted or changed while SQL statements are executing. (CVS 2275)
...
FossilOrigin-Name: cabab62bc10568d435806a7059fad7274f0dd4c8
2005-01-25 04:27:54 +00:00
danielk1977
bfb9e35b30
More test cases to do with invalidating precompiled statements. (CVS 2273)
...
FossilOrigin-Name: b243681a0e328ee0bbf1140abfb60d65d2102ad5
2005-01-24 13:03:32 +00:00
drh
190765c470
Use the cache with loading a large table in select2-2.0. (CVS 2272)
...
FossilOrigin-Name: bd65b1805c116a9073a01164d77e2bfd4ab3b447
2005-01-24 12:46:14 +00:00
danielk1977
a21c6b6fe0
Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271)
...
FossilOrigin-Name: d5233e0747789dea04d35a8350b408321d23a64d
2005-01-24 10:25:59 +00:00
drh
d5a71b5de3
Flush the TCL statement cache before each lock_status pragma. (CVS 2270)
...
FossilOrigin-Name: 8beae3ff8cbe23f20eb242187edbdb72133a24c3
2005-01-24 01:38:32 +00:00
drh
fb7e7651ca
Change the TCL interface so that it can cache VMs and reuse them without
...
recompiling. But for now leave the cache turned off by default. (CVS 2269)
FossilOrigin-Name: 8db6bfef52c1f35afdb8b60cba34f6807a5917f4
2005-01-24 00:28:42 +00:00
drh
178286b5df
ATTACH and DETACH cause prepared statements to expire.
...
sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265)
FossilOrigin-Name: 6c631b86e5e166f650d3f7d53c773aa859391c2b
2005-01-23 13:14:55 +00:00
danielk1977
32554c10d0
Test script changes: Bug fix and cleanup on ioerr tests. Also, don't use TCL "file copy" command on windows. (CVS 2264)
...
FossilOrigin-Name: 764b55adb5dff944db36d0d19ce5e7cc758b3a9e
2005-01-22 03:39:39 +00:00
drh
d89bd007ba
Add the experimental sqlite3_expired() API. (CVS 2263)
...
FossilOrigin-Name: df648d50c0696cf7ada2fe5973d285b494891964
2005-01-22 03:03:54 +00:00
drh
7bf5661068
Final preparations for the 3.1.0 alpha release. (CVS 2255)
...
FossilOrigin-Name: 17122c7e8e9cae36f1ffa7b42bd69d702980ac6a
2005-01-21 15:52:32 +00:00
danielk1977
576ec6b32a
Improve test coverage for minimum feature builds. (CVS 2254)
...
FossilOrigin-Name: 9c4d0e13e8c5f3fc4d7fd8f495898372293f7fad
2005-01-21 11:55:25 +00:00
danielk1977
e61b9f4f3c
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (but no other OMIT macros) is defined. (CVS 2252)
...
FossilOrigin-Name: d4e19efcef68d834c55c7d496cdb3696d63a31a2
2005-01-21 04:25:47 +00:00
danielk1977
3e8c37e7f8
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251)
...
FossilOrigin-Name: bb0254ab14417f0ab40f10f37cb63a60507f070a
2005-01-21 03:12:14 +00:00
drh
801845fb2d
Add a new test file for subqueries. (CVS 2250)
...
FossilOrigin-Name: de8ee3a29e1aafcfa05841cb44da0a05f0579596
2005-01-21 02:34:44 +00:00
drh
fe2093d73e
Bug fixes and enhancements entered while on jury recess. (CVS 2246)
...
FossilOrigin-Name: 38401dfbd5e3b50dd4e7a11562a7770347cebdf4
2005-01-20 22:48:47 +00:00
danielk1977
1ad7f64aac
Changes so that crash.test works when SQLITE_OMIT_PAGER_PRAGMAS is defined. (CVS 2242)
...
FossilOrigin-Name: f0add0a60e0afb833202e42cdba97bafe6a59dfc
2005-01-20 05:24:32 +00:00
danielk1977
4489f9bdec
Fix some test scripts so that they work with a minimal build configuration. (CVS 2241)
...
FossilOrigin-Name: d267fb3ca3f31ee138c9613cb84e873ede7f141a
2005-01-20 02:17:01 +00:00
danielk1977
600dd0ba33
Add the experimental sqlite3_sleep() and sqlite3_clear_bindings() APIs. (CVS 2237)
...
FossilOrigin-Name: 9480209e8600bf411975b3950c407d60c800e5c6
2005-01-20 01:14:23 +00:00
drh
1398ad3639
Continued refactoring of the name resolution logic and query optimizer. (CVS 2236)
...
FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
2005-01-19 23:24:50 +00:00
danielk1977
76b047d957
Another fix along the same lines as (2234) (CVS 2235)
...
FossilOrigin-Name: 27cf83224c69e661c19f9a09f39bfdae75e3b0a4
2005-01-19 03:52:54 +00:00
danielk1977
ca6707145d
A few test cases were failing on windows due to mandatory locking. Omit them on that platform. (CVS 2234)
...
FossilOrigin-Name: 441316f1af076fef42055d6abe524f2a8c5ced63
2005-01-19 03:47:15 +00:00
drh
030530de9b
Make sure USING and NATURAL work on joins even if the columns are renamed
...
using an AS phrase. Ticket #523 . (CVS 2233)
FossilOrigin-Name: c06add57bf0ce17503181b584ea4197b39b9e538
2005-01-18 17:40:04 +00:00
drh
79d5f63fa2
CREATE TABLE ... AS ... uses short names for columns. Ticket #1036 . (CVS 2232)
...
FossilOrigin-Name: b1d4c42d2be07adda68d31c570ba7cf8b115c3ad
2005-01-18 17:20:10 +00:00
drh
47a6db2bfd
Column names coming back from a SELECT are now just the name of the
...
source column without the "table." prefix. In other words,
"PRAGMA short_column_names=ON" is now the default.
This makes the names of columns behave more like other SQL engines.
The old behavior can be restored by setting "PRAGMA short_column_names=OFF". (CVS 2231)
FossilOrigin-Name: 9295050af1bf2d9d4dc63adc225a2848d67cbe17
2005-01-18 16:02:40 +00:00
drh
9b3187e113
Continue refactoring name resolution. Fix for ticket #1047 . (CVS 2230)
...
FossilOrigin-Name: 88d4834fec7583a9b6400a1ce5b928c1f8a390dd
2005-01-18 14:45:47 +00:00
danielk1977
3719d7f9c4
Fix a bug reported on the mailing list concerning a conflict between "INSERT INTO ... SELECT" statements and the "SELECT max(x) FROM tbl" optimization. (CVS 2227)
...
FossilOrigin-Name: 5a9da62ae303800ded99942aed30eadeb3863da3
2005-01-17 08:57:09 +00:00
danielk1977
5558a8a697
Fix some memory leak problems with corrupt.test and auto-vacuum databases. (CVS 2226)
...
FossilOrigin-Name: 6244252915fa312a6c4d192464023d95aaef4661
2005-01-17 07:53:44 +00:00
danielk1977
2683665406
Have sqlite3pager_get() return SQLITE_CORRUPT for a page number greater than 2^31. (CVS 2222)
...
FossilOrigin-Name: feb49d10e83ecc186024d4e96b64ef92cf876715
2005-01-17 01:33:13 +00:00
drh
615ae553fc
Turn on quick-balance by default. (CVS 2221)
...
FossilOrigin-Name: d0356dee55bd43f361ede1344e90d1ba6b5cde1e
2005-01-16 23:21:00 +00:00
danielk1977
aac0a38d1f
Changes to make sure tests work when SQLITE_DEFAULT_AUTOVACUUM is defined. (CVS 2219)
...
FossilOrigin-Name: 6237c294d1211d5848bafb1310574e2486a43757
2005-01-16 11:07:06 +00:00
danielk1977
4e17d14c63
Fixes so that compiling and testing works when SQLITE_OMIT_AUTOVACUUM is defined. (CVS 2218)
...
FossilOrigin-Name: fe548561a0e7a696fd453372f4427cf3e3f19d20
2005-01-16 09:06:33 +00:00
danielk1977
ac11ee6766
Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216)
...
FossilOrigin-Name: 0ae29538ccccfc237904cbcfb4507074db0f5905
2005-01-15 12:45:51 +00:00
drh
018d1a4929
Test coverage improvements. (CVS 2215)
...
FossilOrigin-Name: 92f9d2b2f480fccfa6e8b70a1d19058b92a4ea8f
2005-01-15 01:52:31 +00:00
drh
8b07c7178a
Improved test coverage for update.c. (CVS 2214)
...
FossilOrigin-Name: 3ef95d5fe98e7451f8b87b3f5259163f3e7d0289
2005-01-15 00:40:42 +00:00
drh
39df51b269
Improved coverage for insert.c. (CVS 2213)
...
FossilOrigin-Name: 997d8afff9b316aef4c5e2127c2207758ff4a703
2005-01-15 00:36:36 +00:00
danielk1977
ac245ec5af
Experimental patch to balance() (use -DSQLITE_BALANCE_QUICK). (CVS 2211)
...
FossilOrigin-Name: c550d80c25ec88fceb20acabd00c21faa2d552f5
2005-01-14 13:50:11 +00:00
drh
d6fe961ef4
Improved test coverage on insert.c. (CVS 2210)
...
FossilOrigin-Name: c772f75166d55192132e732e8a0ddda5926f00f2
2005-01-14 01:22:00 +00:00
danielk1977
c08d405d2e
Tidy up malloc.test a bit. (CVS 2207)
...
FossilOrigin-Name: 94cf91cc5dc0d656636211d23350a1ec29aced8a
2005-01-13 13:35:57 +00:00
danielk1977
aca790ace3
Test cases to improve coverage of pager.c. (CVS 2205)
...
FossilOrigin-Name: 0428a1480126f7e73dc1e24b6fbfa185d2d83dd3
2005-01-13 11:07:52 +00:00
danielk1977
2c3365493b
Fixes to 'configure' build system. Also extra coverage for main.c. (CVS 2204)
...
FossilOrigin-Name: 8378455f32c3010ccc28181048c746ecb8a9fa67
2005-01-13 02:14:23 +00:00
danielk1977
656152c2e3
Fix a test bug introduce with the previous commit. (CVS 2203)
...
FossilOrigin-Name: 1c19e8bdca24484fcb9f068b38ebfbce3e24ada5
2005-01-12 13:04:54 +00:00
danielk1977
4397de57ce
Tests to improve coverage of main.c. (CVS 2202)
...
FossilOrigin-Name: 4e28c82adabb58ad9f79ed829734a2ff569a7c05
2005-01-12 12:44:03 +00:00
danielk1977
8b60e0f142
Tests to improve coverage of vdbeaux.c. (CVS 2201)
...
FossilOrigin-Name: 2b3e21ce2e8126ec2851751546094c3a2c831942
2005-01-12 09:10:39 +00:00
danielk1977
b5402fbf05
Tests to improve coverage of vdbemem.c. (CVS 2200)
...
FossilOrigin-Name: 319bb4a9064deb062a888fdc31067619c9b749bb
2005-01-12 07:15:04 +00:00
drh
c8f9079c61
Fix a bug in tclsqlite.c. (CVS 2199)
...
FossilOrigin-Name: 50f1e229652610b386745bb39fed45549cc74aa7
2005-01-12 00:08:24 +00:00
drh
ac931eb93b
Fix for ticket #1062 : Correctly handle redundant terms in a WHERE clause. (CVS 2198)
...
FossilOrigin-Name: 1bee1bb91d39ff8a33efe662b6cab6dbd2d50e3c
2005-01-11 18:13:56 +00:00
drh
48e5aa2769
Test coverage improvements on tokenize.c. (CVS 2196)
...
FossilOrigin-Name: 5767850ccadb3b53d14bca547e50f65de1d3092e
2005-01-11 17:46:41 +00:00
drh
c5cdca613a
Improved test coverage for vdbeaux.c. (CVS 2195)
...
FossilOrigin-Name: 3f46cd7767cf7c48dd1de7ae1c4104d6d1a609be
2005-01-11 16:54:14 +00:00
drh
cacb208e4e
Improved test coverage for util.c. (CVS 2194)
...
FossilOrigin-Name: ad451a2ddc7993035768f2801d590311807f4397
2005-01-11 15:28:33 +00:00
danielk1977
01427a6214
Test cases to improve coverage of vdbe.c. (CVS 2193)
...
FossilOrigin-Name: a6b45722071bde543c4ea28a432339d8708a5cac
2005-01-11 13:02:33 +00:00
danielk1977
2812956b18
Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190)
...
FossilOrigin-Name: 8ced491588764b1e1066787d0abf3cde8b60970b
2005-01-11 10:25:06 +00:00
danielk1977
7701e817ba
Extra test cases to improve coverage of btree.c (CVS 2189)
...
FossilOrigin-Name: a461988661368bce799ef3d498a18e88559e14c7
2005-01-10 12:59:51 +00:00
danielk1977
cc6bd38380
Fix an assertion failure due to interaction between the count_changes pragma and triggers. (CVS 2187)
...
FossilOrigin-Name: 6c7bec1b3aee0287e30f43c1d6a7b67b1c47e774
2005-01-10 02:48:49 +00:00
drh
268283bc7f
Fixes to the temp_store_directory pragma. (CVS 2185)
...
FossilOrigin-Name: 0a90eaf398aa4a689cd8326cd017951513ca748a
2005-01-08 15:44:25 +00:00
danielk1977
59adfaa6ce
Minor test script changes to allow all.test to run when SQLITE_DEFAULT_AUTOVACUUM=1 is defined. (CVS 2182)
...
FossilOrigin-Name: 5023b1dba2e61bb10d1b488874e3d3eea3973145
2005-01-08 02:35:44 +00:00
danielk1977
d9c847dcd1
Reset the temp_store_directory each iteration of tests in all.test. (CVS 2181)
...
FossilOrigin-Name: 7373a5d4cf2db921b33132c736ad62ab702d7cde
2005-01-07 10:42:48 +00:00
drh
49d642dba8
Allow GROUP BY on aggregate queries only. Ticket #1039 . (CVS 2176)
...
FossilOrigin-Name: 8ef2c644ebce851d7a3e0db3b2266fc2519485cd
2005-01-03 02:26:54 +00:00
drh
c89b91beee
Fix typos in comments in test code.
...
(Oops. This check-in also picked up some unrelated
changes to documentation.) (CVS 2175)
FossilOrigin-Name: 586acc85b170f84d6e0dbd2e293da19551242f5a
2005-01-03 01:32:59 +00:00
tpoindex
9a09a3caed
Add PRAGMA 'temp_store_directory'. Added os_*.c function
...
sqlite3OsIsDirWritable(), split pragma.c changeTempStorage() function into
invalidateTempStorage(). (CVS 2171)
FossilOrigin-Name: 772e22cbd69463be41c2e73b4fd4eb33946193c4
2004-12-20 19:01:32 +00:00
drh
9012bcbc0a
The optimizer now uses only the index and ignores the table if it can get
...
away with doing so, thus saving a single BTree search per row of result.
This could potentially double the speed of certain queries. The
code passes all regression tests but new tests to exercise the new
functionality are yet to be added. (CVS 2170)
FossilOrigin-Name: e5aa489453bf31126da6473ef93c89ec27935cde
2004-12-19 00:11:35 +00:00
drh
51669863a8
Improvements to the query optimizer. This is a work in progress. (CVS 2169)
...
FossilOrigin-Name: 9b86993ff721b577b920c7c67fb41d3d4355fe88
2004-12-18 18:40:26 +00:00
tpoindex
1067fe1104
Add 'copy' method for tcl interface. Behaves similar to shell .import or COPY statment in 2.x. (CVS 2167)
...
FossilOrigin-Name: a9311d9df054a91e231d4e4332df0d661675744d
2004-12-17 15:41:11 +00:00
drh
be5fd4906d
Make sure LIMITs are handled correctly on UNION operators. Ticket #1035 . (CVS 2166)
...
FossilOrigin-Name: ece0085f86bd715c95a6c59f41b4a97de2555faf
2004-12-16 21:09:16 +00:00
drh
2530378003
Only evaluate expressions once for UPDATE and INSERT statements that
...
have BEFORE triggers. Fix for ticket #980 . (CVS 2158)
FossilOrigin-Name: 4852186aca3be6ea40069b6831079197e5fa757a
2004-12-07 15:41:48 +00:00
drh
251b067ccd
fulltest runs now, but still finds a memory leak. (CVS 2150)
...
FossilOrigin-Name: 5944d51e6c164270301b57e4351add4cb6137be6
2004-11-23 22:16:39 +00:00
danielk1977
1d54df88e3
Add authorization callbacks for REINDEX. (CVS 2148)
...
FossilOrigin-Name: 9f0d744ee4d99f44e88c6f799821791c3b5f31b6
2004-11-23 15:41:16 +00:00
danielk1977
11cf9fbcf2
Make the test suite pass when SQLITE_OMIT_SCHEMA_VERSION_PRAGMAS is defined. (CVS 2146)
...
FossilOrigin-Name: ff20c623c64d67b19c13c4fd3afe8ea137bb8a0b
2004-11-23 11:16:42 +00:00
danielk1977
c7b4a44cda
Ensure the test suite runs with SQLITE_OMIT_PAGER_PRAGMAS defined. (CVS 2145)
...
FossilOrigin-Name: 2d1f0b923d3c5a669959a03a4344fddcb69c7a98
2004-11-23 10:52:51 +00:00
danielk1977
27188fb5f0
Have tests pass when SQLITE_OMIT_SCHEMA_PRAGMAS is defined. (CVS 2144)
...
FossilOrigin-Name: 6ccb589bd94fc7d33e07caa39e011c3628563e9b
2004-11-23 10:13:03 +00:00
danielk1977
ae82558bd0
Fix a bug involving balance_shallow() and the sqlite_master table. (CVS 2143)
...
FossilOrigin-Name: 557be3ff5b1c46a3f3836ea3a9d9dede5dc46998
2004-11-23 09:06:55 +00:00