Skip to content

Commit

Permalink
Fixed typo in collation_server variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
soklakov committed Jul 14, 2017
1 parent 40c1e88 commit 2104b56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/mysql/cj/mysqla/MysqlaSession.java
Original file line number Diff line number Diff line change
@@ -1002,7 +1002,7 @@ public void loadServerVariables(Object syncMutex, String version) {
queryBuf.append(", @@character_set_connection AS character_set_connection");
queryBuf.append(", @@character_set_results AS character_set_results");
queryBuf.append(", @@character_set_server AS character_set_server");
queryBuf.append(", @@collation_server AS ccollation_server");
queryBuf.append(", @@collation_server AS collation_server");
queryBuf.append(", @@init_connect AS init_connect");
queryBuf.append(", @@interactive_timeout AS interactive_timeout");
if (!versionMeetsMinimum(5, 5, 0)) {
@@ -1199,6 +1199,7 @@ public void buildCollationMapping() {
for (int i = 1; i < CharsetMapping.COLLATION_INDEX_TO_COLLATION_NAME.length; i++) {
if (CharsetMapping.COLLATION_INDEX_TO_COLLATION_NAME[i].equals(collationServer)) {
this.protocol.getServerSession().setServerDefaultCollationIndex(i);
break;
}
}
} else {

0 comments on commit 2104b56

Please sign in to comment.