tuohai666 opened a new issue #4355: Different ComStmtPrepare process between MySQL Connector/J and MySQL C API URL: https://github.com/apache/incubator-shardingsphere/issues/4355 Column type of char in response of ComStmtPrepare handled differently between MySQL Connector/J and MySQL C API. Connector/J accepts MYSQL_TYPE_VARCHAR, MYSQL_TYPE_VAR_STRING and MYSQL_TYPE_STRING. While C API checks strictly and only accept MYSQL_TYPE_VAR_STRING and MYSQL_TYPE_STRING, because column type will be stored in struct MYSQL_STMT (fields.type) but MYSQL_TYPE_VARCHAR is not allowed to bind result.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
