You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2021/01/25 05:07:46 UTC

[iotdb] branch master updated: fix executeNonQueryStatement parse error in session example (remove "; ") (#2568)

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 38f5033  fix  executeNonQueryStatement parse error in session example (remove ";") (#2568)
38f5033 is described below

commit 38f50336f18b49e639a4e721c272304701cc639f
Author: Potato <TX...@gmail.com>
AuthorDate: Mon Jan 25 13:07:09 2021 +0800

    fix  executeNonQueryStatement parse error in session example (remove ";") (#2568)
---
 example/session/src/main/java/org/apache/iotdb/SessionExample.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/session/src/main/java/org/apache/iotdb/SessionExample.java b/example/session/src/main/java/org/apache/iotdb/SessionExample.java
index 919ea17..e8ca2fa 100644
--- a/example/session/src/main/java/org/apache/iotdb/SessionExample.java
+++ b/example/session/src/main/java/org/apache/iotdb/SessionExample.java
@@ -510,7 +510,7 @@ public class SessionExample {
   }
 
   private static void nonQuery() throws IoTDBConnectionException, StatementExecutionException {
-    session.executeNonQueryStatement("insert into root.sg1.d1(timestamp,s1) values(200, 1);");
+    session.executeNonQueryStatement("insert into root.sg1.d1(timestamp,s1) values(200, 1)");
   }
 
   private static void setTimeout() throws StatementExecutionException {