remove name duplication

This commit is contained in:
Alexander Sulfrian 2011-11-18 21:07:00 +01:00
parent 916895639b
commit 59c5df6ef4

View File

@ -2,7 +2,7 @@ var EventEmitter = require('events').EventEmitter;
var util = require('util');
var Result = require(__dirname + "/result");
var types = require(__dirname + "/types");
var Types = require(__dirname + "/types");
var Query = function(config) {
this.text = config.text;
@ -44,8 +44,7 @@ p.handleRowDescription = function(msg) {
var field = msg.fields[i];
var format = field.format;
this._fieldNames[i] = field.name;
this._fieldConverters[i] = types.getTypeParser(field.dataTypeID, format);
this._fieldConverters[i] = Types.getTypeParser(field.dataTypeID, format);
};
};