File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ var parse = function(str) {
3939 config . fallback_application_name = result . query . fallback_application_name ;
4040 }
4141
42+ config . port = result . port ;
4243 if ( result . protocol == 'socket:' ) {
4344 config . host = decodeURI ( result . pathname ) ;
4445 config . database = result . query . db ;
@@ -50,7 +51,6 @@ var parse = function(str) {
5051 var auth = ( result . auth || ':' ) . split ( ':' ) ;
5152 config . user = auth [ 0 ] ;
5253 config . password = auth [ 1 ] ;
53- config . port = result . port ;
5454
5555 var ssl = result . query . ssl ;
5656 if ( ssl === 'true' || ssl === '1' ) {
@@ -66,7 +66,7 @@ var useSsl = function() {
6666 return false ;
6767 case "prefer" :
6868 case "require" :
69- case "verify-ca" :
69+ case "verify-ca" :
7070 case "verify-full" :
7171 return true ;
7272 }
You can’t perform that action at this time.
0 commit comments