drh
2333606e9c
Fix a problem in check-in (6226) which could cause an assertion fault
...
following a malloc failure. The prior check-in was for ticket #3624 . (CVS 6235)
FossilOrigin-Name: 1ffe44e9d6b49346a75850a977953de12c127069
2009-02-03 13:19:12 +00:00
drh
478000cf5c
Check-in (6230) introduced a bugs in SUBSTR() which was caught by the fuzz
...
tester. Fixed by this check-in. Related to ticket #3628 . (CVS 6234)
FossilOrigin-Name: cd2e7f6c0fe4c0c648f8ca21388ab0769164f5ef
2009-02-03 13:10:54 +00:00
drh
07d3117aed
Make group_concat() a 1- or 2-value function, as the documentation says it
...
should be. Use the md5sum() function to verify ticket #3179 , not
group_concat(). This undoes the ill-advised group_concat() change of
check-in (5233). (CVS 6233)
FossilOrigin-Name: f2ae82c4d46c2eca30fc60a50ab5064728f20739
2009-02-02 21:57:05 +00:00
drh
bdb339ff73
Omit the TEMP keyword from the schema of TEMP tables created using
...
CREATE TEMP TABLE AS SELECT ..... Ticket #3630 . (CVS 6232)
FossilOrigin-Name: 3b0a25548c4c15c86aadcd9a6c3af0adafb85c17
2009-02-02 18:03:21 +00:00
drh
a0df4ccfe3
Minor simplifications to SQL function implementations. (CVS 6231)
...
FossilOrigin-Name: 92e5c27f20f150c1777c1b91d35207ade961319d
2009-02-02 17:29:59 +00:00
drh
65595cd60b
Update the SUBSTR function so that works consistently when the
...
2nd parameter is 0. Ticket #3628 . (CVS 6230)
FossilOrigin-Name: 5fc125d362df4b8525c7e1ab34a14f505756af24
2009-02-02 16:32:55 +00:00
drh
9373b01882
Restrict the RANDOM() function to have zero arguments. Ticket #3627 . (CVS 6229)
...
FossilOrigin-Name: b8b546b6ed799dc1621ef7b06273249af1042fb2
2009-02-02 01:50:39 +00:00
drh
8198d25442
Fix SUBSTR() so that it returns NULL if any argument is NULL.
...
Ticket #3626 . (CVS 6228)
FossilOrigin-Name: 779fce82b7a89b972da488ce8bd35e23ca120c04
2009-02-01 19:42:37 +00:00
drh
4e79c59454
Fix the SUBSTR() function so that when the 3rd argument is negative,
...
it counts backwards from the selected start point. Ticket #3625 . (CVS 6227)
FossilOrigin-Name: 2217339badf1e84edbed1309c39b9f8dfd7646ff
2009-02-01 19:23:32 +00:00
drh
a605fe8d8b
Change the replace() function to return a copy of its first argument when
...
the 2nd argument is an empty string. Ticket #3624 . (CVS 6226)
FossilOrigin-Name: ffebf10f6fb2c7f3083992e2c712682b4cdcc6f0
2009-02-01 18:08:40 +00:00
drh
9437bd2945
Adjust comments in vdbe.c to use OP_MakeRecord instead of the obsolete
...
OP_MakeIdxRec. Ticket #3619 . (CVS 6225)
FossilOrigin-Name: 0d2abbbff5d9e12e2382ed201bf1648c5918c1c0
2009-02-01 00:29:56 +00:00
drh
c5cad1e350
Add a new test command, sqlite3_mprintf_long, for testing the behavior
...
of "long integer" printf formatting. Ticket #3621 . (CVS 6224)
FossilOrigin-Name: 3ba1a17b1306bc61b9861ec8d3b239e16a3081ba
2009-02-01 00:21:09 +00:00
drh
565911e912
Make the TO keyword available even if SQLITE_OMIT_ALTERTABLE is defined.
...
Ticket #3622 . (CVS 6223)
FossilOrigin-Name: 3890985ca6750584876596fd0a124f47ee032075
2009-02-01 00:00:45 +00:00
drh
dfbc3a8a3b
Better error message when coalesce() has too few arguments. Ticket #3623 . (CVS 6222)
...
FossilOrigin-Name: 9cd43c82a3c123829806aa7bf14efdd29f4424d8
2009-01-31 22:28:48 +00:00
danielk1977
64beba4338
Avoid a segfault when running vacuum on an in-memory database. Ticket #3620 . (CVS 6221)
...
FossilOrigin-Name: 407830c6839a81fa0a1010940740df3011713a88
2009-01-31 14:54:06 +00:00
drh
c531a22377
Fix a round-off error when moving dates by negative modifier amounts.
...
Ticket #3618 . Enhance the "NNN years" modifier to accept fractional
years. (CVS 6220)
FossilOrigin-Name: 86be908c5e77ba2b9ac98e394fa987b443d790f8
2009-01-30 17:27:44 +00:00
shane
1a38964b50
Made code to remove unused parameter warning part of the conditional. Ticket #3610 . (CVS 6219)
...
FossilOrigin-Name: c5dca1146de72071ed2e5fdf6890f41682272587
2009-01-30 16:09:22 +00:00
shane
f71f89e842
Changes to setupLookaside() in main.c to better handle lookaside buffer configurations of zero-size. Ticket #3616 . (CVS 6218)
...
FossilOrigin-Name: 0a2c7f740397c5c6373434c75d73c2714f14dd32
2009-01-30 06:11:54 +00:00
shane
9db299fb8f
Implemented the SQLITE_LAST_ERRNO op in the xFileControl() method of os_win.c. Ticket #3615 . (CVS 6217)
...
FossilOrigin-Name: 9ea871f3e8ce1ec5cffb72f13704c3002d3f5383
2009-01-30 05:59:10 +00:00
shane
6a91ca06b8
In test case incrvacuum-15.1 close both db handles (db and db2) before attempting to delete test.db. Ticket #3614 . (CVS 6216)
...
FossilOrigin-Name: e764a7c5d369e2ff736d662b1209b3d54d778caf
2009-01-30 05:47:15 +00:00
shane
d87897dfa2
Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610 . (CVS 6215)
...
FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725
2009-01-30 05:40:27 +00:00
drh
db15bcd550
Add test cases to make sure that keywords that we say can be used as
...
identifiers really can be used as identifiers. These tests were
inspired by ticket #3612 , but they do not directly address ticket #3612 . (CVS 6214)
FossilOrigin-Name: 6041ca87a16858f047727bc01f10b0bbc83609ed
2009-01-29 19:27:46 +00:00
vapier
832a36dbf5
add a cvsignore file (CVS 6213)
...
FossilOrigin-Name: 68c8cdd73b2b9f03264f9fdd27cddb65e1bdc7ae
2009-01-29 02:54:56 +00:00
drh
20abac2f87
Fix a segfault that can occur when attempting to insert into
...
a corrupt database file. Need a test case. (CVS 6212)
FossilOrigin-Name: 68957cf0c4bae0c6cf450b4de1d6bc1bc64b232c
2009-01-28 20:21:17 +00:00
vapier
6acb2cf665
regenerate autotools (CVS 6211)
...
FossilOrigin-Name: 813a3c96863acc9dd6ccd41e7ac9f57d635bcc0d
2009-01-28 04:46:28 +00:00
vapier
6d120f39aa
unify TCLLIBDIR handling with libtclsqlite3.so and use libtool to install it rather than custom tclinstaller.tcl ... this integrates better with autotools and avoids relinking issues (RPATH pointing to builddir) (CVS 6210)
...
FossilOrigin-Name: 3a049ca761f36d0fdb3b5b5f254c00210b373e9e
2009-01-28 04:46:14 +00:00
drh
6711002c7b
Add testcase() macros for coverage in date.c. (CVS 6209)
...
FossilOrigin-Name: 90b42eba8e02402c342e04236148bbd5e4d93eb8
2009-01-28 02:55:28 +00:00
vapier
695f097075
use AC_MSG_xxx funcs rather than echo
(CVS 6208)
...
FossilOrigin-Name: ed08025ad2c5c9e52732ad91192e1c6d58272c87
2009-01-26 21:43:16 +00:00
vapier
fe7e82e4be
( #3449 ) search for tclConfig.sh first by asking tclsh itself where it is (CVS 6207)
...
FossilOrigin-Name: ff2912dc1483bf934c94bd7866b4ec314a0d784f
2009-01-26 21:39:33 +00:00
vapier
8f50e7b865
( #1428 ) installed shared libs with exec perms (CVS 6206)
...
FossilOrigin-Name: 3f2a3414d008636e0d70f3ed8b728ffdd46ae9fc
2009-01-26 21:25:57 +00:00
vapier
2574da5fd5
( #3583 ) add a rule for sqlite3.pc in case the .in file is updated (CVS 6205)
...
FossilOrigin-Name: 4d03b69317acde5c29f38ae88276c15abf05266a
2009-01-26 20:59:02 +00:00
drh
bae6f21892
Remove obsolete files from the tools subfolder. (CVS 6204)
...
FossilOrigin-Name: d74560803e16eb2d28fc644b9aedb8c60eb224c6
2009-01-24 15:23:00 +00:00
drh
dc86e2b2cd
Fix some minor compiler warnings. Added sqlite3Isalpha() for use in
...
the soundex() function. (CVS 6203)
FossilOrigin-Name: bfc71edca471221add6b32b867d0b15171974eaf
2009-01-24 11:30:42 +00:00
danielk1977
25f42fe7a1
Remove incorrect ALWAYS macro associated with empty IN() sets. Ticket #3602 . (CVS 6202)
...
FossilOrigin-Name: f3c09a0cb8bfc1a112c31b556d8921d5c75c5eef
2009-01-24 09:56:15 +00:00
danielk1977
e1fd508a28
Optimization: When loading a new page into the cache, avoid redundant memset() calls to zero it. (CVS 6201)
...
FossilOrigin-Name: 9c0b9f881367871105965d4268e2f2cde7f4d884
2009-01-23 16:45:00 +00:00
drh
663d56d46f
Fix the VACUUM command so that it does not commit a transaction when it is
...
mistakenly run within a transaction - it should leave the transaction open. (CVS 6200)
FossilOrigin-Name: 75cc709be46ae2096d2ba3e7ac58de8140f8130c
2009-01-22 23:04:45 +00:00
danielk1977
859546cae6
Silence a C++ builder warning by writing "if( (rc = function())!=SQLITE_OK )" instead of "if( (rc = function()) )" in two places in pager.c. Ticket #3605 . (CVS 6199)
...
FossilOrigin-Name: 78ae96def54026461c0d03a90394480f724ea584
2009-01-22 17:12:39 +00:00
danielk1977
e1d3ac9cd0
Add a comment to fts3_tokenizer.h to make it clear how the xNext() method is supposed to set its output variables. Make sure the output variables of xNext() are only used if SQLITE_OK is returned. Ticket #3604 . (CVS 6198)
...
FossilOrigin-Name: 5b3c075f96be9671d0bcffe928589b211559e835
2009-01-21 17:45:33 +00:00
danielk1977
bea2a94850
Big change to make pager.c easier to follow. Unused variables removed, comments improved, etc. (CVS 6197)
...
FossilOrigin-Name: 12f7346c13c180ed73d7a2e3b590be457360254a
2009-01-20 17:06:27 +00:00
danielk1977
78ca0e7eb4
When not compiling for an EBCDIC system, use built-in alternatives to the tolowe
...
r(), toupper() and other ctype.h library functions. Ticket #3597 . (CVS 6196)
FossilOrigin-Name: 1041abd6784d283bebf646c54e93599522f7889d
2009-01-20 16:53:39 +00:00
drh
770b3cb763
Make sure the *pzErrMsg return from sqlite3_get_table() is aways zeroed.
...
Ticket #3598 . (CVS 6195)
FossilOrigin-Name: 7035c35dbef72b7b4d00201a65734a6d93dd0d3e
2009-01-19 20:49:09 +00:00
drh
8b72747db0
Fix the --enable-tempstore option on the configure script. Ticket #3599 (CVS 6194)
...
FossilOrigin-Name: c2eabb99fe852142e54f35f423f766411d7ba6c0
2009-01-19 18:18:40 +00:00
drh
b8613ab127
Make sure mutexes are fully enabled for thread001.test. Take steps to
...
ensure that the thread tests run during regression testing. (CVS 6193)
FossilOrigin-Name: 6242f113eb40d472b78685c296fecf9f749a11cd
2009-01-19 17:40:12 +00:00
danielk1977
3cfe07037f
Fix a bug that was preventing SQLite from releasing locks properly under obscure circumstances. (CVS 6192)
...
FossilOrigin-Name: 502c66df8b5fc5ec8e3d94202030571a4920fb9c
2009-01-17 16:59:40 +00:00
drh
07108f5626
Back out the Makefile.in changes from check-in (6181) because of reports
...
(ticket #3594 ) that they do not work on NetBSD. Separately, documentation
is updated to make clear that configure and Makefile.in are unsupported. (CVS 6191)
FossilOrigin-Name: 2d79aaab134c8a09722cb0466d45e04002bce54f
2009-01-17 15:53:31 +00:00
drh
a6d90f0ddd
Remove a harmless UMR that occurs inside some debugging code. (CVS 6190)
...
FossilOrigin-Name: 191c399fc6354b35477ec21f685377e2af26f49b
2009-01-16 23:47:42 +00:00
danielk1977
db3403973c
Fix a change-counter bug similar to #3584 . This one is much more obscure though, requiring a transient IO or malloc error to occur while running in exclusive mode. (CVS 6189)
...
FossilOrigin-Name: 9f07d2d9226b73c4dc311fd142e0aaba4ffcb078
2009-01-16 16:40:14 +00:00
danielk1977
45d6882fd9
Revert (6187). (CVS 6188)
...
FossilOrigin-Name: a353c1ab376b159c4d12532412365318cdbdcc60
2009-01-16 16:23:38 +00:00
danielk1977
443c0597fe
This commit is an error. Reverted by (6188). (CVS 6187)
...
FossilOrigin-Name: aa67fd0cdb4f53a0c6e15c001d37554d15006718
2009-01-16 15:21:05 +00:00
danielk1977
78c2e6d837
Allow recently added keywords 'savepoint' and 'release' to be used as database object names. Just as they could be prior to 3.6.8. Ticket #3590 . (CVS 6186)
...
FossilOrigin-Name: 54ab8326a1ea574b183f84c8465315e989a23ca4
2009-01-16 11:04:58 +00:00