Skip to content

fix: allow VACUUM INTO with an existing empty file#6360

Open
harin-ramesh wants to merge 1 commit intotursodatabase:mainfrom
harin-ramesh:fix/vacuum-into-empty-target
Open

fix: allow VACUUM INTO with an existing empty file#6360
harin-ramesh wants to merge 1 commit intotursodatabase:mainfrom
harin-ramesh:fix/vacuum-into-empty-target

Conversation

@harin-ramesh
Copy link
Copy Markdown
Contributor

Description

VACUUM INTO was previously only checking whether the file exists. Added a check to verify if the file is empty before failing the VACUUM INTO operation.

Motivation and context

Fixes: #5804

Copy link
Copy Markdown

@turso-bot turso-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review @pereman2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VACUUM INTO Rejects Existing Empty Destination File

1 participant