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/main.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/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 3c1191c36..a37301a64 100644 --- a/src/main.c +++ b/src/main.c @@ -3769,7 +3769,7 @@ int sqlite3_table_column_metadata( */ if( pCol ){ zDataType = sqlite3ColumnType(pCol,0); - zCollSeq = pCol->zCnColl; + zCollSeq = sqlite3ColumnColl(pCol); notnull = pCol->notNull!=0; primarykey = (pCol->colFlags & COLFLAG_PRIMKEY)!=0; autoinc = pTab->iPKey==iCol && (pTab->tabFlags & TF_Autoincrement)!=0; |