You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Go projects, we check the packet's length. However, in the MySQL client and other language drivers, this is not done. They only extract the necessary content from the packet without checking its length. This approach provides the MySQL protocol with sufficient flexibility. Therefore, I believe we should remove the length check here.
ifn-len(data) ==0 {
returnint(num), nil
}
The text was updated successfully, but these errors were encountered:
I attempted to add some additional content to this packet, and it threw the following exception:
However, I can obtain the correct results on other clients and drivers.
In Go projects, we check the packet's length. However, in the MySQL client and other language drivers, this is not done. They only extract the necessary content from the packet without checking its length. This approach provides the MySQL protocol with sufficient flexibility. Therefore, I believe we should remove the length check here.
The text was updated successfully, but these errors were encountered: