Fix on convert_database_styles script

This commit is contained in:
David Arango 2012-11-28 15:33:20 +01:00
parent a3d09339de
commit 72cf824235

View File

@ -39,7 +39,7 @@ var failures = [];
var client = redis.createClient(REDIS_PORT, 'localhost');
client.on('connect', function() {
client.select(dbnum);
client.keys('map_style|${database_name}|${table_name}', function(err, matches) {
client.keys('map_style|' + database_name + '|' + table_name, function(err, matches) {
processNext = function() {
if ( ! matches.length ) process.exit(failures.length);