Skip to content

Commit

Permalink
fix bug with statement
Browse files Browse the repository at this point in the history
  • Loading branch information
peterprib committed Jun 24, 2020
1 parent 49f21ac commit d1b2538
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ _Note_ The examples will require the drivers to be installed

# Version

0.0.4 fix bug on statement.

0.0.3 fix bug with error handling and arrays. Add pg in to package dependencies. More debug details.

0.0.2 get rid of monetdb warning. Add in access to flow.get env.get, global.get
Expand Down
2 changes: 1 addition & 1 deletion connectionManager/cm-statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function processArray(node,msg,source,index) {
(result)=>{
if(logger.active) logger.send({label:"processArray query result",msg:msg._msgid});
msg.cm.requestTS.after=new Date();
msg.cm.requestTS.elapse=msg.requestTS.after-msg.requestTS.before;
msg.cm.requestTS.elapse=msg.cm.requestTS.after-msg.cm.requestTS.before;
msg.result.push(result);
processArray.apply(this,[node,msg,source,++index]);
},
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-connectionmanager",
"version": "0.0.3",
"version": "0.0.4",
"description": "Node-RED implements generalised connections manager.",
"dependencies": {
"logger": "git+https://github.com/peterprib/node-red-contrib-logger.git",
Expand Down

0 comments on commit d1b2538

Please sign in to comment.