Chromium Code Reviews| Index: third_party/sqlite/src/src/build.c |
| diff --git a/third_party/sqlite/src/src/build.c b/third_party/sqlite/src/src/build.c |
| index 323a6160fd0a027280242c483042865ef3cfb786..4f4f8ed7f5e110219a4f4679de257d921cd59b6c 100644 |
| --- a/third_party/sqlite/src/src/build.c |
| +++ b/third_party/sqlite/src/src/build.c |
| @@ -2480,7 +2480,7 @@ Index *sqlite3CreateIndex( |
| assert( pTab!=0 ); |
| assert( pParse->nErr==0 ); |
| if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 |
| - && memcmp(&pTab->zName[7],"altertab_",9)!=0 ){ |
| + && sqlite3StrNICmp(&pTab->zName[7],"altertab_",9)!=0 ){ |
|
wtc
2013/05/08 22:39:27
Did you notice that he changed some string compari
Scott Hess - ex-Googler
2013/05/08 22:56:51
Yeah. I don't think it will matter to any of our
|
| sqlite3ErrorMsg(pParse, "table %s may not be indexed", pTab->zName); |
| goto exit_create_index; |
| } |