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

Unified Diff: third_party/sqlite/sqlite-src-3070603/src/vdbeapi.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/vdbeapi.c
diff --git a/third_party/sqlite/src/src/vdbeapi.c b/third_party/sqlite/sqlite-src-3070603/src/vdbeapi.c
similarity index 99%
copy from third_party/sqlite/src/src/vdbeapi.c
copy to third_party/sqlite/sqlite-src-3070603/src/vdbeapi.c
index 80ceb9f3c5be337a2b5b150469943b8d953c746e..90baaccc68a4e087f6ac6ddb5b146d1777b7d8d2 100644
--- a/third_party/sqlite/src/src/vdbeapi.c
+++ b/third_party/sqlite/sqlite-src-3070603/src/vdbeapi.c
@@ -1222,7 +1222,7 @@ int sqlite3VdbeParameterIndex(Vdbe *p, const char *zName, int nName){
if( zName ){
for(i=0; i<p->nVar; i++){
const char *z = p->azVar[i];
- if( z && strncmp(z,zName,nName)==0 && z[nName]==0 ){
+ if( z && memcmp(z,zName,nName)==0 && z[nName]==0 ){
return i+1;
}
}
« no previous file with comments | « third_party/sqlite/sqlite-src-3070603/src/vdbeInt.h ('k') | third_party/sqlite/sqlite-src-3070603/src/vdbeaux.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698