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

Unified Diff: third_party/sqlite/src/tool/showstat4.c

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/tool/showdb.c ('k') | third_party/sqlite/src/tool/spaceanal.tcl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/tool/showstat4.c
diff --git a/third_party/sqlite/src/tool/showstat4.c b/third_party/sqlite/src/tool/showstat4.c
index c7f9b10fbc2eff34341ff57a1cb1a90e29699069..e31150f0c0111cd446f89e89ac25decb01c0a333 100644
--- a/third_party/sqlite/src/tool/showstat4.c
+++ b/third_party/sqlite/src/tool/showstat4.c
@@ -130,11 +130,11 @@ int main(int argc, char **argv){
}
printf("'");
}else{
- printf("%s\"", zSep);
+ printf("%s'", zSep);
for(j=0; j<sz; j++){
char c = (char)aSample[y+j];
if( ISPRINT(c) ){
- if( c=='"' || c=='\\' ) putchar('\\');
+ if( c=='\'' || c=='\\' ) putchar('\\');
putchar(c);
}else if( c=='\n' ){
printf("\\n");
@@ -146,7 +146,7 @@ int main(int argc, char **argv){
printf("\\%03o", c);
}
}
- printf("\"");
+ printf("'");
}
zSep = ",";
y += sz;
« no previous file with comments | « third_party/sqlite/src/tool/showdb.c ('k') | third_party/sqlite/src/tool/spaceanal.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698