fix: fix wrong length number write to packet#3177
fix: fix wrong length number write to packet#3177wellwelwel merged 5 commits intosidorares:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3177 +/- ##
==========================================
+ Coverage 89.98% 90.15% +0.16%
==========================================
Files 86 86
Lines 13693 13692 -1
Branches 1643 1647 +4
==========================================
+ Hits 12322 12344 +22
+ Misses 1371 1348 -23
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi, @remones 🙋🏻♂️ Could you provide some context? |
@wellwelwel I'm so sorry, I will provide the test code later. Please let me explain the issue first: I have a node.js service uses mysql2 to access a MySQL proxy service. When attempting to write a 32MB TEXT field, it raises some errors. we found the reason is that the field length in the MySQL protocol packet read by the proxy far exceeds 32MB. I believe the issue is caused by JavaScript bitwise operations not supporting numbers larger than 32 bits. |
|
Thanks, @remones! I fixed a |
No description provided.