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

Different validation of COUNT request depending on record existance #2042

Open
NVO777 opened this issue Jan 13, 2025 · 0 comments
Open

Different validation of COUNT request depending on record existance #2042

NVO777 opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@NVO777
Copy link

NVO777 commented Jan 13, 2025

Receive error for such request: SELECT COUNT(id) FROM test001 WHERE col1 = '' if table contains records and no error if table is empty

I expect to get proper count of records or the same error in case if there are no records

Attached sources and logs will help to reproduce error
It will be possible to reproduce it, attached code and log and You can analyze it
ZIP contains:
run_test.sh - how do i run the test
immu.go - Go source file
immu.log - Go test file execution output
test_20250113_v3.zip

Environment

# run "immu* version" and copy/paste the output here

immuclient version
immuclient 1.9.4
Commit : 76cd08a
Built at: Thu, 25 Jul 2024 20:17:12 UTC

Additional info (any other context about the problem)

@NVO777 NVO777 added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant