-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugbug:dbInvolves a bug in the database serverInvolves a bug in the database serverdb:mysqlRelated to MySQLRelated to MySQLdb:third-party-compatConcerns a third-party database implementation that advertises support for a well known protocolConcerns a third-party database implementation that advertises support for a well known protocol
Description
Bug Description
A clear and concise description of what the bug is.
According to the MySQL Protocol, COM_STMT_PREPARE_OK does not necessarily require 12 bytes. 10 bytes is also acceptable. My question is, why must we require 12 bytes? @mehcode
Code:
https://github.com/launchbadge/sqlx/blob/main/sqlx-mysql/src/protocol/statement/prepare_ok.rs
MySQL protocol:
https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_com_stmt_prepare.html#sect_protocol_com_stmt_prepare_response_ok
Minimal Reproduction
A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
Info
- SQLx version: [0.7.4]
- SQLx features enabled: [ "runtime-tokio-rustls", "macros", "chrono","mysql","postgres",]
- Database server and version: [REQUIRED] (doris)
- Operating system: [linux]
rustc --version
: [1.7.9]
Metadata
Metadata
Assignees
Labels
bugbug:dbInvolves a bug in the database serverInvolves a bug in the database serverdb:mysqlRelated to MySQLRelated to MySQLdb:third-party-compatConcerns a third-party database implementation that advertises support for a well known protocolConcerns a third-party database implementation that advertises support for a well known protocol