Skip to content

Commit 20f476d

Browse files
committed
Fix based on feedback
1 parent 59cf736 commit 20f476d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/java/com/scalar/db/common/CoreError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ public enum CoreError implements ScalarDbError {
991991
"The virtual table must be in the same storage as its source tables. Virtual table: %s; Left source table: %s; Right source table: %s",
992992
"",
993993
""),
994-
SOURCE_TABLES_CANNET_BE_DROPPED_WHILE_VIRTUAL_TABLES_EXIST(
994+
SOURCE_TABLES_CANNOT_BE_DROPPED_WHILE_VIRTUAL_TABLES_EXIST(
995995
Category.USER_ERROR,
996996
"0273",
997997
"Source tables cannot be dropped while virtual tables depending on them exist. Source table: %s; Virtual tables: %s",

core/src/main/java/com/scalar/db/storage/jdbc/JdbcAdmin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public void dropTable(String namespace, String table) throws ExecutionException
254254
if (!virtualTableInfos.isEmpty()) {
255255
// For a source table of virtual tables
256256
throw new IllegalArgumentException(
257-
CoreError.SOURCE_TABLES_CANNET_BE_DROPPED_WHILE_VIRTUAL_TABLES_EXIST.buildMessage(
257+
CoreError.SOURCE_TABLES_CANNOT_BE_DROPPED_WHILE_VIRTUAL_TABLES_EXIST.buildMessage(
258258
getFullTableName(namespace, table),
259259
virtualTableInfos.stream()
260260
.map(v -> getFullTableName(v.getNamespaceName(), v.getTableName()))

0 commit comments

Comments
 (0)