SQLite Forum

[Q] shrink.test
Login

[Q] shrink.test

(1) By 0xjnml on 2021-09-06 09:14:53 [link] [source]

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 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.

-j

(2) By 0xjnml on 2021-09-13 09:27:26 in reply to 1 [link] [source]

Gentle ping after a week has passed.

(3) By Richard Hipp (drh) on 2021-09-13 09:50:28 in reply to 2 [source]

(4) By 0xjnml on 2021-09-13 15:46:19 in reply to 3 [link] [source]

Fantastic, thanks a lot.