Repository navigation
buffer empty: handled error when value is null - #8661
miteshsondhi wants to merge 1 commit into
Conversation
|
Can you add a test to prevent regression? When did you encounter this issue? |
|
@sushantdhiman thanks for reviewing I don't know how to setup test env locally. But I can provide an example which will produce this issue. above is the github link please run it
My pr will fix the issue thanks |
|
I'm having this issue as well but only using Stacktrace |
|
@sushantdhiman I am only able to reproduce this going against an actual MySQL/MariaDB instance so I am not sure how to add a regression test. Can you provide assistance in adding coverage if it is needed - the change is pretty small and does prevent the error shown my stacktrace This is preventing me from being able to upgrade to the latest Thanks! |
|
This is the change that explicitly says that it is now returning NULL instead of an empty Buffer, which the Sequelize code is not accounting for. sidorares/node-mysql2@21dfe3d The comment in the Sequelize code (https://dev.mysql.com/worklog/task/?id=2381) notes that the |
Pull Request check-list
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Description of change
value.length is throw an exception when value=null I have fixed that please check