Merge pull request #16498 from taosdata/fix/TD-18722
fix(driver): initialize variable when only use tmq
This commit is contained in:
commit
8879dc6e59
|
@ -42,6 +42,7 @@ void commit_cb(tmq_t *tmq, int32_t code, void *param) {
|
|||
|
||||
JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_tmq_TMQConnector_tmqConfNewImp(JNIEnv *env, jobject jobj) {
|
||||
tmq_conf_t *conf = tmq_conf_new();
|
||||
jniGetGlobalMethod(env);
|
||||
return (jlong)conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue