undo mysql change again

This commit is contained in:
Dave Conway-Jones 2021-03-14 17:54:31 +00:00
parent 3330053a1c
commit fabd3753b4
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 6 additions and 6 deletions

View File

@ -156,9 +156,9 @@ module.exports = function(RED) {
status = {fill:"green",shape:"dot",text:"OK"}; status = {fill:"green",shape:"dot",text:"OK"};
node.status(status); node.status(status);
} }
if (node.mydbConfig.pool._freeConnections.indexOf(node.mydbConfig.connection) === -1) { // if (node.mydbConfig.pool._freeConnections.indexOf(node.mydbConfig.connection) === -1) {
node.mydbConfig.connection.release(); // node.mydbConfig.connection.release();
} // }
}); });
} }
else { else {

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-mysql", "name": "node-red-node-mysql",
"version": "0.1.3", "version": "0.1.4",
"description": "A Node-RED node to read and write to a MySQL database", "description": "A Node-RED node to read and write to a MySQL database",
"dependencies": { "dependencies": {
"mysql": "^2.18.1" "mysql": "^2.18.1"