We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The rust integration test uses invalid SQL and does not actually work.
The test_prepared_statements function in the Rust integration tests uses this code & statement:
test_prepared_statements
match sqlx::query("SELECT one").fetch_all(&pool).await { Ok(_) => (), Err(err) => { if err.to_string().contains("prepared statement") { panic!("prepared statement error: {}", err); } } }
SELECT one is not valid SQL and produces an error
SELECT one
Severity: ERROR Code: 42703 Message: column "one" does not exist Position: 8 File: parse_relation.c Line: 3666 Routine: errorMissingColumn
The test "passes" because the error handling ignores the errors
To Reproduce
Expected behavior
The rust test should run without errors in either the test or the running proxy.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The rust integration test uses invalid SQL and does not actually work.
The
test_prepared_statements
function in the Rust integration tests uses this code & statement:SELECT one
is not valid SQL and produces an errorThe test "passes" because the error handling ignores the errors
To Reproduce
Expected behavior
The rust test should run without errors in either the test or the running proxy.
The text was updated successfully, but these errors were encountered: