Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
func.c
23e59b3
Fix the concat_ws() SQL function so that it includes empty strings in the
by drh
· 6 weeks ago
129203b
Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].
by stephan
· 5 months ago
a357a90
Consolidate two different UTF8 encoders into a single subroutine.
by drh
· 5 months ago
b6205d4
Add the unistr_quote() function that works like quote(), but also escape
by drh
· 5 months ago
4d70dba
Prototype implementation of the unistr() SQL function.
by drh
· 5 months ago
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
f4fc2ee
Add a typecast to avoid 32-bit integer overflow in the concat_ws()
by drh
· 5 months ago
3efac4a
Performance optimization to the substr() SQL function.
by drh
· 5 months ago
802b042
Detect and report signed integer overflow in the sumInverse() routine,
by drh
· 6 months ago
36279c2
Enhance the if() and iif() SQL functions so that they support any
by drh
· 6 months ago
2e899cc
The FuncDev.nArg field values -3 and -4 now have special meansing of 1 or more
by drh
· 6 months ago
e0190a6
Fixes to the substr() SQL function so that it can handle ridiculously large
by drh
· 7 months ago
ccfb50d
Correction to check-in [a9759fc78d6cb0df] - printf() parameters values must
by drh
· 7 months ago
2dcd4fa
Fix additional integer overflow problems in the substr() function.
by drh
· 7 months ago
b097ef2
Fix possible integer oveflow in the second and third argument to substr().
by drh
· 7 months ago
47bc07d
Avoid 32-bit roundoff error on the second argument to round().
by drh
· 7 months ago
f12e5d1
Provide a two-argument version of the iif() function, plus an alternative
by drh
· 8 months ago
bc4df60
Remove the never-used and never-documented and long-ago deprecated
by drh
· 9 months ago
ddc764b
Add a NEVER() to an unreachable branch in the new indexed-subtype logic.
by drh
· 9 months ago
f7f78a6
The (undocumented) subtype() SQL function should have the SQLITE_SUBTYPE flag.
by drh
· 10 months ago
74672ac
New SQL function for testing/debugging use only: parseuri().
by drh
· 10 months ago
90fa4c7
Enhance the percentile() and median() extension functions so that they can be
by drh
· 11 months ago
34e4c6f
Improved header comment on the sqlite3FpDecode() implementation.
by drh
· 1 year, 1 month ago
e6d3c57
Fix the window-function group_concat() so that it returns an empty string
by drh
· 1 year, 2 months ago
5ed044e
Fix another problem from [c63e26e705f5e967] involving infinities and the
by drh
· 1 year, 4 months ago
f79b0bd
The quote() SQL function should convert +Inf into 9.0e+999 and -Inf into
by drh
· 1 year, 5 months ago
8dca190
Ensure that the replace() SQL function always returns a TEXT value even
by drh
· 1 year, 6 months ago
d5e040b
Add string_agg(X,Y) as an alias for group_concat(X,Y), for compatibility
by drh
· 1 year, 9 months ago
99d4397
Avoid potential overflow in hex(). [forum:/forumpost/7ac0c9c5ea|See forum post 7ac0c9c5ea.]
by larrybr
· 1 year, 9 months ago
51e3f7a
Fix the length of the string in the new concat() and concat_ws() functions.
by drh
· 1 year, 10 months ago
43d71eb
Remove an ALWAYS() from a branch that can in fact be false following an OOM
by drh
· 1 year, 10 months ago
7bb5a6d
Fix the AVG() and TOTAL() functions (after the SUM() fix of [77d3dcd283595c52])
by drh
· 1 year, 11 months ago
e1e67ab
Add support for the CONCAT() and CONCAT_WS() SQL functions, modeled after
by drh
· 1 year, 11 months ago
bd953df
Fix an issue with infinity handling by the SUM() function that goes back
by drh
· 1 year, 11 months ago
00eee07
Fix the PRAGMA case_sensitive_like command so that the LIKE function continues
by drh
· 1 year, 11 months ago
61a5b6e
Fix a harmless use-of-initialized-value warning from OSSFuzz that results
by drh
· 2 years ago
37fd50d
Two minor improvements to sum(), one of which was inspired by
by drh
· 2 years ago
4c40b7b
Always use the "LL" suffix on 64-bit integer literals.
by drh
· 2 years ago
7d0103b
Improved handling of integer inputs to the new sum() implementation.
by drh
· 2 years ago
26cd8bc
Fix minor inaccuracies in the new sum() algorithm.
by drh
· 2 years ago
kahan-babuska-neumaier-summation
45d7562
Experimental attempt to boost the accuracy of sum() using the
by drh
· 2 years ago
453be55
Reinstate the fpdecode() SQL function for testing, but only when compiled
by drh
· 2 years, 1 month ago
17c20bb
Improved rounding policy.
by drh
· 2 years, 1 month ago
9ee9444
Improved response to Infinity and NaN. Remove the termporary fpdecode()
by drh
· 2 years, 1 month ago
002330d
Add decimal rounding to the sqlite3FpDecode() routine.
by drh
· 2 years, 1 month ago
a1b0ff1
Experiments with a new algorithm for converting ieee-754 binary64 numbers
by drh
· 2 years, 1 month ago
48114d0
Completely unwind the enhanced precision sum() from [a915f15a916af698] so
by drh
· 2 years, 1 month ago
60f4136
Make the sum() function less precise and slower in order to avoid
by drh
· 2 years, 1 month ago
12b198f
Use ideas from T. J. Dekker in "A Floating-Point Technique for Extending the
by drh
· 2 years, 1 month ago
077efc2
Optimize the argument to the octet_length() function so that it does not
by drh
· 2 years, 1 month ago
octet_length
d6c671e
Merge recent trunk enhancements into the octet_length branch.
by drh
· 2 years, 1 month ago
55be216
Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].
by larrybr
· 2 years, 1 month ago
spell-check
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
b3d7f1c
Prototype implementation of the octet_length() SQL function.
by drh
· 2 years, 2 months ago
e030619
Updates to compile-time option usage and especially to the compile-time option
by drh
· 2 years, 3 months ago
3c2688d
Provide -DHAVE_LOG2=0 and -DHAVE_LOG10=0 compile-time options for use on systems
by drh
· 2 years, 5 months ago
3c7e90b
Fix a harmless UBSAN warning in debugging code of the new unhex() function.
by drh
· 2 years, 5 months ago
a50db43
Update unhex() to allow a second argument, specifying a set of characters that are permitted to appear between pairs of hexadecimal digits.
by dan
· 2 years, 6 months ago
unhex-function
e3c11d5
Add experimental user function unhex().
by dan
· 2 years, 6 months ago
3547e49
Fix lots of harmless, nuisance compiler warnings, mostly unused parameter
by drh
· 2 years, 7 months ago
79b9bc4
More efficient implementation of large precisions on the "%c" format for
by drh
· 2 years, 7 months ago
3c1572d
Use the log10() and log2() functions from the standard C library to implement
by drh
· 2 years, 8 months ago
42dddb9
Enhance the sqlite3_strglob() and sqlite3_strlike() interfaces so that they
by drh
· 2 years, 9 months ago
2bc4a6c
Fix a problem in the LIKE and GLOB operators that may occur when the character immediately following a "%" or "*" wildcard is U+80. Reported by [forum:61bf7ccbdf].
by dan
· 2 years, 9 months ago
645682a
Move the sqlite_offset() function implementation to be an in-line function,
by drh
· 3 years, 2 months ago
724e298
Slight increase in the accuracy of log10().
by drh
· 3 years, 2 months ago
97a985e
The sqlite_offset() function should be non-deterministic.
by drh
· 3 years, 5 months ago
af7b8dc
Avoid dropping SQLITE_TOOBIG errors in the quote() function.
by dan
· 3 years, 5 months ago
69b0ce3
Fix various harmless compiler warnings.
by drh
· 3 years, 6 months ago
cd379b8
Merge trunk enhancements into the json-in-core branch.
by drh
· 3 years, 6 months ago
9d44f18
Add a new built-in subtype() function.
by drh
· 3 years, 6 months ago
6bcd585
Add function format() as an alias for printf(), for compatibility with other
by drh
· 3 years, 6 months ago
9dbf96b
An attempt to integrate the JSON functions directly into the SQLite core,
by drh
· 3 years, 7 months ago
ef95d55
Factor out the logic that does quoting for the SQL quote() function, so that
by drh
· 3 years, 7 months ago
4fc8067
Fix the group_concat() inverse function implementation so that it correctly
by drh
· 3 years, 9 months ago
a4eeccd
Protect all accesses to the Expr.x union using nearby assert()s and branches.
by drh
· 3 years, 10 months ago
f975107
Protect all accesses to the FuncDef.u and Expr.u unions using nearby
by drh
· 3 years, 10 months ago
5bf4715
Add the sqlite3ResultStrAccum() internal interface to simplify the
by drh
· 3 years, 10 months ago
260ff08
Fix a problem with group_concat() when it is used as a window function with
by drh
· 3 years, 10 months ago
3dd0111
Remove unreachable branches in the fixed group_concat() code.
by drh
· 3 years, 10 months ago
group_concat-fix-legacy
f06db3e
Fixes to the version of "varsep" group_concat so that (1) it builds under
by drh
· 3 years, 10 months ago
dde13e6
Get group_concat() to handle varying separator lengths when windowing
by larrybr
· 3 years, 10 months ago
3780f9a
Make the affinity() function available even if compiled without
by drh
· 3 years, 10 months ago
c0bd26a
Update requirements marks to reflect recent documentation changes.
by drh
· 3 years, 10 months ago
bb30123
Attempt to omit ORDER BY clauses from FROM-clause subqueries if those ORDER BY
by drh
· 4 years ago
10496f7
Fully incorporate *_changes64() API improvement.
by larrybr
· 4 years, 1 month ago
2c71887
Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.
by dan
· 4 years, 1 month ago
972da42
Prevent an infinite loop in the trim() SQL function if the second argument
by drh
· 4 years, 1 month ago
81e5a9a
Fix the comment on the implementation of the pi() SQL function. No changes
by drh
· 4 years, 3 months ago
3394169
Fix an issue with the LIKE operator when it includes the "ESCAPE '_'" clause.
by drh
· 4 years, 5 months ago
02d6f9b
Fix possible division-by-zero in the new log() SQL functions.
by drh
· 4 years, 6 months ago
17988aa
Merge fixes from trunk. Omit a conditional in
by drh
· 4 years, 6 months ago
isnotnull-opt
c2dbf35
Fix harmless typos in comments per
by drh
· 4 years, 6 months ago
4fd4a7a
Do not attempt to take a pointer to the ceil() and floor() functions as
by drh
· 4 years, 7 months ago
e5baf5c
Remove an unnecessary and incorrect #ifdef. Fix harmless compiler warnings.
by drh
· 4 years, 7 months ago
d97a4c0
Fix compilation issues with MSVC related to C99.
by mistachkin
· 4 years, 7 months ago
0dffe46
Fix a bad assert() in math1Func().
by drh
· 4 years, 7 months ago
63f8f98
Many more math functions. Semantics follows PG wherever possible.
by drh
· 4 years, 7 months ago
f6e904b
Begin adding new SQL functions that depend on -lm: ceil(), ceiling(),
by drh
· 4 years, 8 months ago
1335ec7
Allow "substring()" as an alias for "substr()" for compatibility with other
by drh
· 4 years, 8 months ago
Next »