docs: Update LineProtocolExample.java
看代码的时候发现注释有个小问题,毫秒的英文全称弄错了。
This commit is contained in:
parent
b0b61e6f20
commit
3a99da6fd7
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue