aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2025-02-27 03:23:33 +0000
committerstephan <stephan@noemail.net>2025-02-27 03:23:33 +0000
commit129203bce3935a2da60dd9c9e19b49e7610acea2 (patch)
tree5c6dbdc3e6c17245b54a361707ba6c16773819c7 /src
parente1e822ca23cef4e55ae12674ac48a25f51785a8c (diff)
downloadsqlite-129203bce3935a2da60dd9c9e19b49e7610acea2.tar.gz
sqlite-129203bce3935a2da60dd9c9e19b49e7610acea2.zip
Internal doc typo fixes reported in [forum:01d15f21b6|forum post 01d15f21b6].
FossilOrigin-Name: d6514c20ff583ccc4fb3a526fb8f86a563224f513ee10bb39a978046bd952726
Diffstat (limited to 'src')
-rw-r--r--src/func.c2
-rw-r--r--src/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/func.c b/src/func.c
index d8c812759..9e2839336 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1919,7 +1919,7 @@ static void kahanBabuskaNeumaierInit(
** that it returns NULL if it sums over no inputs. TOTAL returns
** 0.0 in that case. In addition, TOTAL always returns a float where
** SUM might return an integer if it never encounters a floating point
-** value. TOTAL never fails, but SUM might through an exception if
+** value. TOTAL never fails, but SUM might throw an exception if
** it overflows an integer.
*/
static void sumStep(sqlite3_context *context, int argc, sqlite3_value **argv){
diff --git a/src/util.c b/src/util.c
index 703ef0a23..8e4fd516e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1639,7 +1639,7 @@ int sqlite3MulInt64(i64 *pA, i64 iB){
}
/*
-** Compute the absolute value of a 32-bit signed integer, of possible. Or
+** Compute the absolute value of a 32-bit signed integer, if possible. Or
** if the integer has a value of -2147483648, return +2147483647
*/
int sqlite3AbsInt32(int x){