Closed jannyHou closed 4 years ago
Moved the description here:
When the SQL returnes a warning, there is a non-null err and the info is an empty array so info[o].affectedRows blows up
info[o].affectedRows
This PR is created to fix ^
👉 Read and sign the CLA (Contributor License Agreement) 👈
npm test
I found other operations use cb(err, {count: Number.parseInt(info[0].affectedRows, 10)}); too. Maybe we can fix them as well?
cb(err, {count: Number.parseInt(info[0].affectedRows, 10)});
@agnes512 Sure 👍 updated as well.
Moved the description here:
This PR is created to fix ^
Checklist
👉 Read and sign the CLA (Contributor License Agreement) 👈
npm test
passes on your machine