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

Unified Diff: third_party/sqlite/src/tool/mkopcodec.tcl

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/mkmsvcmin.tcl ('k') | third_party/sqlite/src/tool/mkopcodeh.tcl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/tool/mkopcodec.tcl
diff --git a/third_party/sqlite/src/tool/mkopcodec.tcl b/third_party/sqlite/src/tool/mkopcodec.tcl
index 55d828b14df45747fb753f4aee170a957f4bbb3f..abdeaaeb3202481b45823ff60427e7a050e5e062 100644
--- a/third_party/sqlite/src/tool/mkopcodec.tcl
+++ b/third_party/sqlite/src/tool/mkopcodec.tcl
@@ -19,7 +19,7 @@ puts "#else"
puts "# define OpHelp(X)"
puts "#endif"
puts "const char *sqlite3OpcodeName(int i)\173"
-puts " static const char *const azName\[\] = \173 \"?\","
+puts " static const char *const azName\[\] = \173"
set mx 0
set in [open [lindex $argv 0] rb]
@@ -40,7 +40,7 @@ while {![eof $in]} {
}
close $in
-for {set i 1} {$i<=$mx} {incr i} {
+for {set i 0} {$i<=$mx} {incr i} {
puts [format " /* %3d */ %-18s OpHelp(\"%s\")," \
$i \"$label($i)\" $synopsis($i)]
}
« no previous file with comments | « third_party/sqlite/src/tool/mkmsvcmin.tcl ('k') | third_party/sqlite/src/tool/mkopcodeh.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698