| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2014-06-13 | 2 ** 2014-06-13 |
| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 SQLITE_EXTENSION_INIT2(pApi); | 91 SQLITE_EXTENSION_INIT2(pApi); |
| 92 (void)pzErrMsg; /* Unused parameter */ | 92 (void)pzErrMsg; /* Unused parameter */ |
| 93 rc = sqlite3_create_function(db, "readfile", 1, SQLITE_UTF8, 0, | 93 rc = sqlite3_create_function(db, "readfile", 1, SQLITE_UTF8, 0, |
| 94 readfileFunc, 0, 0); | 94 readfileFunc, 0, 0); |
| 95 if( rc==SQLITE_OK ){ | 95 if( rc==SQLITE_OK ){ |
| 96 rc = sqlite3_create_function(db, "writefile", 2, SQLITE_UTF8, 0, | 96 rc = sqlite3_create_function(db, "writefile", 2, SQLITE_UTF8, 0, |
| 97 writefileFunc, 0, 0); | 97 writefileFunc, 0, 0); |
| 98 } | 98 } |
| 99 return rc; | 99 return rc; |
| 100 } | 100 } |
| OLD | NEW |