Skip to content

Commit

Permalink
Update lib/persistence.store.mysql.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmumm committed Nov 18, 2011
1 parent 1020621 commit c6a364c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/persistence.store.mysql.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Easy install using npm: * Easy install using npm:
* npm install mysql * npm install mysql
*/ */
var sys = require('sys'); var sys = require('util');
var sql = require('./persistence.store.sql'); var sql = require('./persistence.store.sql');
var mysql = require('mysql'); var mysql = require('mysql');


Expand Down Expand Up @@ -47,7 +47,9 @@ exports.config = function(persistence, hostname, port, db, username, password) {
//conn._connection.destroy(); //conn._connection.destroy();
}; };
session.conn = conn; session.conn = conn;
if(cb) cb(); if(cb) {
cb();
}
return session; return session;
}; };


Expand Down

0 comments on commit c6a364c

Please sign in to comment.