Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: third_party/sqlite/src/tool/offsets.c

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** This program searches an SQLite database file for the lengths and 2 ** This program searches an SQLite database file for the lengths and
3 ** offsets for all TEXT or BLOB entries for a particular column of a 3 ** offsets for all TEXT or BLOB entries for a particular column of a
4 ** particular table. The rowid, size and offset for the column are 4 ** particular table. The rowid, size and offset for the column are
5 ** written to standard output. There are three arguments, which are the 5 ** written to standard output. There are three arguments, which are the
6 ** name of the database file, the table, and the column. 6 ** name of the database file, the table, and the column.
7 */ 7 */
8 #include "sqlite3.h" 8 #include "sqlite3.h"
9 #include <stdio.h> 9 #include <stdio.h>
10 #include <stdlib.h> 10 #include <stdlib.h>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 fprintf(stderr, "cannot open \"%s\"\n", argv[1]); 320 fprintf(stderr, "cannot open \"%s\"\n", argv[1]);
321 exit(1); 321 exit(1);
322 } 322 }
323 ofstWalkPage(&g, g.iRoot); 323 ofstWalkPage(&g, g.iRoot);
324 if( g.zErr ){ 324 if( g.zErr ){
325 fprintf(stderr, "%s\n", g.zErr); 325 fprintf(stderr, "%s\n", g.zErr);
326 exit(1); 326 exit(1);
327 } 327 }
328 return 0; 328 return 0;
329 } 329 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698