Skip to content

Commit

Permalink
license: change pkg/sql file headers w/BSL to use the CSL
Browse files Browse the repository at this point in the history
Change the file headers for files under pkg/sql directory using the BSL
license to use the CockroachDB Software License (CSL) instead.

Part of RE-658

Release note (general change): Change the license cockroach is distributed
under to the new CockroachDB Software License (CSL).
  • Loading branch information
jlinder committed Oct 2, 2024
1 parent 6121b09 commit 9f61a38
Show file tree
Hide file tree
Showing 2,860 changed files with 5,720 additions and 20,020 deletions.
9 changes: 2 additions & 7 deletions pkg/sql/add_column.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/admin_audit_log_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2021 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_column_type.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_column_type_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql_test

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_database.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_default_privileges.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2021 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_function.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2022 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_index.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_index_visible.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2022 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_primary_key.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_role.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_schema.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_sequence.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2015 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_table.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2015 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_table_locality.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_table_owner.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_table_set_schema.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/alter_type.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2020 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/ambiguous_commit_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2016 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql_test

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/analyze_expr.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/apply_join.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2019 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/appstatspb/app_stats.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package appstatspb

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/appstatspb/app_stats.proto
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

syntax = "proto2";
package cockroach.sql;
Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/appstatspb/app_stats_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2017 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package appstatspb

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/as_of_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2016 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql_test

Expand Down
9 changes: 2 additions & 7 deletions pkg/sql/audit_logging.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
// Copyright 2023 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
// Use of this software is governed by the CockroachDB Software License
// included in the /LICENSE file.

package sql

Expand Down
Loading

0 comments on commit 9f61a38

Please sign in to comment.