docs: typo in LineProtocolExample.java
This commit is contained in:
parent
3a99da6fd7
commit
b8ac5f0c11
|
@ -26,7 +26,7 @@ public class LineProtocolExample {
|
||||||
|
|
||||||
private static void createDatabase(Connection conn) throws SQLException {
|
private static void createDatabase(Connection conn) throws SQLException {
|
||||||
try (Statement stmt = conn.createStatement()) {
|
try (Statement stmt = conn.createStatement()) {
|
||||||
// the default precision is ms (milliseconds), but we use us(microsecond) here.
|
// the default precision is ms (millisecond), but we use us(microsecond) here.
|
||||||
stmt.execute("CREATE DATABASE IF NOT EXISTS test PRECISION 'us'");
|
stmt.execute("CREATE DATABASE IF NOT EXISTS test PRECISION 'us'");
|
||||||
stmt.execute("USE test");
|
stmt.execute("USE test");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue