OLD | NEW |
1 /* | 1 /* |
2 ** 2013-10-01 | 2 ** 2013-10-01 |
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 printf("-- rename \"%s\" to \"%s\"\n", zDbToVacuum, zBackupDb); | 225 printf("-- rename \"%s\" to \"%s\"\n", zDbToVacuum, zBackupDb); |
226 rename(zDbToVacuum, zBackupDb); | 226 rename(zDbToVacuum, zBackupDb); |
227 printf("-- rename \"%s\" to \"%s\"\n", zTempDb, zDbToVacuum); | 227 printf("-- rename \"%s\" to \"%s\"\n", zTempDb, zDbToVacuum); |
228 rename(zTempDb, zDbToVacuum); | 228 rename(zTempDb, zDbToVacuum); |
229 | 229 |
230 /* Release allocated memory */ | 230 /* Release allocated memory */ |
231 sqlite3_free(zTempDb); | 231 sqlite3_free(zTempDb); |
232 sqlite3_free(zBackupDb); | 232 sqlite3_free(zBackupDb); |
233 return 0; | 233 return 0; |
234 } | 234 } |
OLD | NEW |