TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

DatabaseMetaData.getTables() desn't return the correct tables.

Open caesarhawk opened this issue 5 years ago • 2 comments

Bug Description

if the database doesn't exist, it will return the tables of the last db it scans .

To Reproduce write the following code DatabaseMetaData md= con.getMetaData(); ResultSet colRet = md.getTables(db+"www",db, tableName,null); // db doesn't exist

Expected Behavior return null

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. CentOS 7.0]
  • Memory, CPU, current Disk Space
  • TDengine Version [e.g. 1.6.1.7]

Additional Context Add any other context about the problem here.

caesarhawk avatar Mar 11 '21 11:03 caesarhawk

It is suggested to update your TDengine version to 2.0.x.

cpvmrd avatar Mar 22 '21 14:03 cpvmrd

This issue was closed because it has been inactive for too many days.

cpvmrd avatar Apr 13 '22 02:04 cpvmrd