tuohai666 opened a new issue, #4358:
URL: https://github.com/apache/shardingsphere/issues/4358

   Parameter type of char in MySQLColumnDefinition41Packet 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.
   
   For other filelds we follow MySQL Server's behavior:
   ```
   - Database: ""
   - Table: ""
   - Original Table: ""
   - Name: "?"
   - Original Name: ""
   - Length: 0
   ```


-- 
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.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to