1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Move date+time functions to start-time initialization. Additional

start-time function cleanup. (CVS 5585)

FossilOrigin-Name: 80d6a31cb3851704c09ac9d99fe4bc241df3c180
This commit is contained in:
drh
2008-08-21 20:21:34 +00:00
parent cb6d50e100
commit 777c5386c3
10 changed files with 88 additions and 126 deletions

View File

@@ -13,7 +13,7 @@
** This file contains functions used to access the internal hash tables
** of user defined functions and collation sequences.
**
** $Id: callback.c,v 1.28 2008/08/21 18:49:28 drh Exp $
** $Id: callback.c,v 1.29 2008/08/21 20:21:35 drh Exp $
*/
#include "sqliteInt.h"
@@ -357,7 +357,7 @@ FuncDef *sqlite3FindFunction(
** function to use.
*/
if( !createFlag && !pBest ){
p = functionSearch(&sqlite3FuncBuiltins, h, zName, nName);
p = functionSearch(&sqlite3GlobalFunctions, h, zName, nName);
while( p ){
int score = matchQuality(p, nArg, enc);
if( score>bestScore ){