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

Unified Diff: third_party/sqlite/sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch

Issue 885473002: [sql] Rewrite sqlite patching "system". (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo in readme. 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
« no previous file with comments | « third_party/sqlite/separate_cache_pool.patch ('k') | third_party/sqlite/src/Makefile.linux-gcc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch
diff --git a/third_party/sqlite/sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch b/third_party/sqlite/sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch
deleted file mode 100644
index a5b031b1d3ad70bfc7bd171a99dcc998d6e571af..0000000000000000000000000000000000000000
--- a/third_party/sqlite/sqlite-3.7.6.3-fix-out-of-scope-memory-reference.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- ext/fts3/fts3_write.c.orig 2012-05-08 21:05:03.000000000 +0300
-+++ ext/fts3/fts3_write.c 2012-05-08 21:07:08.000000000 +0300
-@@ -1238,13 +1238,13 @@ int sqlite3Fts3SegReaderPending(
- Fts3SegReader **ppReader /* OUT: SegReader for pending-terms */
- ){
- Fts3SegReader *pReader = 0; /* Fts3SegReader object to return */
-+ Fts3HashElem *pE; /* Iterator variable */
- Fts3HashElem **aElem = 0; /* Array of term hash entries to scan */
- int nElem = 0; /* Size of array at aElem */
- int rc = SQLITE_OK; /* Return Code */
-
- if( isPrefix ){
- int nAlloc = 0; /* Size of allocated array at aElem */
-- Fts3HashElem *pE = 0; /* Iterator variable */
-
- for(pE=fts3HashFirst(&p->pendingTerms); pE; pE=fts3HashNext(pE)){
- char *zKey = (char *)fts3HashKey(pE);
-@@ -1276,7 +1276,7 @@ int sqlite3Fts3SegReaderPending(
- }
-
- }else{
-- Fts3HashElem *pE = fts3HashFindElem(&p->pendingTerms, zTerm, nTerm);
-+ pE = fts3HashFindElem(&p->pendingTerms, zTerm, nTerm);
- if( pE ){
- aElem = &pE;
- nElem = 1;
« no previous file with comments | « third_party/sqlite/separate_cache_pool.patch ('k') | third_party/sqlite/src/Makefile.linux-gcc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698