Skip to content

Commit

Permalink
Fix code style typos
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWoo committed May 24, 2024
1 parent 4b37955 commit 2edcc2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Common/Exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void tryLogCurrentException(const char * log_name, const std::string & start_of_

void tryLogCurrentException(Poco::Logger * logger, const std::string & start_of_message)
{
/// Under high memory pressure, any new allocation will definitelly lead
/// Under high memory pressure, any new allocation will definitely lead
/// to MEMORY_LIMIT_EXCEEDED exception.
///
/// And in this case the exception will not be logged, so let's block the
Expand Down
2 changes: 1 addition & 1 deletion src/Common/IO/ReadBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ReadBuffer : public BufferBase
// accidental copying.
ReadBuffer(const ReadBuffer &) = delete;

// FIXME: behavior differs greately from `BufferBase::set()` and it's very confusing.
// FIXME: behavior differs greatly from `BufferBase::set()` and it's very confusing.
void set(Position ptr, size_t size) { BufferBase::set(ptr, size, 0); working_buffer.resize(0); }

/** read next data and fill a buffer with it; set position to the beginning;
Expand Down
1 change: 1 addition & 0 deletions utils/check-style/codespell-ignore-words.list
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ ths
offsett
numer
aranges
carryin

0 comments on commit 2edcc2b

Please sign in to comment.