Skip to content

Commit d44ccdb

Browse files
committed
add typeCast to cache key generation
1 parent 5d253c1 commit d44ccdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Connection.prototype.resume = function resume () {
442442

443443
Connection.prototype.keyFromFields = function keyFromFields (fields, options) {
444444
var res = (typeof options.nestTables) + '/' + options.nestTables + '/' + options.rowsAsArray
445-
+ options.supportBigNumbers + '/' + options.bigNumberStrings;
445+
+ options.supportBigNumbers + '/' + options.bigNumberStrings + '/' + typeof options.typeCast;
446446
for (var i = 0; i < fields.length; ++i) {
447447
res += '/' + fields[i].name + ':' + fields[i].columnType + ':' + fields[i].flags;
448448
}

0 commit comments

Comments
 (0)