OLD | NEW |
1 /* | 1 /* |
2 ** This program is used to generate and verify databases with hot journals. | 2 ** This program is used to generate and verify databases with hot journals. |
3 ** Use this program to generate a hot journal on one machine and verify | 3 ** Use this program to generate a hot journal on one machine and verify |
4 ** that it rolls back correctly on another machine with a different | 4 ** that it rolls back correctly on another machine with a different |
5 ** architecture. | 5 ** architecture. |
6 ** | 6 ** |
7 ** Usage: | 7 ** Usage: |
8 ** | 8 ** |
9 ** rollback-test new [-utf8] [-utf16le] [-utf16be] [-pagesize=N] DATABASE | 9 ** rollback-test new [-utf8] [-utf16le] [-utf16be] [-pagesize=N] DATABASE |
10 ** rollback-test check DATABASE | 10 ** rollback-test check DATABASE |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 "PRAGMA cache_size=10;" | 146 "PRAGMA cache_size=10;" |
147 "BEGIN;" | 147 "BEGIN;" |
148 "UPDATE t1 SET y=(y || -x)" | 148 "UPDATE t1 SET y=(y || -x)" |
149 ); | 149 ); |
150 exit(0); | 150 exit(0); |
151 }else{ | 151 }else{ |
152 usage(argv[0]); | 152 usage(argv[0]); |
153 } | 153 } |
154 return 0; | 154 return 0; |
155 } | 155 } |
OLD | NEW |