| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2007 September 14 | 2 ** 2007 September 14 |
| 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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 if( fs_vfs.pParent ) return SQLITE_OK; | 821 if( fs_vfs.pParent ) return SQLITE_OK; |
| 822 fs_vfs.pParent = sqlite3_vfs_find(0); | 822 fs_vfs.pParent = sqlite3_vfs_find(0); |
| 823 fs_vfs.base.mxPathname = fs_vfs.pParent->mxPathname; | 823 fs_vfs.base.mxPathname = fs_vfs.pParent->mxPathname; |
| 824 fs_vfs.base.szOsFile = MAX(sizeof(tmp_file), sizeof(fs_file)); | 824 fs_vfs.base.szOsFile = MAX(sizeof(tmp_file), sizeof(fs_file)); |
| 825 return sqlite3_vfs_register(&fs_vfs.base, 0); | 825 return sqlite3_vfs_register(&fs_vfs.base, 0); |
| 826 } | 826 } |
| 827 | 827 |
| 828 #ifdef SQLITE_TEST | 828 #ifdef SQLITE_TEST |
| 829 int SqlitetestOnefile_Init() {return fs_register();} | 829 int SqlitetestOnefile_Init() {return fs_register();} |
| 830 #endif | 830 #endif |
| OLD | NEW |