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

Unified Diff: third_party/sqlite/sqlite-src-3080704/tool/tostr.awk

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 11 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
Index: third_party/sqlite/sqlite-src-3080704/tool/tostr.awk
diff --git a/third_party/sqlite/sqlite-src-3080704/tool/tostr.awk b/third_party/sqlite/sqlite-src-3080704/tool/tostr.awk
new file mode 100644
index 0000000000000000000000000000000000000000..b4f48d3db559ae9624ce82a328ebdef9b966e0f7
--- /dev/null
+++ b/third_party/sqlite/sqlite-src-3080704/tool/tostr.awk
@@ -0,0 +1,8 @@
+#!/usr/bin/awk
+#
+# Convert input text into a C string
+#
+{
+ gsub(/\"/,"\\\"");
+ print "\"" $0 "\\n\"";
+}

Powered by Google App Engine
This is Rietveld 408576698