]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Add missing license to source files (#12083)
authorAndrew Kryczka <andrew.kryczka2@gmail.com>
Tue, 21 Nov 2023 16:36:30 +0000 (08:36 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 21 Nov 2023 16:36:30 +0000 (08:36 -0800)
Summary:
Fixes https://github.com/facebook/rocksdb/issues/12079.

Fixed missing licenses in "\*.h" and "\*.cc" files

Pull Request resolved: https://github.com/facebook/rocksdb/pull/12083

Reviewed By: cbi42

Differential Revision: D51489634

Pulled By: ajkr

fbshipit-source-id: 764bfee257b9d6603fd7606a55664b7537e1898f

utilities/merge_operators/string_append/stringappend.cc
utilities/merge_operators/string_append/stringappend.h
utilities/merge_operators/string_append/stringappend2.cc
utilities/transactions/lock/range/range_tree/lib/db.h
utilities/transactions/lock/range/range_tree/lib/portability/toku_assert_subst.h
utilities/transactions/lock/range/range_tree/lib/portability/toku_external_pthread.h
utilities/transactions/lock/range/range_tree/lib/portability/txn_subst.h
utilities/transactions/lock/range/range_tree/lib/standalone_port.cc

index 720dc7200a44d7913eecf6024367700fc4220389..748e5c89f6ca39a486bb70afc07181786d857f0f 100644 (file)
@@ -1,8 +1,9 @@
-/**
- * A MergeOperator for rocksdb that implements string append.
- * @author Deon Nicholas (dnicholas@fb.com)
- * Copyright 2013 Facebook
- */
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
+//
+// A MergeOperator for rocksdb that implements string append.
 
 #include "stringappend.h"
 
index 153532382c4157496cf935984b0d6ef0c5fb6353..4a7b2b9e58ba1dcdbdc90760afbceb2f693edf43 100644 (file)
@@ -1,8 +1,9 @@
-/**
- * A MergeOperator for rocksdb that implements string append.
- * @author Deon Nicholas (dnicholas@fb.com)
- * Copyright 2013 Facebook
- */
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
+//
+// A MergeOperator for rocksdb that implements string append.
 
 #pragma once
 #include "rocksdb/merge_operator.h"
index 8b6fe9020ad9438facb58f5c5c8622b169908bea..bd0716cc3cad5230fd0abcbe877dad18af0df6e5 100644 (file)
@@ -1,7 +1,7 @@
-/**
- * @author Deon Nicholas (dnicholas@fb.com)
- * Copyright 2013 Facebook
- */
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
 
 #include "stringappend2.h"
 
index 5aa826c8e086a4d44c652df73b2e1e793ec8b41b..99cfa1f5410933f71774f58aa412c36770c31823 100644 (file)
@@ -1,3 +1,8 @@
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
+
 #ifndef _DB_H
 #define _DB_H
 
index af47800fb71251147563ba3a022f7cd9ee213496..c50a3a07fc61eb407be1b462bfe58fcce15a7521 100644 (file)
@@ -1,3 +1,7 @@
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
 //
 // A replacement for toku_assert.h
 //
index eb8291c1d297d071921ec5e8d828d2c4adbb8d68..ad1d7bf549067b40be2669f5f8508d7e243cf106 100644 (file)
@@ -1,3 +1,7 @@
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
 /*
   A wrapper around ROCKSDB_NAMESPACE::TransactionDBMutexFactory-provided
   condition and mutex that provides toku_pthread_*-like interface. The functions
index 803914862f9f04e7830f3bbb3aca812c55ebecfc..f4013bb36c5875504d84e1fb5f1267b8668fb306 100644 (file)
@@ -1,3 +1,7 @@
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
 //
 // A substitute for ft/txn/txn.h
 //
index 5d0b5228cf1014f40db1e6d2d875e4d1255b7d68..6dc86cc999a09b1aa5512fb2974a78b8a2f69ccf 100644 (file)
@@ -1,3 +1,8 @@
+//  Copyright (c) Meta Platforms, Inc. and affiliates.
+//  This source code is licensed under both the GPLv2 (found in the
+//  COPYING file in the root directory) and Apache 2.0 License
+//  (found in the LICENSE.Apache file in the root directory).
+
 #ifndef OS_WIN
 /*
   This is a dump ground to make Lock Tree work without the rest of TokuDB.