diff --git a/src/Databases/DatabaseAtomic.cpp b/src/Databases/DatabaseAtomic.cpp index 6adcc7741f55..016e2e3e31be 100644 --- a/src/Databases/DatabaseAtomic.cpp +++ b/src/Databases/DatabaseAtomic.cpp @@ -31,6 +31,7 @@ namespace ErrorCodes extern const int FILE_ALREADY_EXISTS; extern const int INCORRECT_QUERY; extern const int ABORTED; + extern const int LOGICAL_ERROR; } class AtomicDatabaseTablesSnapshotIterator final : public DatabaseTablesSnapshotIterator