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/fts3.patch

Issue 2829042: Fix a fts3 typo/bug. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 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
« third_party/sqlite/ext/fts3/fts3.c ('K') | « third_party/sqlite/ext/fts3/fts3.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/fts3.patch
===================================================================
--- third_party/sqlite/fts3.patch (revision 51581)
+++ third_party/sqlite/fts3.patch (working copy)
@@ -1110,7 +1110,7 @@
+ if( !n ) return SQLITE_CORRUPT_BKPT;
+ pReader->nData -= n;
+ pReader->pData += n;
-+ n += fts3GetVarint32Safe(pReader->pData, &nSuffix, pReader->nData);
++ n = fts3GetVarint32Safe(pReader->pData, &nSuffix, pReader->nData);
+ if( !n ) return SQLITE_CORRUPT_BKPT;
+ pReader->nData -= n;
+ pReader->pData += n;
« third_party/sqlite/ext/fts3/fts3.c ('K') | « third_party/sqlite/ext/fts3/fts3.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698