docs: Update LineProtocolExample.java

看代码的时候发现注释有个小问题,毫秒的英文全称弄错了。
This commit is contained in:
Zhengmao Zhu 2022-06-28 19:24:45 +08:00 committed by gccgdb1234
parent b0b61e6f20
commit 3a99da6fd7
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class LineProtocolExample {
private static void createDatabase(Connection conn) throws SQLException {
try (Statement stmt = conn.createStatement()) {
// the default precision is ms (microsecond), but we use us(microsecond) here.
// the default precision is ms (milliseconds), but we use us(microsecond) here.
stmt.execute("CREATE DATABASE IF NOT EXISTS test PRECISION 'us'");
stmt.execute("USE test");
}