aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2024-12-03 19:30:14 +0000
committerdan <Dan Kennedy>2024-12-03 19:30:14 +0000
commitc99caf5de509c664dee74e5fcd2b77befe59f67f (patch)
tree89bd55fe084d297506fe0f2c882639d33215f8fe /src/func.c
parent2d5ce92aae630c540a62c6c6dc89b9ca1625aa60 (diff)
parent33c120f9b7de84fb0dd2625efe11097015c0e116 (diff)
downloadsqlite-c99caf5de509c664dee74e5fcd2b77befe59f67f.tar.gz
sqlite-c99caf5de509c664dee74e5fcd2b77befe59f67f.zip
Merge latest trunk into this branch.
FossilOrigin-Name: eb13b8b3ef67ca8a252f7a4fd5a83ed31fefe68aa5ad8693d9d1f17218f4d176
Diffstat (limited to 'src/func.c')
-rw-r--r--src/func.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c
index 419ce24c6..2d25803e0 100644
--- a/src/func.c
+++ b/src/func.c
@@ -2814,7 +2814,10 @@ void sqlite3RegisterBuiltinFunctions(void){
#endif /* SQLITE_ENABLE_MATH_FUNCTIONS */
FUNCTION(sign, 1, 0, 0, signFunc ),
INLINE_FUNC(coalesce, -1, INLINEFUNC_coalesce, 0 ),
+ INLINE_FUNC(iif, 2, INLINEFUNC_iif, 0 ),
INLINE_FUNC(iif, 3, INLINEFUNC_iif, 0 ),
+ INLINE_FUNC(if, 2, INLINEFUNC_iif, 0 ),
+ INLINE_FUNC(if, 3, INLINEFUNC_iif, 0 ),
};
#ifndef SQLITE_OMIT_ALTERTABLE
sqlite3AlterFunctions();