From 9b307878bf72cbf636578c0aaf3a0f102da11382 Mon Sep 17 00:00:00 2001 From: augfool <11628086@qq.com> Date: Tue, 15 Jun 2021 14:28:37 +0800 Subject: [PATCH] Style: fix typo (#34) --- deps/oblib/src/lib/allocator/ob_cached_allocator.h | 6 +++--- src/share/ob_truncated_string.h | 6 +++--- src/share/schema/ob_schema_service.h | 6 +++--- src/storage/ob_row_sample_iterator.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/deps/oblib/src/lib/allocator/ob_cached_allocator.h b/deps/oblib/src/lib/allocator/ob_cached_allocator.h index 1c0335efb3..3ee80a0484 100644 --- a/deps/oblib/src/lib/allocator/ob_cached_allocator.h +++ b/deps/oblib/src/lib/allocator/ob_cached_allocator.h @@ -10,8 +10,8 @@ * See the Mulan PubL v2 for more details. */ -#ifndef OCEANBAE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ -#define OCEANBAE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ +#ifndef OCEANBASE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ +#define OCEANBASE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ #include "lib/objectpool/ob_pool.h" #include "lib/lock/ob_spin_lock.h" @@ -111,4 +111,4 @@ void ObCachedAllocator::free(T* obj) } // end namespace common } // end namespace oceanbase -#endif // OCEANBAE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ +#endif // OCEANBASE_LIB_ALLOCATER_OB_CACHED_ALLOCATOR_H_ diff --git a/src/share/ob_truncated_string.h b/src/share/ob_truncated_string.h index 13c0cf3e01..717f16b182 100644 --- a/src/share/ob_truncated_string.h +++ b/src/share/ob_truncated_string.h @@ -10,8 +10,8 @@ * See the Mulan PubL v2 for more details. */ -#ifndef OCEANBAE_LIB_OB_TRUNCATED_STRING_H_ -#define OCEANBAE_LIB_OB_TRUNCATED_STRING_H_ +#ifndef OCEANBASE_LIB_OB_TRUNCATED_STRING_H_ +#define OCEANBASE_LIB_OB_TRUNCATED_STRING_H_ #include "lib/string/ob_string.h" #include "share/config/ob_server_config.h" @@ -71,4 +71,4 @@ class ObTruncatedString { } // namespace common } // namespace oceanbase -#endif // OCEANBAE_LIB_OB_TRUNCATED_STRING_H_ +#endif // OCEANBASE_LIB_OB_TRUNCATED_STRING_H_ diff --git a/src/share/schema/ob_schema_service.h b/src/share/schema/ob_schema_service.h index de28f9c44e..ab7f76d934 100644 --- a/src/share/schema/ob_schema_service.h +++ b/src/share/schema/ob_schema_service.h @@ -10,8 +10,8 @@ * See the Mulan PubL v2 for more details. */ -#ifndef _OB_OCEANBAE_SCHEMA_SCHEMA_SERVICE_H -#define _OB_OCEANBAE_SCHEMA_SCHEMA_SERVICE_H +#ifndef _OB_OCEANBASE_SCHEMA_SCHEMA_SERVICE_H +#define _OB_OCEANBASE_SCHEMA_SCHEMA_SERVICE_H #include "lib/ob_name_def.h" #include "lib/string/ob_string.h" @@ -954,4 +954,4 @@ class ObSchemaService { } // namespace schema } // namespace share } // namespace oceanbase -#endif /* _OB_OCEANBAE_SCHEMA_SCHEMA_SERVICE_H */ +#endif /* _OB_OCEANBASE_SCHEMA_SCHEMA_SERVICE_H */ diff --git a/src/storage/ob_row_sample_iterator.h b/src/storage/ob_row_sample_iterator.h index 48fde1a293..48847c525b 100644 --- a/src/storage/ob_row_sample_iterator.h +++ b/src/storage/ob_row_sample_iterator.h @@ -10,8 +10,8 @@ * See the Mulan PubL v2 for more details. */ -#ifndef OCEANBAES_STORAGE_OB_ROW_SAMPLE_ITERATOR_H -#define OCEANBAES_STORAGE_OB_ROW_SAMPLE_ITERATOR_H +#ifndef OCEANBASE_STORAGE_OB_ROW_SAMPLE_ITERATOR_H +#define OCEANBASE_STORAGE_OB_ROW_SAMPLE_ITERATOR_H #include "storage/ob_i_store.h" #include "storage/ob_i_sample_iterator.h" @@ -36,4 +36,4 @@ class ObRowSampleIterator : public ObISampleIterator { } // namespace storage } // namespace oceanbase -#endif /* OCEANBAES_STORAGE_OB_ROW_SAMPLE_ITERATOR_H */ +#endif /* OCEANBASE_STORAGE_OB_ROW_SAMPLE_ITERATOR_H */ -- GitLab