-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Rust mysql_async interpreting table_name and is_nullable as empty strings from information_schema.columns in prepared statement #7661
Comments
Just checking, was this a MySQL 8.0 CLI? |
That's the CLI I have installed - I'll add a case for testing this with a plaintext query and get back to you on the second question |
Without using a prepared statement, the data is correct |
Two pcaps:
|
Just for good measure, added one for
|
I tried the test present in planetscale/vitess-framework-testing#130 on my local Vitess cluster and it does not fail |
Are you saying that you can't reproduce the error? Or that #7685 fixes this? |
I am not seeing this error using this branch locally. #7685 is unrelated. |
I just pulled fresh vttestserver images to see if it happens to have been fixed in the interim, but I'm still seeing it. @harshit-gangal what's the exact command you're using to execute the test? |
I have Vitess cluster running and executed |
@mcronce can you confirm with the new version of vttestserver that the issue is fixed? |
@harshit-gangal I tested |
Closing as the issue does not exists. |
Overview of the Issue
When running Prisma's integration tests against the MySQL 8.0 flavor of vttestserver specifically (MySQL 5.7, MySQL 8.0, and vttestserver:mysql57 all work fine), the results of the following query are being interpreted incorrectly by the client:
Specifically, the
table_name
andis_nullable
columns, at least on the first row, are being interpreted as empty strings.When running the query manually from the MySQL CLI, everything comes out looking normal:
Reproduction Steps
The last test case in
rust/mysql_async
test in planetscale/vitess-framework-testing#130 covers this.Binary version
Operating system and Environment details
Inside the
vitess/vttestserver:mysql80
container:On the host:
Log Fragments
The text was updated successfully, but these errors were encountered: