OLD | NEW |
1 /* | 1 /* |
2 ** 2003 October 31 | 2 ** 2003 October 31 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1084 #endif | 1084 #endif |
1085 }; | 1085 }; |
1086 int i; | 1086 int i; |
1087 FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions); | 1087 FuncDefHash *pHash = &GLOBAL(FuncDefHash, sqlite3GlobalFunctions); |
1088 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aDateTimeFuncs); | 1088 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aDateTimeFuncs); |
1089 | 1089 |
1090 for(i=0; i<ArraySize(aDateTimeFuncs); i++){ | 1090 for(i=0; i<ArraySize(aDateTimeFuncs); i++){ |
1091 sqlite3FuncDefInsert(pHash, &aFunc[i]); | 1091 sqlite3FuncDefInsert(pHash, &aFunc[i]); |
1092 } | 1092 } |
1093 } | 1093 } |
OLD | NEW |