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

Unified Diff: third_party/sqlite/sqlite-src-3070603/src/analyze.c

Issue 826543003: [sql] Import reference version of SQLite 3.7.6.3. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: gitignore forgot some files for me. 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
Index: third_party/sqlite/sqlite-src-3070603/src/analyze.c
diff --git a/third_party/sqlite/src/src/analyze.c b/third_party/sqlite/sqlite-src-3070603/src/analyze.c
similarity index 99%
copy from third_party/sqlite/src/src/analyze.c
copy to third_party/sqlite/sqlite-src-3070603/src/analyze.c
index 2444e7492329e0a33f171f5681b9b22a206f9e71..17c1de83a98bdec3bb98c917a5bbdec2927bc0fc 100644
--- a/third_party/sqlite/src/src/analyze.c
+++ b/third_party/sqlite/sqlite-src-3070603/src/analyze.c
@@ -142,7 +142,7 @@ static void analyzeOneTable(
/* Do not gather statistics on views or virtual tables */
return;
}
- if( sqlite3_strnicmp(pTab->zName, "sqlite_", 7)==0 ){
+ if( memcmp(pTab->zName, "sqlite_", 7)==0 ){
/* Do not gather statistics on system tables */
return;
}
@@ -548,7 +548,7 @@ static int analysisLoader(void *pData, int argc, char **argv, char **NotUsed){
if( pIndex==0 ) break;
pIndex->aiRowEst[i] = v;
if( *z==' ' ) z++;
- if( strcmp(z, "unordered")==0 ){
+ if( memcmp(z, "unordered", 10)==0 ){
pIndex->bUnordered = 1;
break;
}
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/src/alter.c ('k') | third_party/sqlite/sqlite-src-3070603/src/attach.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698