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

Missing whitespace in SQL command for dbstatecheck #6548

Open
ColemanTom opened this issue Jan 10, 2025 · 0 comments
Open

Missing whitespace in SQL command for dbstatecheck #6548

ColemanTom opened this issue Jan 10, 2025 · 0 comments
Labels
bug Something is wrong :( small
Milestone

Comments

@ColemanTom
Copy link
Contributor

Looking at https://github.com/cylc/cylc-flow/blob/master/cylc/flow/dbstatecheck.py#L306 I think either a \n or \w is missing before the ORDER BY statement.

How I read it, I would expect this result stmt='\n SELECT\n name, cycle, status, flow_nums\n FROM\n task_states\n WHERE\n name==? AND cycle==? AND status==?ORDER BY submit_num'

I suggest adding a space or linebreak character in the line I mentioned.

@ColemanTom ColemanTom added the bug Something is wrong :( label Jan 10, 2025
@MetRonnie MetRonnie added this to the 8.4.1 milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is wrong :( small
Projects
None yet
Development

No branches or pull requests

2 participants