Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
客户端其实是没法直接通过数据类型判断服务器发来的数据是否有无符号的.需要通过列定义包中的标志位来判断.
https://mariadb.com/kb/en/resultset
整型数据也不能统一按符号型(I<n>)处理,不然会导致错误.比如服务器存储了一个unsigned tinyint,其值为0xFF,都按照有符号整型处理,客户端是取不到255(<I1)这个值的,只能取到-1(<i1).