fix: jni error log

This commit is contained in:
huolibo 2023-08-24 10:55:41 +08:00
parent 56626f2e76
commit ed70cd1f63
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ JNIEXPORT jlong JNICALL Java_com_taosdata_jdbc_tmq_TMQConnector_tmqCommittedImp(
int64_t offset = tmq_committed(tmq, topicName, vgId);
if (offset < JNI_SUCCESS) {
if (offset < JNI_SUCCESS && offset != -2147467247) {
jniError("jobj:%p, tmq get committed offset error, topic:%s, vgId:%d, code:0x%" PRIx64 ", msg:%s", jobj, topicName,
vgId, offset, tmq_err2str(offset));
}