drh
f92c7ff74a
Clear up another zero-length array. This seems to fix the segfault in
...
func-13.4 too. (CVS 1641)
FossilOrigin-Name: 70680a34b4b617286d92730bd3042b8b569b3371
2004-06-19 15:40:23 +00:00
danielk1977
f9d64d2c30
Remove the iCollate argument from sqlite3_create_function() (CVS 1632)
...
FossilOrigin-Name: 728d57ff5517a51c3aad4ba95525b1aa2065bd19
2004-06-19 08:18:07 +00:00
danielk1977
3f6b087471
Use the faster LIKE function from sqlite v2. Add special user functions to
...
test builds to test the auxdata APIs. (CVS 1610)
FossilOrigin-Name: b9493c5facea4d24a6cbc4f6fa2f75dc2399a11d
2004-06-17 05:36:44 +00:00
danielk1977
5c4c77878d
Fix handling of a failed malloc() in various places (CVS 1604)
...
FossilOrigin-Name: 7d8edce4c12d075acbc6bac6758aabb2769f983a
2004-06-16 10:39:23 +00:00
danielk1977
b20e56b451
Memory leak fixes for tests in file select1.test. (CVS 1599)
...
FossilOrigin-Name: 59db58ebd30cd7c79c32f5a725620e740eff661d
2004-06-15 13:36:30 +00:00
danielk1977
d8123366c4
(1) Modifications to the user-function interface and (2) Internal changes
...
to automatically created indices. (CVS 1575)
FossilOrigin-Name: 5903f53828b5d282b33e27813417e4317c9ecf0b
2004-06-12 09:25:12 +00:00
danielk1977
dc8453fd7a
Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572)
...
FossilOrigin-Name: 9b84f2f488e1d37ba1a4c4cf31490bcbba0f6edd
2004-06-12 00:42:34 +00:00
danielk1977
dc1bdc4f9d
Fix various collation sequence issues. (CVS 1568)
...
FossilOrigin-Name: 66835ee67051027456a536e33b2f88a741654525
2004-06-11 10:51:27 +00:00
danielk1977
3f41e976e8
Enhance the built-in function quote() to support blob values. (CVS 1541)
...
FossilOrigin-Name: 97aa54bb70715934e0af082d51b9b0f6bb847e8e
2004-06-08 00:39:01 +00:00
danielk1977
ad7dd42558
Performance improvements for LIKE. It is still too slow though. (CVS 1535)
...
FossilOrigin-Name: 30b81507fc404355751705c6f9856c178249eff1
2004-06-06 12:41:49 +00:00
danielk1977
d02eb1fdf4
Enhance user function API to support association of meta-data with constant
...
arguments and the specification of text encoding preference. The LIKE
operator takes advantage of both. (CVS 1534)
FossilOrigin-Name: 92337d8f79b9754cd61c73e7db2e792a1f482f50
2004-06-06 09:44:03 +00:00
drh
9c054830b4
Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)
...
FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76
2004-05-31 18:51:57 +00:00
danielk1977
f93bbbea47
A few more bugfixes. Test cases pass now. (CVS 1472)
...
FossilOrigin-Name: c9e3015faffb650d8dbf1f7f95a7057a36361bac
2004-05-27 10:30:52 +00:00
danielk1977
c572ef7fcd
Various bugfixes. 68 Test cases still fail. (CVS 1471)
...
FossilOrigin-Name: 67a140cf78d99e38ccd94751c4f8ead1a2b96859
2004-05-27 09:28:41 +00:00
drh
f44795013f
Fixes to the MEM changes. The library now links. (CVS 1470)
...
FossilOrigin-Name: f33d15d95f195e26e1ef396158597a2caa06f374
2004-05-27 03:12:53 +00:00
drh
4f26d6c429
Refactoring of the vdbe Mem functions and the APIs that deal with them.
...
The code will not compile in its current state. (CVS 1465)
FossilOrigin-Name: bba6684d502ba1ecd9614d2470ec94296e3c07c2
2004-05-26 23:25:30 +00:00
drh
f9b596ebc0
Remove dataType and includeTypes flags from function definitions. Added new
...
P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions.
28 tests fail now. (CVS 1464)
FossilOrigin-Name: 36e031625995b2f7baf7654d771ca8fb764a0085
2004-05-26 16:54:42 +00:00
danielk1977
6590493d53
Use the new form of the sqlite3_create_function() API. (CVS 1460)
...
FossilOrigin-Name: 0317bef4b0c219ca2888c90553201e53230fb360
2004-05-26 06:18:37 +00:00
danielk1977
0ae8b83155
Change a couple of symbol names for the new user function API. (CVS 1454)
...
FossilOrigin-Name: 8f6b20c2938ded7ab9e400494c02370ecf7e9311
2004-05-25 12:05:56 +00:00
danielk1977
7e18c259fe
Use the new API for returning values and errors from user functions. (CVS 1453)
...
FossilOrigin-Name: 4eccae03b4a7f37804fea30416579787c3584bb2
2004-05-25 11:47:24 +00:00
danielk1977
88208050b6
Add manifest type aware versions of the min() and max() aggregates. (CVS 1452)
...
FossilOrigin-Name: b77c268ebebd5401c3f519a72cfb81438207368c
2004-05-25 01:13:20 +00:00
danielk1977
6ddcca553d
Aggregate functions also use sqlite_value* instead of const char * for
...
arguments. (CVS 1451)
FossilOrigin-Name: 5c28ed5e9b5a3ecb3081ce0c5c9450d6ae8dc77d
2004-05-24 23:48:25 +00:00
danielk1977
35bb9d026e
Update the typeof() operator to respect manifest types. (CVS 1450)
...
FossilOrigin-Name: 162cf42e33691f4c9ec3a25abcaa2bdcdca2b5e0
2004-05-24 12:55:54 +00:00
danielk1977
51ad0ecd28
Non-aggregate SQL functions use sqlite_value* instead of const char * for
...
argument values. (CVS 1449)
FossilOrigin-Name: 1e47d7384d5fdfceb6ec737c656f70be59ba5b01
2004-05-24 12:39:02 +00:00
danielk1977
8a6b5411b3
Have the vdbe handle strings in the same encoding as the database. (CVS 1445)
...
FossilOrigin-Name: b7155db2b13aa3ca5f6c68e948d9e8740ebcac47
2004-05-24 07:04:25 +00:00
danielk1977
a37cdde042
More changes to support the manifest type model. A few things are currently
...
broken. (CVS 1385)
FossilOrigin-Name: a4af838f8d1b81ec6c8db97655c6876aca0738d9
2004-05-16 11:15:36 +00:00
danielk1977
3d1bfeaa22
Implement type affinity for table and index records (CVS 1375)
...
FossilOrigin-Name: dbfe6e93166d9557d66cab9dca7977baa3501e5e
2004-05-14 11:00:53 +00:00
danielk1977
96fc5fe6a5
Various minor fixes and updates to make more test cases pass. (CVS 1370)
...
FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42
2004-05-13 11:34:16 +00:00
danielk1977
24b03fd055
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1337)
...
FossilOrigin-Name: ba2ba24263a9e4d1b65b441295504a5da6380f33
2004-05-10 10:34:34 +00:00
danielk1977
4adee20fcb
Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the
...
library links again. It doesn't work yet, due to changes in the btree layer
calling convention. (CVS 1324)
FossilOrigin-Name: 8af6474c49263ae26216dff9465b33f76b500cf4
2004-05-08 08:23:19 +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
eb9a9e8888
Code cleanup in the date and time functions. (CVS 1263)
...
FossilOrigin-Name: 9b3bcde1530091602e551435ffd7820eb79727d5
2004-02-22 17:49:32 +00:00
rdc
b0c374ffbb
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251)
...
FossilOrigin-Name: 3383413a53bff0fef0765144de3bb9a298a5bb5c
2004-02-20 22:53:38 +00:00
drh
bbd82df617
Refactor the interface to the randomness generator. (CVS 1224)
...
FossilOrigin-Name: f2bdccf4bb2f796aafb64c33e55f62a1794d750c
2004-02-11 09:46:30 +00:00
drh
00706be366
Rework the VDBE data structures to combine string representations into the
...
same structure with integer and floating point. This opens the door to
significant optimizations. (CVS 1202)
FossilOrigin-Name: c0faa1c67a967f028cd018e58988fb08bc814d3d
2004-01-30 14:49:16 +00:00
jplyon
b6c9e6e6c1
coment typo (CVS 1189)
...
FossilOrigin-Name: 8210b2d818ab83a97b3b71b432770436116f4770
2004-01-19 04:53:24 +00:00
drh
1dba727946
Fix a buffer-overflow problem in the randStr function (used only for testing). (CVS 1182)
...
FossilOrigin-Name: 42c79edc2e8d1051b3bca915b4b205c601b8077f
2004-01-16 13:58:18 +00:00
drh
7739630451
Avoid an assertion fault that can occur with invalid UTF8 on the LENGTH()
...
function. Ticket #548 . (CVS 1154)
FossilOrigin-Name: 7080fc39eaf98ef7a7d1c1819603f67841f35c72
2004-01-02 13:17:48 +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
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
drh
4df92bbd44
Update to the date functions. (CVS 1110)
...
FossilOrigin-Name: 06d4e88394217fb1390b069bad82d6ac71981f72
2003-10-10 02:09:56 +00:00
drh
5045789694
The beginnings of changes to support pre-compiled SQL. Mostly untested,
...
though all regression tests to pass. (CVS 1093)
FossilOrigin-Name: 912f47c72d3597c6d5acff765d94922bd660339a
2003-09-06 01:10:47 +00:00
drh
ec1bd0bd72
Fix compiler warnings under OpenVMS. Ticket #357 . (CVS 1088)
...
FossilOrigin-Name: c95f347cac27732533a2f6fd4ba50bf00eef59f3
2003-08-26 11:41:27 +00:00
drh
4739470341
Add the experimental "quote()" function to the set of build-in functions. (CVS 1077)
...
FossilOrigin-Name: 9699c68508db5da6238904e518835a629d430db6
2003-08-20 01:03:33 +00:00
drh
87adaa9a99
tighter coding of the date and time functions. Better comments. A bug fix. (CVS 1070)
...
FossilOrigin-Name: 94243edac14b90ef898093b85e1959c20fa23ae9
2003-08-10 01:50:54 +00:00
drh
771d8c3bae
Add experimental date and time functions based on julian day number. (CVS 1069)
...
FossilOrigin-Name: a6197e2075fdf9db862484255ac16b2855bbef0a
2003-08-09 21:32:28 +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
39581966a0
Fix another twos-complement negation error. Ticket #313 . (CVS 973)
...
FossilOrigin-Name: f267a8a4ff52eb7ee3ac20a8e3a8ab5fe19e445d
2003-05-13 01:52:31 +00:00
drh
d24cc427b7
Changes to the "sqlite" structure that allow simultaneous operations on
...
multiple database files. Many regession tests pass - but not all of them.
Do not use this version except for debugging SQLite itself. (CVS 883)
FossilOrigin-Name: d2fb2bb50cf1e13feb90995079f291384abd6ba9
2003-03-27 12:51:24 +00:00