improve wall.html

This commit is contained in:
wenshao
2013-08-01 08:15:48 +08:00
parent f53fdb6d61
commit 75ccf8c494
3 changed files with 51 additions and 3 deletions
@@ -90,7 +90,7 @@ public class MySqlParameterizedOutputVisitor extends MySqlOutputVisitor implemen
if (computeSharding) {
int pos = name.lastIndexOf('_');
if (pos != -1 && pos != name.length()) {
if (pos != -1 && pos != name.length() - 1) {
boolean isNumber = true;
for (int i = pos + 1; i < name.length(); ++i) {
char ch = name.charAt(i);