/ Check-in [20bd303e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add hook to register SSE user-functions. (CVS 2471)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 20bd303e8c6f7e69ba82ce1dc3041ea4e02d55cf
User & Date: danielk1977 2005-05-22 10:44:34
Context
2005-05-22
19:21
Fix a memory leak. Ticket #1259. (CVS 2472) check-in: 254ac221 user: drh tags: trunk
10:44
Add hook to register SSE user-functions. (CVS 2471) check-in: 20bd303e user: danielk1977 tags: trunk
06:49
Allow schema objects beginning with sqlite_ to be created if the SQLITE_WriteSchema flag is set. (CVS 2470) check-in: afc8ce42 user: danielk1977 tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/func.c.

    12     12   ** This file contains the C functions that implement various SQL
    13     13   ** functions of SQLite.  
    14     14   **
    15     15   ** There is only one exported symbol in this file - the function
    16     16   ** sqliteRegisterBuildinFunctions() found at the bottom of the file.
    17     17   ** All other code has file scope.
    18     18   **
    19         -** $Id: func.c,v 1.96 2005/02/15 21:36:18 drh Exp $
           19  +** $Id: func.c,v 1.97 2005/05/22 10:44:34 danielk1977 Exp $
    20     20   */
    21     21   #include "sqliteInt.h"
    22     22   #include <ctype.h>
    23     23   #include <math.h>
    24     24   #include <stdlib.h>
    25     25   #include <assert.h>
    26     26   #include "vdbeInt.h"
................................................................................
  1031   1031             strlen(aAggs[i].zName), aAggs[i].nArg, SQLITE_UTF8, 0);
  1032   1032         if( pFunc && aAggs[i].needCollSeq ){
  1033   1033           pFunc->needCollSeq = 1;
  1034   1034         }
  1035   1035       }
  1036   1036     }
  1037   1037     sqlite3RegisterDateTimeFunctions(db);
         1038  +#ifdef SQLITE_SSE
         1039  +  {
         1040  +    extern int sqlite3SseFunctions(sqlite3*);
         1041  +    sqlite3SseFunctions(db);
         1042  +  }
         1043  +#endif
  1038   1044   }