remove name duplication
This commit is contained in:
parent
916895639b
commit
59c5df6ef4
@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user