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
Is MysQL longtext data type support planned?
The text was updated successfully, but these errors were encountered:
MySQL provides four TEXT types: TINYTEXT, TEXT, MEDIUMTEXT and LONGTEXT.
sqlx fails when trying to read a LONGTEXT field with more than 16 MB of content.
Sorry, something went wrong.
@eheredia42 what is the error you get when trying to decode more than 16 MB of content? It's likely a bug as LONGTEXT should already be supported.
Also, what version of MySQL are you using?
Ah, this is not a LONGTEXT bug. This is because we don't currently handle split packets: https://dev.mysql.com/doc/internals/en/sending-more-than-16mbyte.html
This is unfortunately a duplicate of #189 which is a very old issue. We might get to it at some point.
I suggest avoiding pulling the full content of the column in one query, or otherwise restructuring your query to split the data across multiple rows which should work around the error. It should be possible with a recursive common table expression: https://dev.mysql.com/doc/refman/8.0/en/with.html#common-table-expressions-recursive
No branches or pull requests
Is MysQL longtext data type support planned?
The text was updated successfully, but these errors were encountered: