Change the name of an internal function to avoid conflicts with the math

library.

FossilOrigin-Name: 1bd1484cd7e09709d87aa84b82e87597d00a4162
This commit is contained in:
drh
2011-04-27 18:08:42 +00:00
parent 5b92f192d9
commit 840561f2a4
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -779,7 +779,7 @@ static void sourceidFunc(
** sqlite3_log(). The return value is NULL. The function exists purely for
** its side-effects.
*/
static void logFunc(
static void errlogFunc(
sqlite3_context *context,
int argc,
sqlite3_value **argv
@@ -1556,7 +1556,7 @@ void sqlite3RegisterGlobalFunctions(void){
FUNCTION(nullif, 2, 0, 1, nullifFunc ),
FUNCTION(sqlite_version, 0, 0, 0, versionFunc ),
FUNCTION(sqlite_source_id, 0, 0, 0, sourceidFunc ),
FUNCTION(sqlite_log, 2, 0, 0, logFunc ),
FUNCTION(sqlite_log, 2, 0, 0, errlogFunc ),
#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
FUNCTION(sqlite_compileoption_used,1, 0, 0, compileoptionusedFunc ),
FUNCTION(sqlite_compileoption_get, 1, 0, 0, compileoptiongetFunc ),