提交 a4adf6df 编写于 作者: T tuohai666

#2343, chinese character for PostgreSQL

上级 43e39b11
......@@ -50,7 +50,7 @@ public final class PostgreSQLDataRowPacket implements PostgreSQLPacket {
payload.writeBytes((byte[]) each);
} else {
String columnData = each.toString();
payload.writeInt4(columnData.length());
payload.writeInt4(columnData.getBytes().length);
payload.writeStringEOF(columnData);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册