Comparing version 1.3.0 to 1.3.1
@@ -34,2 +34,4 @@ 'use strict'; | ||
if (typeof cb !== 'function') cb = function () {}; | ||
dbCon.org_beginTransaction(function (err) { | ||
@@ -48,2 +50,4 @@ if (err) { | ||
if (typeof cb !== 'function') cb = function () {}; | ||
dbCon.org_commit(function (err) { | ||
@@ -73,2 +77,4 @@ if (err) { | ||
if (typeof cb !== 'function') cb = function () {}; | ||
startTime = process.hrtime(); | ||
@@ -92,2 +98,4 @@ | ||
if (typeof cb !== 'function') cb = function () {}; | ||
dbCon.org_rollback(function (err) { | ||
@@ -94,0 +102,0 @@ if (err) { |
{ | ||
"name": "larvitdb", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "DB wrapper module for node.js", | ||
@@ -5,0 +5,0 @@ "main": "larvitdb.js", |
20517
446