From 9cc88d1ff23c61dc7cc190bd246036b1c7021bed Mon Sep 17 00:00:00 2001 From: zyyang Date: Tue, 24 Aug 2021 10:22:52 +0800 Subject: [PATCH] change --- src/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h | 4 ++-- src/client/src/TSDBJNIConnector.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h b/src/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h index b1f1b003b4..062330b448 100644 --- a/src/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h +++ b/src/client/jni/com_taosdata_jdbc_TSDBJNIConnector.h @@ -43,10 +43,10 @@ JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setOptions /* * Class: com_taosdata_jdbc_TSDBJNIConnector - * Method: setConfig + * Method: setConfigImp * Signature: (ILjava/lang/String;)I */ -JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setConfig +JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setConfigImp (JNIEnv *, jclass, jstring); /* diff --git a/src/client/src/TSDBJNIConnector.c b/src/client/src/TSDBJNIConnector.c index 252fb2264d..569efc0639 100644 --- a/src/client/src/TSDBJNIConnector.c +++ b/src/client/src/TSDBJNIConnector.c @@ -170,7 +170,7 @@ JNIEXPORT void JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_initImp(JNIEnv *e jniDebug("jni initialized successfully, config directory: %s", configDir); } -JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setConfig(JNIEnv *env, jclass jobj, jstring config){ +JNIEXPORT jint JNICALL Java_com_taosdata_jdbc_TSDBJNIConnector_setConfigImp(JNIEnv *env, jclass jobj, jstring config){ if (config == NULL) { jniDebug("config value is null"); return -1; -- GitLab