mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-18 10:21:03 +03:00
Store the collating sequence name for each column of a table as an
extension to the column name, for an additional savings in the heap space needed to hold the schema. FossilOrigin-Name: 832ac4c1ee384be0de72a4bdd55ed87e0f8294e7df5eefcf6b4942db3d85a69e
This commit is contained in:
@@ -1241,8 +1241,9 @@ static void whereIndexExprTrans(
|
||||
#ifndef SQLITE_OMIT_GENERATED_COLUMNS
|
||||
}else if( iRef>=0
|
||||
&& (pTab->aCol[iRef].colFlags & COLFLAG_VIRTUAL)!=0
|
||||
&& (pTab->aCol[iRef].zCnColl==0
|
||||
|| sqlite3StrICmp(pTab->aCol[iRef].zCnColl, sqlite3StrBINARY)==0)
|
||||
&& ((pTab->aCol[iRef].colFlags & COLFLAG_HASCOLL)==0
|
||||
|| sqlite3StrICmp(sqlite3ColumnColl(&pTab->aCol[iRef]),
|
||||
sqlite3StrBINARY)==0)
|
||||
){
|
||||
/* Check to see if there are direct references to generated columns
|
||||
** that are contained in the index. Pulling the generated column
|
||||
|
||||
Reference in New Issue
Block a user