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/src/ext/fts5/fts5_varint.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/ext/fts5/fts5_unicode2.c ('k') | third_party/sqlite/src/ext/fts5/fts5_vocab.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/ext/fts5/fts5_varint.c
diff --git a/third_party/sqlite/src/ext/fts5/fts5_varint.c b/third_party/sqlite/src/ext/fts5/fts5_varint.c
index 21858506acd7dac5ac2bb36eecdac3c00e32bf74..bb212ab5a8a1e6bdd86721f10bfd39cf59a6b0ec 100644
--- a/third_party/sqlite/src/ext/fts5/fts5_varint.c
+++ b/third_party/sqlite/src/ext/fts5/fts5_varint.c
@@ -333,7 +333,10 @@ int sqlite3Fts5PutVarint(unsigned char *p, u64 v){
int sqlite3Fts5GetVarintLen(u32 iVal){
+#if 0
if( iVal<(1 << 7 ) ) return 1;
+#endif
+ assert( iVal>=(1 << 7) );
if( iVal<(1 << 14) ) return 2;
if( iVal<(1 << 21) ) return 3;
if( iVal<(1 << 28) ) return 4;
« no previous file with comments | « third_party/sqlite/src/ext/fts5/fts5_unicode2.c ('k') | third_party/sqlite/src/ext/fts5/fts5_vocab.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698