Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working on database files while queries are executing #248

Open
g105b opened this issue Nov 16, 2021 · 0 comments
Open

Working on database files while queries are executing #248

g105b opened this issue Nov 16, 2021 · 0 comments
Milestone

Comments

@g105b
Copy link
Member

g105b commented Nov 16, 2021

This is probably a bad idea to be doing this, but locally I don't see why it should cause an issue.

When I'm creating/editing/renaming query files while a script is importing data, sometimes my IDE creates temporary files in the same directory. When PhpStorm does this, it creates a sibling file called originalFileName.sql~, and if a query is attempted to be run while this file exists, an exception is thrown.

It'd probably be a good idea to ignore file types that aren't recognised, if there's a matching file of a known type.

@g105b g105b modified the milestone: v2 Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant