Skip to content

Commit

Permalink
Fix build due to ENABLE_ROCKSDB=OFF caused by apache#7239
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Sep 18, 2024
1 parent 6771c4f commit 3d7195a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp-ch/local-engine/Disks/registerGlutenDisks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void registerGlutenDisks(bool global_skip_access_check)
#if USE_ROCKSDB
metadata_storage = MetadataStorageFromRocksDB::create(name, config, config_prefix, object_storage);
#else
throw Exception(ErrorCodes::NOT_IMPLEMENTED, "RocksDB metadata storage is not enabled in the build");
throw DB::Exception(DB::ErrorCodes::NOT_IMPLEMENTED, "RocksDB metadata storage is not enabled in the build");
#endif
}
else
Expand Down Expand Up @@ -118,7 +118,7 @@ void registerGlutenDisks(bool global_skip_access_check)
#if USE_ROCKSDB
metadata_storage = MetadataStorageFromRocksDB::create(name, config, config_prefix, object_storage);
#else
throw Exception(ErrorCodes::NOT_IMPLEMENTED, "RocksDB metadata storage is not enabled in the build");
throw DB::Exception(DB::ErrorCodes::NOT_IMPLEMENTED, "RocksDB metadata storage is not enabled in the build");
#endif
}
else
Expand Down

0 comments on commit 3d7195a

Please sign in to comment.