Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bug that fixed a bug of an older version of the mysql driver.

Update node-mysql to 0.7.0 (npm install mysql).
  • Loading branch information...
commit 97a4124324d9713cdc0c4590f6e7b8176521ce8f 1 parent 3843c74
@zefhemel zefhemel authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/persistence.store.mysql.js
  2. +1 −1  test/test.sync.server.js
View
2  lib/persistence.store.mysql.js
@@ -44,7 +44,7 @@ exports.config = function(persistence, hostname, port, db, username, password) {
session.close = function() {
conn.end();
- conn._connection.destroy();
+ //conn._connection.destroy();
};
return session;
};
View
2  test/test.sync.server.js
@@ -37,7 +37,7 @@ var persistenceStore = require('../lib/persistence.store.mysql');
var persistenceSync = require('../lib/persistence.sync.server');
// Database configuration
-persistenceStore.config(persistence, 'localhost', 'synctest', 'test', 'test');
+persistenceStore.config(persistence, 'localhost', 3306, 'synctest', 'test', 'test');
// Switch off query logging:
//persistence.db.log = false;
Please sign in to comment.
Something went wrong with that request. Please try again.