| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2010 April 7 | 2 ** 2010 April 7 |
| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 ** ++++++++++++SYNC+++++++++++ | 108 ** ++++++++++++SYNC+++++++++++ |
| 109 ** 0 12 | 109 ** 0 12 |
| 110 ** ++++++++++++SYNC+++++++++++ | 110 ** ++++++++++++SYNC+++++++++++ |
| 111 ** | 111 ** |
| 112 ** Much more efficient if the underlying OS is not caching write | 112 ** Much more efficient if the underlying OS is not caching write |
| 113 ** operations. | 113 ** operations. |
| 114 */ | 114 */ |
| 115 | 115 |
| 116 #if !defined(SQLITE_TEST) || SQLITE_OS_UNIX | 116 #if !defined(SQLITE_TEST) || SQLITE_OS_UNIX |
| 117 | 117 |
| 118 #include <sqlite3.h> | 118 #include "sqlite3.h" |
| 119 | 119 |
| 120 #include <assert.h> | 120 #include <assert.h> |
| 121 #include <string.h> | 121 #include <string.h> |
| 122 #include <sys/types.h> | 122 #include <sys/types.h> |
| 123 #include <sys/stat.h> | 123 #include <sys/stat.h> |
| 124 #include <sys/file.h> | 124 #include <sys/file.h> |
| 125 #include <sys/param.h> | 125 #include <sys/param.h> |
| 126 #include <unistd.h> | 126 #include <unistd.h> |
| 127 #include <time.h> | 127 #include <time.h> |
| 128 #include <errno.h> | 128 #include <errno.h> |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 Tcl_CreateObjCommand(interp, "register_demovfs", register_demovfs, 0, 0); | 670 Tcl_CreateObjCommand(interp, "register_demovfs", register_demovfs, 0, 0); |
| 671 Tcl_CreateObjCommand(interp, "unregister_demovfs", unregister_demovfs, 0, 0); | 671 Tcl_CreateObjCommand(interp, "unregister_demovfs", unregister_demovfs, 0, 0); |
| 672 return TCL_OK; | 672 return TCL_OK; |
| 673 } | 673 } |
| 674 | 674 |
| 675 #else | 675 #else |
| 676 int Sqlitetest_demovfs_Init(Tcl_Interp *interp){ return TCL_OK; } | 676 int Sqlitetest_demovfs_Init(Tcl_Interp *interp){ return TCL_OK; } |
| 677 #endif | 677 #endif |
| 678 | 678 |
| 679 #endif /* SQLITE_TEST */ | 679 #endif /* SQLITE_TEST */ |
| OLD | NEW |