Skip to content

Commit

Permalink
remove commented out debugging statements
Browse files Browse the repository at this point in the history
  • Loading branch information
David Starke committed Jun 3, 2011
1 parent a168e48 commit 5336f3f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions engines/node/lib/store-engine/sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,9 @@ function MysqlWrapper(params) {
currentConnection = conn;
throwOnError(conn.query('SET autocommit=0;'), 'disable autocommit');
throwOnError(conn.query('BEGIN'), 'initialize transaction');
//console.log("start txn");

return {
commit: function() {
//console.log("commit txn");
throwOnError(conn.query("COMMIT"), 'commit SQL transaction');
throwOnError(conn.close(), 'close connection');
},
Expand All @@ -69,11 +67,9 @@ function MysqlWrapper(params) {
throwOnError(conn.close(), 'close connection');
},
suspend: function(){
//console.log("suspend");
currentConnection = null;
},
resume: function(){
//console.log("resume");
currentConnection = conn;
}
};
Expand All @@ -88,7 +84,6 @@ function MysqlWrapper(params) {
}

function connectMysql(params) {
//console.log("connecting to mysql");
var ret = require("mysql-native/client").createTCPClient(params.host, params.port);
ret.auto_prepare = true;
ret.row_as_hash = true;
Expand Down

0 comments on commit 5336f3f

Please sign in to comment.