print the java.library.path variable for debug
format the code
This commit is contained in:
parent
6919818225
commit
0fcdb5ae39
|
@ -23,6 +23,7 @@ public class TSDBJNIConnector {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
System.loadLibrary("taos");
|
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
|
* Returns the status of last result set in current connection
|
||||||
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public boolean isResultsetClosed() {
|
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
|
* Close the open result set which is associated to the current connection. If the result set is already
|
||||||
* closed, return 0 for success.
|
* closed, return 0 for success.
|
||||||
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public int freeResultSet() {
|
public int freeResultSet() {
|
||||||
|
@ -275,6 +278,7 @@ public class TSDBJNIConnector {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unsubscribe a table
|
* Unsubscribe a table
|
||||||
|
*
|
||||||
* @param subscription
|
* @param subscription
|
||||||
*/
|
*/
|
||||||
public void unsubscribe(long subscription) {
|
public void unsubscribe(long subscription) {
|
||||||
|
|
Loading…
Reference in New Issue