mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Use the sqlite3IndexColumnAffinity() routine to quickly and correctly find the
affinity of an index column. FossilOrigin-Name: 1ee089a72d789002a0a377347fc51e08ab32fb14
This commit is contained in:
@@ -492,7 +492,7 @@ static int codeAllEqualityTerms(
|
||||
nReg = pLoop->u.btree.nEq + nExtraReg;
|
||||
pParse->nMem += nReg;
|
||||
|
||||
zAff = sqlite3DbStrDup(pParse->db, sqlite3IndexAffinityStr(v, pIdx));
|
||||
zAff = sqlite3DbStrDup(pParse->db,sqlite3IndexAffinityStr(pParse->db,pIdx));
|
||||
if( !zAff ){
|
||||
pParse->db->mallocFailed = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user