aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2002-02-26 23:55:31 +0000
committerdrh <drh@noemail.net>2002-02-26 23:55:31 +0000
commita2ed56016f8b0728e68fca885d7ae4a769744f08 (patch)
tree55637b7c2754c50f06456ba12fe624d7fb8ad086 /src
parentcd7d2732bfe18fc0e1458a7fd1a2d7c2b87f5296 (diff)
downloadsqlite-a2ed56016f8b0728e68fca885d7ae4a769744f08.tar.gz
sqlite-a2ed56016f8b0728e68fca885d7ae4a769744f08.zip
Comment changes only. (CVS 395)
FossilOrigin-Name: 63b87f2ea6cd78f039bf40026d21b18de20b3ba7
Diffstat (limited to 'src')
-rw-r--r--src/expr.c4
-rw-r--r--src/func.c9
2 files changed, 7 insertions, 6 deletions
diff --git a/src/expr.c b/src/expr.c
index eefcedc5b..dea2f7063 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.44 2002/02/24 03:25:15 drh Exp $
+** $Id: expr.c,v 1.45 2002/02/26 23:55:31 drh Exp $
*/
#include "sqliteInt.h"
@@ -111,7 +111,7 @@ void sqliteExprDelete(Expr *p){
** the life of the view.) When that happens we have to make a
** persistent copy of the input buffer and translate the Expr.token.z
** and Expr.span.z fields to point to the copy rather than the
-** original input buffer. The following group of routines to that
+** original input buffer. The following group of routines handle that
** translation.
**
** The "offset" parameter is the distance from the original input buffer
diff --git a/src/func.c b/src/func.c
index ab45b1fea..1389beb58 100644
--- a/src/func.c
+++ b/src/func.c
@@ -16,7 +16,7 @@
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: func.c,v 1.2 2002/02/24 17:12:54 drh Exp $
+** $Id: func.c,v 1.3 2002/02/26 23:55:31 drh Exp $
*/
#include <ctype.h>
#include <math.h>
@@ -49,7 +49,7 @@ static void lowerFunc(void *context, int argc, const char **argv){
/*
** An instance of the following structure holds the context of a
-** standard deviation computation.
+** variance or standard deviation computation.
*/
typedef struct StdDevCtx StdDevCtx;
struct StdDevCtx {
@@ -90,8 +90,9 @@ static void stdDevFinalize(void *stddev, void *context){
}
/*
-** This file registered all of the above C functions as SQL
-** functions.
+** This function registered all of the above C functions as SQL
+** functions. This should be the only routine in this file with
+** external linkage.
*/
void sqliteRegisterBuildinFunctions(sqlite *db){
sqlite_create_function(db, "upper", 1, upperFunc);