vinyl: fix crash if iterator is used throughout DDL
vy_run_iterator doesn't take a reference to the format it uses to decode statements loaded from disk. As a result, the format may be deleted by DDL, leading to a use-after-free bug. Fix this by taking a reference to the format used by an iterator. Closes #4000
Loading
Please register or sign in to comment