Skip to content

Commit

Permalink
修复on duplicate key update大小写问题
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiaoguang64 committed Apr 16, 2019
1 parent e239f36 commit 3c67c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/mycat/route/util/RouterUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ public static Object[] parseSqlValueArrayAndSuffixStr(String origSQL, int values
parenCount++;
}
} else if (flag == 4) {
if (c == 'o') {
if (c == 'o' || c == 'O') {
String suffixStr = valuesAndSuffixStr.substring(pos);
return new Object[]{valueArray, suffixStr};
}
Expand Down

0 comments on commit 3c67c91

Please sign in to comment.