From 09b77028f06f9438faea30e214c99e1115326ef7 Mon Sep 17 00:00:00 2001 From: Bvsk Patnaik Date: Mon, 16 Sep 2024 11:57:16 -0700 Subject: [PATCH] [#23940] YSQL: Replace copyright string from YugaByteDB to YugabyteDB 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 --- java/yb-client/src/test/java/org/yb/util/TestStringUtil.java | 2 +- .../test/java/org/yb/pgsql/TestPgRegressDistinctPushdown.java | 2 +- src/odyssey/sources/yb_auth_passthrough.c | 2 +- src/odyssey/sources/yb_auth_passthrough.h | 2 +- src/odyssey/sources/yb_oid_entry.c | 2 +- src/postgres/src/backend/optimizer/path/yb_uniqkeys.c | 4 ++-- src/postgres/src/backend/utils/misc/yb_ysql_conn_mgr_helper.c | 2 +- src/postgres/src/include/yb_ysql_conn_mgr_helper.h | 2 +- src/yb/ash/CMakeLists.txt | 2 +- src/yb/util/lw_function.h | 2 +- src/yb/vector/CMakeLists.txt | 2 +- src/yb/yql/pggate/pg_doc_metrics.cc | 2 +- src/yb/yql/pggate/pg_doc_metrics.h | 2 +- src/yb/yql/pggate/pg_function.cc | 2 +- src/yb/yql/pggate/pg_function.h | 2 +- src/yb/yql/pggate/pggate.h | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/java/yb-client/src/test/java/org/yb/util/TestStringUtil.java b/java/yb-client/src/test/java/org/yb/util/TestStringUtil.java index 595f38422163..27a1ebe08109 100644 --- a/java/yb-client/src/test/java/org/yb/util/TestStringUtil.java +++ b/java/yb-client/src/test/java/org/yb/util/TestStringUtil.java @@ -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 diff --git a/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgRegressDistinctPushdown.java b/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgRegressDistinctPushdown.java index cea7b93aaea9..0405a554a835 100644 --- a/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgRegressDistinctPushdown.java +++ b/java/yb-pgsql/src/test/java/org/yb/pgsql/TestPgRegressDistinctPushdown.java @@ -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 diff --git a/src/odyssey/sources/yb_auth_passthrough.c b/src/odyssey/sources/yb_auth_passthrough.c index aa0741e35250..206c9de5aa36 100644 --- a/src/odyssey/sources/yb_auth_passthrough.c +++ b/src/odyssey/sources/yb_auth_passthrough.c @@ -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 diff --git a/src/odyssey/sources/yb_auth_passthrough.h b/src/odyssey/sources/yb_auth_passthrough.h index db981d436d89..4f658bb314c3 100644 --- a/src/odyssey/sources/yb_auth_passthrough.h +++ b/src/odyssey/sources/yb_auth_passthrough.h @@ -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 diff --git a/src/odyssey/sources/yb_oid_entry.c b/src/odyssey/sources/yb_oid_entry.c index 264a56759056..d0e2d84ef235 100644 --- a/src/odyssey/sources/yb_oid_entry.c +++ b/src/odyssey/sources/yb_oid_entry.c @@ -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 diff --git a/src/postgres/src/backend/optimizer/path/yb_uniqkeys.c b/src/postgres/src/backend/optimizer/path/yb_uniqkeys.c index eddd7b110cbd..7d0ab6f9da76 100644 --- a/src/postgres/src/backend/optimizer/path/yb_uniqkeys.c +++ b/src/postgres/src/backend/optimizer/path/yb_uniqkeys.c @@ -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 diff --git a/src/postgres/src/backend/utils/misc/yb_ysql_conn_mgr_helper.c b/src/postgres/src/backend/utils/misc/yb_ysql_conn_mgr_helper.c index 3c0c1a7b3539..c72d260e3896 100644 --- a/src/postgres/src/backend/utils/misc/yb_ysql_conn_mgr_helper.c +++ b/src/postgres/src/backend/utils/misc/yb_ysql_conn_mgr_helper.c @@ -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 diff --git a/src/postgres/src/include/yb_ysql_conn_mgr_helper.h b/src/postgres/src/include/yb_ysql_conn_mgr_helper.h index f59b00749c29..2660df4c4d13 100644 --- a/src/postgres/src/include/yb_ysql_conn_mgr_helper.h +++ b/src/postgres/src/include/yb_ysql_conn_mgr_helper.h @@ -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 diff --git a/src/yb/ash/CMakeLists.txt b/src/yb/ash/CMakeLists.txt index 6bcdc554745d..345bdbd02d80 100644 --- a/src/yb/ash/CMakeLists.txt +++ b/src/yb/ash/CMakeLists.txt @@ -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 diff --git a/src/yb/util/lw_function.h b/src/yb/util/lw_function.h index 7126e14d9283..ac9020241311 100644 --- a/src/yb/util/lw_function.h +++ b/src/yb/util/lw_function.h @@ -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 diff --git a/src/yb/vector/CMakeLists.txt b/src/yb/vector/CMakeLists.txt index 400be2a4481f..589d32d6bb83 100644 --- a/src/yb/vector/CMakeLists.txt +++ b/src/yb/vector/CMakeLists.txt @@ -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 diff --git a/src/yb/yql/pggate/pg_doc_metrics.cc b/src/yb/yql/pggate/pg_doc_metrics.cc index 8f9424ca9538..3d9d40c06e35 100644 --- a/src/yb/yql/pggate/pg_doc_metrics.cc +++ b/src/yb/yql/pggate/pg_doc_metrics.cc @@ -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 diff --git a/src/yb/yql/pggate/pg_doc_metrics.h b/src/yb/yql/pggate/pg_doc_metrics.h index 999aeb9cc3b7..8ee6d7a7462b 100644 --- a/src/yb/yql/pggate/pg_doc_metrics.h +++ b/src/yb/yql/pggate/pg_doc_metrics.h @@ -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 diff --git a/src/yb/yql/pggate/pg_function.cc b/src/yb/yql/pggate/pg_function.cc index f1af54bd7eb3..d0f340f8cc6a 100644 --- a/src/yb/yql/pggate/pg_function.cc +++ b/src/yb/yql/pggate/pg_function.cc @@ -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 diff --git a/src/yb/yql/pggate/pg_function.h b/src/yb/yql/pggate/pg_function.h index 28a8b0484213..3121d2686bdd 100644 --- a/src/yb/yql/pggate/pg_function.h +++ b/src/yb/yql/pggate/pg_function.h @@ -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 diff --git a/src/yb/yql/pggate/pggate.h b/src/yb/yql/pggate/pggate.h index 5b998cb80f3c..209500d2f1d7 100644 --- a/src/yb/yql/pggate/pggate.h +++ b/src/yb/yql/pggate/pggate.h @@ -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