]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Change the unions of the Table.addColOffset field from characters to bytes.
authordrh <drh@noemail.net>
Fri, 1 Jan 2021 20:04:34 +0000 (20:04 +0000)
committerdrh <drh@noemail.net>
Fri, 1 Jan 2021 20:04:34 +0000 (20:04 +0000)
commit37114fbfcc3b7e03ca9d4aa6c23d36e3df0ce553
treed1109c5abdb9468020c5382d1c4b8e5205ddf9f1
parent3e992d1ab72ba48c4896d18b6ea29b4f184bb7d3
Change the unions of the Table.addColOffset field from characters to bytes.
This makes the query that implements ALTER TABLE ADD COLUMN more complex and
slightly slower, but also makes CREATE TABLE statement parsing faster by
avoiding a call to sqlite3UtfCharLen().  Since, CREATE TABLE parsing is far
more common than ALTER TABLE, this is a net win for performance.

FossilOrigin-Name: 6f25f2529f1495a26129d7d407979906e4962b2de351f901d41cb037d05ba780
manifest
manifest.uuid
src/alter.c
src/build.c