未验证 提交 00a9dcd3 编写于 作者: F fangpanpan 提交者: GitHub

Update TSDBJNIConnector.c

上级 a151f2d4
...@@ -401,12 +401,8 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchRowImp(JNIEn ...@@ -401,12 +401,8 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_fetchRowImp(JNIEn
jniTrace("jobj:%p, taos:%p, resultset:%p, fields size is %d, fetch row to the end", jobj, tscon, res, num_fields); jniTrace("jobj:%p, taos:%p, resultset:%p, fields size is %d, fetch row to the end", jobj, tscon, res, num_fields);
return JNI_FETCH_END; return JNI_FETCH_END;
} else { } else {
jclass cls; jniTrace("jobj:%p, taos:%p, interruptted query", jobj, tscon);
cls = (*env)->FindClass(env,"com/taosdata/jdbc/TSDBError"); return JNI_RESULT_SET_NULL;
if(cls == NULL){
return JNI_TDENGINE_ERROR;
}
(*env)->ThrowNew(env,cls,"Interruppted query");
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册