This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new e99c7f4 fix cpp query last example not close dataset
e99c7f4 is described below
commit e99c7f435bc2f3e082c29d79f52713c09637cacd
Author: qiaojialin <[email protected]>
AuthorDate: Wed Jun 16 23:00:29 2021 +0800
fix cpp query last example not close dataset
---
example/client-cpp-example/src/SessionExample.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/example/client-cpp-example/src/SessionExample.cpp
b/example/client-cpp-example/src/SessionExample.cpp
index f0c5453..943dfe7 100644
--- a/example/client-cpp-example/src/SessionExample.cpp
+++ b/example/client-cpp-example/src/SessionExample.cpp
@@ -263,6 +263,7 @@ void queryLast() {
while (dataSet->hasNext()) {
cout << dataSet->next()->toString();
}
+ dataSet->closeOperationHandle();
}
int main() {