Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run gtest #172

Open
wants to merge 8 commits into
base: fix-gtest
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
# Copyright (c) 2023-present, arana-db Community. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015-2023, OpenAtom Foundation
Copyright (c) 2015-2023, arana-db Foundation
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
# Copyright (c) 2023-present, arana-db Community. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
Expand Down
2 changes: 1 addition & 1 deletion src/base_cmd.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
4 changes: 2 additions & 2 deletions src/base_cmd.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down Expand Up @@ -190,7 +190,7 @@ enum CmdFlags {
kCmdFlagsProtected = (1 << 12), // Don't accept in scripts
kCmdFlagsModuleNoCluster = (1 << 13), // No cluster mode support
kCmdFlagsNoMulti = (1 << 14), // Cannot be pipelined
kCmdFlagsExclusive = (1 << 15), // May change Storage pointer, like Arana/Kiwi's kCmdFlagsSuspend
kCmdFlagsExclusive = (1 << 15), // May change Storage pointer, like pika's kCmdFlagsSuspend
kCmdFlagsRaft = (1 << 16), // raft
};

Expand Down
2 changes: 1 addition & 1 deletion src/client.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/client.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_admin.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_admin.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_hash.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_hash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_keys.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_keys.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_kv.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_kv.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_list.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_list.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_raft.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_raft.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_set.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_set.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_table_manager.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_table_manager.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_thread_pool.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_thread_pool.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_thread_pool_worker.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_thread_pool_worker.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_zset.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/cmd_zset.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/common.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/config.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/config_parser.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/config_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Declared a set of functions for parsing configuration data
* as required.
*
* Copyright (c) 2023-present, Arana/Kiwi Community All rights reserved.
* Copyright (c) 2023-present, arana-db Community All rights reserved.
*
* src/config_parser.h
*
Expand Down
2 changes: 1 addition & 1 deletion src/db.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2024-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/db.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2024-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2024-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/helper.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
2 changes: 1 addition & 1 deletion src/helper.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2023-present, Arana/Kiwi Community. All rights reserved.
// Copyright (c) 2023-present, arana-db Community. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory
Expand Down
Loading
Loading