OLD | NEW |
1 /* | 1 /* |
2 ** 2013-10-09 | 2 ** 2013-10-09 |
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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 } | 750 } |
751 | 751 |
752 /* | 752 /* |
753 ** Register debugvfs as the default VFS for this process. | 753 ** Register debugvfs as the default VFS for this process. |
754 */ | 754 */ |
755 int sqlite3_register_vfslog(const char *zArg){ | 755 int sqlite3_register_vfslog(const char *zArg){ |
756 vlog_vfs.pVfs = sqlite3_vfs_find(0); | 756 vlog_vfs.pVfs = sqlite3_vfs_find(0); |
757 vlog_vfs.base.szOsFile = sizeof(VLogFile) + vlog_vfs.pVfs->szOsFile; | 757 vlog_vfs.base.szOsFile = sizeof(VLogFile) + vlog_vfs.pVfs->szOsFile; |
758 return sqlite3_vfs_register(&vlog_vfs.base, 1); | 758 return sqlite3_vfs_register(&vlog_vfs.base, 1); |
759 } | 759 } |
OLD | NEW |