| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2014-11-10 | 2 ** 2014-11-10 |
| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 SQLITE_EXTENSION_INIT2(pApi); | 113 SQLITE_EXTENSION_INIT2(pApi); |
| 114 (void)pzErrMsg; /* Unused parameter */ | 114 (void)pzErrMsg; /* Unused parameter */ |
| 115 rc = sqlite3_create_function(db, "eval", 1, SQLITE_UTF8, 0, | 115 rc = sqlite3_create_function(db, "eval", 1, SQLITE_UTF8, 0, |
| 116 sqlEvalFunc, 0, 0); | 116 sqlEvalFunc, 0, 0); |
| 117 if( rc==SQLITE_OK ){ | 117 if( rc==SQLITE_OK ){ |
| 118 rc = sqlite3_create_function(db, "eval", 2, SQLITE_UTF8, 0, | 118 rc = sqlite3_create_function(db, "eval", 2, SQLITE_UTF8, 0, |
| 119 sqlEvalFunc, 0, 0); | 119 sqlEvalFunc, 0, 0); |
| 120 } | 120 } |
| 121 return rc; | 121 return rc; |
| 122 } | 122 } |
| OLD | NEW |