aboutsummaryrefslogtreecommitdiff
path: root/test/func6.test
AgeCommit message (Collapse)AuthorLines
2024-07-30Get rid of "-encoding binary" across all test cases, as that is no longerdrh-1/+1
supported in Tcl9. Use "-translation binary" instead. FossilOrigin-Name: e0d9670dd98a22d2e22aac8ba8720787a05e280e18ec9b2d4323f947c83718f5
2022-03-14Fix an assert() statement in the covering index optimization for the cornerdrh-0/+9
case of dealing with an sqlite_offset() SQL function call. FossilOrigin-Name: 3950b7d006add571579158c751247a9435801e53eafd84b43dd3046e01da8ee6
2018-02-12Update test file func6.test so that it works with SQLITE_ENABLE_NULL_TRIMdan-2/+19
builds. FossilOrigin-Name: e128d72f1a565551d3b6fdb3807fcb1c2a2bf355f0c09d04562b62f49d01fdbc
2018-02-09Make the tests in func6.test more robust against implementation changes.dan-38/+109
FossilOrigin-Name: b685d3231097fb90e7d61d9ac01cc560e8bf2671d49390ae7af5bfdbd6d04f11
2018-01-04Remove the snarky "_supported_" qualifier from the name of thedrh-20/+20
sqlite_offset() SQL function. FossilOrigin-Name: a6eee0fcd89d3958f8720ebdb5f0a8558b4795d747128091dae283eb81c4f74f
2017-12-29Stricter test cases.drh-7/+49
FossilOrigin-Name: 9406c0a685fd5ff3516a66402b0514a1440652822a5eecf0b7af85929f3079e8
2017-12-29Change the function name to sqlite_unsupported_offset(X). Only enable thedrh-5/+13
function if compiled with -DSQLITE_ENABLE_OFFSET_SQL_FUNC. The makefiles add that definition to shell builds. FossilOrigin-Name: 7a7f826e324b1a2c332e2f1d0740fd0babffcaca6275a798572f02ad367b99ab
2017-12-29Enhance location(X) so that it works with indexes and WITHOUT ROWID tables.drh-1/+1
The function might return an offset to the main table or to an index, depending on whether the column X would be loaded from the main table or from the index. FossilOrigin-Name: dd94d6a880dfec4bddd247239b815b84964f804d24841e25f33f1d46a4b5274d
2017-12-16Add an experimental location(X) SQL function that attempt to return thedrh-0/+36
location of the payload within the database for the record that contains column X. location(X) returns NULL if X is not an ordinary table column or if SQLite cannot figure out the location because it is using a covering index. FossilOrigin-Name: 51be9558164301c5dd4df23ab8b3e67de0b522f8d36f79f3d84d45d3dc2a83a4