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; |