mr-potato-head
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,2 @@ | ||
var mysql = require('mysql'), | ||
var client = require('mysql'), | ||
lockQuery = 'SELECT GET_LOCK(?, ?)'; | ||
@@ -7,3 +7,3 @@ | ||
lockName = config.lockName || 'mr-potato-head', | ||
connection = mysql.createConnection({ | ||
connection = client.createConnection({ | ||
host: config.host, | ||
@@ -10,0 +10,0 @@ user: config.user || config.username, |
{ | ||
"name": "mr-potato-head", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Get an arbitrary, common mysql lock", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5960