1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Merge the latest trunk enhancements.

FossilOrigin-Name: 22ce9218fb2bb56cc5dd4e32077a16f669250d5f
This commit is contained in:
drh
2015-09-14 10:47:29 +00:00
98 changed files with 4347 additions and 1878 deletions

View File

@@ -251,7 +251,8 @@ int sqlite3_blob_open(
for(pIdx=pTab->pIndex; pIdx; pIdx=pIdx->pNext){
int j;
for(j=0; j<pIdx->nKeyCol; j++){
if( pIdx->aiColumn[j]==iCol ){
/* FIXME: Be smarter about indexes that use expressions */
if( pIdx->aiColumn[j]==iCol || pIdx->aiColumn[j]==(-2) ){
zFault = "indexed";
}
}