diff options
author | drh <> | 2021-08-05 15:27:19 +0000 |
---|---|---|
committer | drh <> | 2021-08-05 15:27:19 +0000 |
commit | 65b400931ddbaaa2059094a014ecf46c0840857c (patch) | |
tree | 26c831dfb7bd1bfb567aad2bd7afd20b91b2268a /src/expr.c | |
parent | 324f91a591ba4578917ab0436a966ff33b163a2a (diff) | |
download | sqlite-65b400931ddbaaa2059094a014ecf46c0840857c.tar.gz sqlite-65b400931ddbaaa2059094a014ecf46c0840857c.zip |
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
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 0f900c0c6..34f14e368 100644 --- a/src/expr.c +++ b/src/expr.c @@ -173,7 +173,7 @@ CollSeq *sqlite3ExprCollSeq(Parse *pParse, const Expr *pExpr){ ** a TK_COLUMN but was previously evaluated and cached in a register */ int j = p->iColumn; if( j>=0 ){ - const char *zColl = p->y.pTab->aCol[j].zCnColl; + const char *zColl = sqlite3ColumnColl(&p->y.pTab->aCol[j]); pColl = sqlite3FindCollSeq(db, ENC(db), zColl, 0); } break; |