Skip to content

Commit

Permalink
support 1.1 1.3 (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriCoder committed May 13, 2024
1 parent 6936c1d commit 7004ebe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,10 @@ private void checkQuery() {
private boolean checkDatabaseVerification(DBConfig dbConfig) {
boolean result = false;
if (dbConfig.getDB_SWITCH().getType() == DBType.IoTDB) {
// support iotdb 0.12 & 0.13
if (dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_100
// support after iotdb 0.12
if (dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_130
|| dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_110
|| dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_100
|| dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_013
|| dbConfig.getDB_SWITCH().getVersion() == DBVersion.IOTDB_012) {
result = true;
Expand Down

0 comments on commit 7004ebe

Please sign in to comment.