print the java.library.path variable for debug

format the code
This commit is contained in:
xieyinglin 2019-10-26 11:46:23 +08:00
parent 6919818225
commit 0fcdb5ae39
1 changed files with 185 additions and 181 deletions

View File

@ -23,6 +23,7 @@ public class TSDBJNIConnector {
static {
System.loadLibrary("taos");
System.out.println("java.library.path:" + System.getProperty("java.library.path"));
}
/**
@ -50,6 +51,7 @@ public class TSDBJNIConnector {
/**
* Returns the status of last result set in current connection
*
* @return
*/
public boolean isResultsetClosed() {
@ -192,6 +194,7 @@ public class TSDBJNIConnector {
/**
* Close the open result set which is associated to the current connection. If the result set is already
* closed, return 0 for success.
*
* @return
*/
public int freeResultSet() {
@ -275,6 +278,7 @@ public class TSDBJNIConnector {
/**
* Unsubscribe a table
*
* @param subscription
*/
public void unsubscribe(long subscription) {