MINOR: shctx: Set last_append to NULL when reserving block in hot list
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 16 Nov 2023 16:38:11 +0000 (17:38 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 16 Nov 2023 18:35:10 +0000 (19:35 +0100)
commit55fbf820808166d49fa51ca6de9a3ddeaaeeec88
tree73178edc1a7bed2b651474cd75ed59ceda250afb
parent560cb1332abb56462958425ca85004b78143311c
MINOR: shctx: Set last_append to NULL when reserving block in hot list

Ensure that the last_append pointer is always set to NULL on first block
of rows reserved by the subsystems using the shctx (cache for instance).
This pointer will be used directly in shctx_row_data_append instead of
the 'from' param which will simplify its uses.
src/shctx.c