Skip to content

Commit 85a50aa

Browse files
committed
Allow whitespace on connection flags
1 parent 86efafb commit 85a50aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ConnectionConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function ConnectionConfig(options) {
3434
: Charsets.UTF8_GENERAL_CI;
3535

3636
this.clientFlags = ConnectionConfig.mergeFlags(ConnectionConfig.getDefaultFlags(options),
37-
(options.flags || '').toUpperCase().split(','));
37+
(options.flags || '').toUpperCase().split(/\s*,\s*/));
3838
}
3939

4040
ConnectionConfig.mergeFlags = function(default_flags, user_flags) {

0 commit comments

Comments
 (0)