Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | coment typo (CVS 1189) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
8210b2d818ab83a97b3b71b432770436 |
User & Date: | jplyon 2004-01-19 04:53:25.000 |
Context
2004-01-19
| ||
04:54 | coment typo (CVS 1190) (check-in: 0d2683dc5e user: jplyon tags: trunk) | |
04:53 | coment typo (CVS 1189) (check-in: 8210b2d818 user: jplyon tags: trunk) | |
04:52 | comment (CVS 1188) (check-in: fa55c9861e user: jplyon tags: trunk) | |
Changes
Changes to src/func.c.
︙ | ︙ | |||
12 13 14 15 16 17 18 | ** This file contains the C functions that implement various SQL ** functions of SQLite. ** ** There is only one exported symbol in this file - the function ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ** This file contains the C functions that implement various SQL ** functions of SQLite. ** ** There is only one exported symbol in this file - the function ** sqliteRegisterBuildinFunctions() found at the bottom of the file. ** All other code has file scope. ** ** $Id: func.c,v 1.37 2004/01/19 04:53:25 jplyon Exp $ */ #include <ctype.h> #include <math.h> #include <stdlib.h> #include <assert.h> #include "sqliteInt.h" #include "os.h" |
︙ | ︙ | |||
174 175 176 177 178 179 180 | for(i=0; z[i]; i++){ if( isupper(z[i]) ) z[i] = tolower(z[i]); } } /* ** Implementation of the IFNULL(), NVL(), and COALESCE() functions. | | | | 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | for(i=0; z[i]; i++){ if( isupper(z[i]) ) z[i] = tolower(z[i]); } } /* ** Implementation of the IFNULL(), NVL(), and COALESCE() functions. ** All three do the same thing. They return the first non-NULL ** argument. */ static void ifnullFunc(sqlite_func *context, int argc, const char **argv){ int i; for(i=0; i<argc; i++){ if( argv[i] ){ sqlite_set_result_string(context, argv[i], -1); break; |
︙ | ︙ |