File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2002, 2019 , Oracle and/or its affiliates. All rights reserved.
2
+ Copyright (c) 2002, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
4
4
The MySQL Connector/J is licensed under the terms of the GPLv2
5
5
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
@@ -910,7 +910,7 @@ private void buildCollationMapping() throws SQLException {
910
910
try {
911
911
results = stmt .executeQuery ("SHOW COLLATION" );
912
912
while (results .next ()) {
913
- int collationIndex = (( Number ) results .getObject ( 3 )). intValue ( );
913
+ int collationIndex = results .getInt ( 3 );
914
914
String charsetName = results .getString (2 );
915
915
916
916
// if no static map for charsetIndex or server has a different mapping then our static map, adding it to custom map
You can’t perform that action at this time.
0 commit comments