diff options
author | drh <drh@noemail.net> | 2016-12-26 00:18:36 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2016-12-26 00:18:36 +0000 |
commit | a1a523a5bb3628a833065d43d8035cfa8249fc16 (patch) | |
tree | 3cfb1bbb766a3aad2a1727a87b0cf823b0805ea3 /src/func.c | |
parent | beaf514e2300cfdaa2d606fc9f3b9cbe89afaefc (diff) | |
download | sqlite-a1a523a5bb3628a833065d43d8035cfa8249fc16.tar.gz sqlite-a1a523a5bb3628a833065d43d8035cfa8249fc16.zip |
Add the built-in affinity() SQL function.
FossilOrigin-Name: 57e40e1cb1bcd3dd8473d2fdeecc9c7ff3d6192b
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c index 5b8ed6dd2..ec50d97af 100644 --- a/src/func.c +++ b/src/func.c @@ -1772,6 +1772,7 @@ void sqlite3RegisterBuiltinFunctions(void){ FUNCTION2(unlikely, 1, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), FUNCTION2(likelihood, 2, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), FUNCTION2(likely, 1, 0, 0, noopFunc, SQLITE_FUNC_UNLIKELY), + FUNCTION2(affinity, 1, 0, 0, noopFunc, SQLITE_FUNC_AFFINITY), FUNCTION(ltrim, 1, 1, 0, trimFunc ), FUNCTION(ltrim, 2, 1, 0, trimFunc ), FUNCTION(rtrim, 1, 2, 0, trimFunc ), |