Skip to content

Commit

Permalink
[#23940] YSQL: Replace copyright string from YugaByteDB to YugabyteDB
Browse files Browse the repository at this point in the history
Summary:
When running arc lint on a file that has

```
// Copyright (c) YugaByteDB, Inc.
```

the linter fails with an error

```
arc lint
 Exception
Undefined offset: -1
(Run with `--trace` for a full exception trace.)
```

The error message is not informative since this is an array index out of bounds exception within the linter. This makes it difficult for devs to root cause the issue.

This revision replaces the copyright string from the old version `YugaByteDB` to the correct version `YugabyteDB`.
Jira: DB-12838

Test Plan: Jenkins

Reviewers: amartsinchyk

Reviewed By: amartsinchyk

Subscribers: ybase, yql

Differential Revision: https://phorge.dev.yugabyte.com/D38073
  • Loading branch information
pao214 committed Sep 16, 2024
1 parent e717f43 commit 09b7702
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/odyssey/sources/yb_auth_passthrough.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for Ysql Connection Manager/Yugabyte (Postgres layer) integration
* that have to be defined on the Ysql Connection Manager (Odyssey) side.
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
2 changes: 1 addition & 1 deletion src/odyssey/sources/yb_auth_passthrough.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for Ysql Connection Manager/Yugabyte (Postgres layer) integration
* that have to be defined on the Ysql Connection Manager (Odyssey) side.
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
2 changes: 1 addition & 1 deletion src/odyssey/sources/yb_oid_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for Ysql Connection Manager/Yugabyte (Postgres layer) integration
* that have to be defined on the Ysql Connection Manager (Odyssey) side.
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
4 changes: 2 additions & 2 deletions src/postgres/src/backend/optimizer/path/yb_uniqkeys.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*--------------------------------------------------------------------------------------------------
*
* yb_uniqkeys.c
* YugaByteDB distinct pushdown API
* YugabyteDB distinct pushdown API
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for Ysql Connection Manager/Yugabyte (Postgres layer) integration
* that have to be defined on the PostgreSQL side.
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
2 changes: 1 addition & 1 deletion src/postgres/src/include/yb_ysql_conn_mgr_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Utilities for Ysql Connection Manager/Yugabyte (Postgres layer) integration
* that have to be defined on the PostgreSQL side.
*
* Copyright (c) YugaByteDB, Inc.
* Copyright (c) YugabyteDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
Expand Down
2 changes: 1 addition & 1 deletion src/yb/ash/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) YugaByteDB, Inc.
# Copyright (c) YugabyteDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/util/lw_function.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/vector/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) YugaByteDB, Inc.
# Copyright (c) YugabyteDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/yql/pggate/pg_doc_metrics.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//--------------------------------------------------------------------------------------------------
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/yql/pggate/pg_doc_metrics.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//--------------------------------------------------------------------------------------------------
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/yql/pggate/pg_function.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//--------------------------------------------------------------------------------------------------
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/yql/pggate/pg_function.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//--------------------------------------------------------------------------------------------------
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion src/yb/yql/pggate/pggate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) YugaByteDB, Inc.
// Copyright (c) YugabyteDB, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
Expand Down

0 comments on commit 09b7702

Please sign in to comment.