TD-1115 Fix

This commit is contained in:
yangzy 2020-08-12 11:28:10 +08:00
parent 55125ecfd9
commit c29cbddc1a
1 changed files with 2 additions and 1 deletions

View File

@ -158,9 +158,10 @@ public class TSDBStatement implements Statement {
throw new SQLException(TSDBConstants.FixErrMsg(TSDBConstants.JNI_CONNECTION_NULL));
} else if (resultSetPointer == TSDBConstants.JNI_NULL_POINTER) {
// no result set is retrieved
this.connecter.freeResultSet(pSql);:
res = false;
}
this.connecter.freeResultSet(pSql);
return res;
}