SQLite Forum

[Q] shrink.test
Hi all,

while debugging I noticed something that might be a bug - or my misunderstanding of the Tcl language.

[https://github.com/sqlite/sqlite/blob/e7e9539d99b2cdc63d354bc31933f3be7b4bbc4c/test/shrink.test#L27](https://github.com/sqlite/sqlite/blob/e7e9539d99b2cdc63d354bc31933f3be7b4bbc4c/test/shrink.test#L27) reads

    set ::baseline sqlite3_memory_used

I think that it might actually be

    set ::baseline [sqlite3_memory_used]

instead, analogically to lines 35 and 42.

Reporting it here in case it's a bug. Sorry for the noise otherwise.