Skip to content

Commit a21fcdf

Browse files
committed
Fix style
1 parent 12bc053 commit a21fcdf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Storages/StorageMerge.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ extern const int ALTER_OF_COLUMN_IS_FORBIDDEN;
8484
extern const int CANNOT_EXTRACT_TABLE_STRUCTURE;
8585
extern const int STORAGE_REQUIRES_PARAMETER;
8686
extern const int UNKNOWN_TABLE;
87-
extern const int ACCESS_DENIED;
8887
extern const int TABLE_IS_READ_ONLY;
8988
}
9089

@@ -1790,7 +1789,9 @@ SinkToStoragePtr StorageMerge::write(
17901789
throw Exception(ErrorCodes::UNKNOWN_TABLE, "Can't find any table to write for storage {}", getName());
17911790

17921791
access->checkAccess(AccessType::INSERT, database, table_storage.value()->getName());
1793-
} else {
1792+
}
1793+
else
1794+
{
17941795
if (!table_to_write)
17951796
throw Exception(ErrorCodes::TABLE_IS_READ_ONLY, "Method write is not allowed in storage {} without described table to write", getName());
17961797

0 commit comments

Comments
 (0)