aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-05-08 20:37:38 +0000
committerdrh <drh@noemail.net>2007-05-08 20:37:38 +0000
commitee85813c941f49b62c5e5d6cbddc561e3b56a613 (patch)
tree622542ce5c3b57808819351cd0532e4c1fbf5659 /src/func.c
parent52d19f65e36f08e662e971f47edbe039141f3c82 (diff)
downloadsqlite-ee85813c941f49b62c5e5d6cbddc561e3b56a613.tar.gz
sqlite-ee85813c941f49b62c5e5d6cbddc561e3b56a613.zip
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958)
FossilOrigin-Name: e9f56ead0514f3eac75807ea710c1f035b8add4f
Diffstat (limited to 'src/func.c')
-rw-r--r--src/func.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/func.c b/src/func.c
index 2012666bf..c9a035a42 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.151 2007/05/08 15:46:18 drh Exp $
+** $Id: func.c,v 1.152 2007/05/08 20:37:39 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -555,7 +555,7 @@ static void likeFunc(
*/
const unsigned char *zEsc = sqlite3_value_text(argv[2]);
if( zEsc==0 ) return;
- if( sqlite3utf8CharLen((char*)zEsc, -1)!=1 ){
+ if( sqlite3Utf8CharLen((char*)zEsc, -1)!=1 ){
sqlite3_result_error(context,
"ESCAPE expression must be a single character", -1);
return;
@@ -1275,7 +1275,7 @@ void sqlite3RegisterBuiltinFunctions(sqlite3 *db){
{ "length", 1, 0, SQLITE_UTF8, 0, lengthFunc },
{ "substr", 3, 0, SQLITE_UTF8, 0, substrFunc },
#ifndef SQLITE_OMIT_UTF16
- { "substr", 3, 0, SQLITE_UTF16LE, 0, sqlite3utf16Substr },
+ { "substr", 3, 0, SQLITE_UTF16LE, 0, sqlite3Utf16Substr },
#endif
{ "abs", 1, 0, SQLITE_UTF8, 0, absFunc },
{ "round", 1, 0, SQLITE_UTF8, 0, roundFunc },