We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f9e971 commit da5ad41Copy full SHA for da5ad41
index.js
@@ -88,7 +88,7 @@ var Base = Class.extend({
88
case type.SMALLINT:
89
return 'SMALLINT';
90
default:
91
- var unknownType = str.toUpperCase();
+ var unknownType = typeof str === 'string' ? str.toUpperCase() : str;
92
log.warn('Using unknown data type', unknownType);
93
return unknownType;
94
}
0 commit comments