diff --git a/LICENSE.md b/LICENSES/LICENSE similarity index 100% rename from LICENSE.md rename to LICENSES/LICENSE diff --git a/docs/ql-license b/LICENSES/QL-LICENSE similarity index 99% rename from docs/ql-license rename to LICENSES/QL-LICENSE index 0d10c02b92..c11db18036 100644 --- a/docs/ql-license +++ b/LICENSES/QL-LICENSE @@ -24,4 +24,4 @@ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/LICENSES/STRUTIL-LICENSE b/LICENSES/STRUTIL-LICENSE new file mode 100644 index 0000000000..28713a467a --- /dev/null +++ b/LICENSES/STRUTIL-LICENSE @@ -0,0 +1,27 @@ +Copyright (c) 2014 The strutil Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the names of the authors nor the names of the +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/README.md b/README.md index 4ccb2aa198..218f8ea2d8 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ for details on submitting patches and the contribution workflow. Twitter: [@PingCAP](https://twitter.com/PingCAP) ## License -TiDB is under the Apache 2.0 license. See the [LICENSE](./LICENSE.md) file for details. +TiDB is under the Apache 2.0 license. See the [LICENSE](./LICENSES/LICENSE) file for details. ## Acknowledgments - Thanks [cznic](https://github.com/cznic) for providing some great open source tools. diff --git a/column/column.go b/column/column.go index 97a996f7d5..9495fdb60e 100644 --- a/column/column.go +++ b/column/column.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/ddl/ddl.go b/ddl/ddl.go index ed10f45d0d..3def01cedc 100644 --- a/ddl/ddl.go +++ b/ddl/ddl.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/driver.go b/driver.go index 2f0959bfae..b32fc5f81b 100644 --- a/driver.go +++ b/driver.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expression.go b/expression/expression.go index c968f9584e..11644bc385 100644 --- a/expression/expression.go +++ b/expression/expression.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/between.go b/expression/expressions/between.go index f82ea851f0..f13c145b23 100644 --- a/expression/expressions/between.go +++ b/expression/expressions/between.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/binop.go b/expression/expressions/binop.go index 5845d7b835..6a8e115130 100644 --- a/expression/expressions/binop.go +++ b/expression/expressions/binop.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/builtin.go b/expression/expressions/builtin.go index 18c79aebc7..b979a1afa6 100644 --- a/expression/expressions/builtin.go +++ b/expression/expressions/builtin.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/builtin_groupby.go b/expression/expressions/builtin_groupby.go index c6d2d96819..c7a5240f47 100644 --- a/expression/expressions/builtin_groupby.go +++ b/expression/expressions/builtin_groupby.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/builtin_math.go b/expression/expressions/builtin_math.go index f3ad79f468..3bc1cde28f 100644 --- a/expression/expressions/builtin_math.go +++ b/expression/expressions/builtin_math.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/builtin_string.go b/expression/expressions/builtin_string.go index 6b6c97c63d..3248d9529f 100644 --- a/expression/expressions/builtin_string.go +++ b/expression/expressions/builtin_string.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/builtin_time.go b/expression/expressions/builtin_time.go index 99b50401a6..a388d5e730 100644 --- a/expression/expressions/builtin_time.go +++ b/expression/expressions/builtin_time.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/call.go b/expression/expressions/call.go index 7c3b8a5162..db5b538713 100644 --- a/expression/expressions/call.go +++ b/expression/expressions/call.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/helper.go b/expression/expressions/helper.go index 8ac583cd45..f4b162ea9e 100644 --- a/expression/expressions/helper.go +++ b/expression/expressions/helper.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/ident.go b/expression/expressions/ident.go index a8a7bb2d50..54d67ff0dd 100644 --- a/expression/expressions/ident.go +++ b/expression/expressions/ident.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/in.go b/expression/expressions/in.go index 599131c475..ecd0c9f56e 100644 --- a/expression/expressions/in.go +++ b/expression/expressions/in.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/like.go b/expression/expressions/like.go index cbabdcb8a0..4f7ce4dcc9 100644 --- a/expression/expressions/like.go +++ b/expression/expressions/like.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/pexpr.go b/expression/expressions/pexpr.go index 2c1ca9b4fb..b61b154abd 100644 --- a/expression/expressions/pexpr.go +++ b/expression/expressions/pexpr.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/regexp.go b/expression/expressions/regexp.go index 0b65005cd1..a107d9d84d 100644 --- a/expression/expressions/regexp.go +++ b/expression/expressions/regexp.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/unary.go b/expression/expressions/unary.go index c6263dc5b5..182b08e30f 100644 --- a/expression/expressions/unary.go +++ b/expression/expressions/unary.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/expression/expressions/value.go b/expression/expressions/value.go index 683018dd49..83d100144f 100644 --- a/expression/expressions/value.go +++ b/expression/expressions/value.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/field/field.go b/field/field.go index 302448968e..059cf86e44 100644 --- a/field/field.go +++ b/field/field.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/field/result_field.go b/field/result_field.go index d8a9958454..6fb5633ef4 100644 --- a/field/result_field.go +++ b/field/result_field.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/kv/memkv/btree.go b/kv/memkv/btree.go index 91e8a8f152..34e249162b 100644 --- a/kv/memkv/btree.go +++ b/kv/memkv/btree.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/kv/memkv/temp.go b/kv/memkv/temp.go index 397ba67cc0..01e9d43d05 100644 --- a/kv/memkv/temp.go +++ b/kv/memkv/temp.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/parser/parser.y b/parser/parser.y index a1712006ac..cd80e9ac09 100644 --- a/parser/parser.y +++ b/parser/parser.y @@ -1,7 +1,7 @@ %{ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/parser/scanner.l b/parser/scanner.l index d3ea5704dc..c77d3d97a1 100644 --- a/parser/scanner.l +++ b/parser/scanner.l @@ -1,7 +1,7 @@ %{ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plan.go b/plan/plan.go index 4602c3dadb..72600d5d9e 100644 --- a/plan/plan.go +++ b/plan/plan.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/distinct.go b/plan/plans/distinct.go index 59a892fc83..4d3c814fea 100644 --- a/plan/plans/distinct.go +++ b/plan/plans/distinct.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/explain.go b/plan/plans/explain.go index 6a0f0231db..06d907e76b 100644 --- a/plan/plans/explain.go +++ b/plan/plans/explain.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/fields.go b/plan/plans/fields.go index 17e5641b3e..ecebad41a1 100644 --- a/plan/plans/fields.go +++ b/plan/plans/fields.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/from.go b/plan/plans/from.go index bdee50570a..1d20753754 100644 --- a/plan/plans/from.go +++ b/plan/plans/from.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/groupby.go b/plan/plans/groupby.go index b6356e0654..401bc100ce 100644 --- a/plan/plans/groupby.go +++ b/plan/plans/groupby.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/join.go b/plan/plans/join.go index 66fee44463..106b0c0496 100644 --- a/plan/plans/join.go +++ b/plan/plans/join.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/limit.go b/plan/plans/limit.go index 834587490a..ac65e26907 100644 --- a/plan/plans/limit.go +++ b/plan/plans/limit.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/orderby.go b/plan/plans/orderby.go index a97c92f575..77a3279094 100644 --- a/plan/plans/orderby.go +++ b/plan/plans/orderby.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/plans.go b/plan/plans/plans.go index ab1ace147d..6c6d36af84 100644 --- a/plan/plans/plans.go +++ b/plan/plans/plans.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/plan/plans/where.go b/plan/plans/where.go index 1ba2cad4c2..01005a7eaf 100644 --- a/plan/plans/where.go +++ b/plan/plans/where.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rset.go b/rset/rset.go index 1f10b7cbc5..f5dc283bd2 100644 --- a/rset/rset.go +++ b/rset/rset.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/distinct.go b/rset/rsets/distinct.go index 51e1b37684..4ea5b8efd8 100644 --- a/rset/rsets/distinct.go +++ b/rset/rsets/distinct.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/fields.go b/rset/rsets/fields.go index 76dcc53714..bebadb6369 100644 --- a/rset/rsets/fields.go +++ b/rset/rsets/fields.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/from.go b/rset/rsets/from.go index 7305e68b3a..337cdc1617 100644 --- a/rset/rsets/from.go +++ b/rset/rsets/from.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/groupby.go b/rset/rsets/groupby.go index 2bc17d8942..e854bdcf1a 100644 --- a/rset/rsets/groupby.go +++ b/rset/rsets/groupby.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/join.go b/rset/rsets/join.go index d342d3b990..3d38f294e1 100644 --- a/rset/rsets/join.go +++ b/rset/rsets/join.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/limit.go b/rset/rsets/limit.go index 2de34b3e71..9585db3958 100644 --- a/rset/rsets/limit.go +++ b/rset/rsets/limit.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/orderby.go b/rset/rsets/orderby.go index 12c97c0b5d..22b2cadef1 100644 --- a/rset/rsets/orderby.go +++ b/rset/rsets/orderby.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/rsets.go b/rset/rsets/rsets.go index 74068ee09b..bba5e95e53 100644 --- a/rset/rsets/rsets.go +++ b/rset/rsets/rsets.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/rset/rsets/where.go b/rset/rsets/where.go index 68381a5c37..9ef0e067f1 100644 --- a/rset/rsets/where.go +++ b/rset/rsets/where.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/session.go b/session.go index 7411b908c8..b22546357f 100644 --- a/session.go +++ b/session.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmt.go b/stmt/stmt.go index 5d3747f60c..3c3dc60354 100644 --- a/stmt/stmt.go +++ b/stmt/stmt.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/altertable.go b/stmt/stmts/altertable.go index c9af204cfb..2c014cd2f6 100644 --- a/stmt/stmts/altertable.go +++ b/stmt/stmts/altertable.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/create.go b/stmt/stmts/create.go index cd0c3855f8..1dcfa5d59a 100644 --- a/stmt/stmts/create.go +++ b/stmt/stmts/create.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/delete.go b/stmt/stmts/delete.go index f4b09b46e4..b92c493802 100644 --- a/stmt/stmts/delete.go +++ b/stmt/stmts/delete.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/drop.go b/stmt/stmts/drop.go index ed91628644..8f7b685e25 100644 --- a/stmt/stmts/drop.go +++ b/stmt/stmts/drop.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/explain.go b/stmt/stmts/explain.go index de7a4e007a..57fd35d2cb 100644 --- a/stmt/stmts/explain.go +++ b/stmt/stmts/explain.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/insert.go b/stmt/stmts/insert.go index 5999856f3c..f75f71e7a7 100644 --- a/stmt/stmts/insert.go +++ b/stmt/stmts/insert.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/select.go b/stmt/stmts/select.go index 1354e80a72..7d11d219ac 100644 --- a/stmt/stmts/select.go +++ b/stmt/stmts/select.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/transaction.go b/stmt/stmts/transaction.go index 36be518fd5..2b5c8e7a1c 100644 --- a/stmt/stmts/transaction.go +++ b/stmt/stmts/transaction.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/truncate.go b/stmt/stmts/truncate.go index 0a8a7f5170..53da478e5a 100644 --- a/stmt/stmts/truncate.go +++ b/stmt/stmts/truncate.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/update.go b/stmt/stmts/update.go index 9105444af9..0e8b6c259d 100644 --- a/stmt/stmts/update.go +++ b/stmt/stmts/update.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/stmt/stmts/use.go b/stmt/stmts/use.go index c35b38d14f..1d91e076ea 100644 --- a/stmt/stmts/use.go +++ b/stmt/stmts/use.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/table/table.go b/table/table.go index 8aa41eca81..7270c82f90 100644 --- a/table/table.go +++ b/table/table.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/table/tables/tables.go b/table/tables/tables.go index d0d0c8f280..0e525d567c 100644 --- a/table/tables/tables.go +++ b/table/tables/tables.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/tidb.go b/tidb.go index 5b0e2e2820..b6542b9c1a 100644 --- a/tidb.go +++ b/tidb.go @@ -1,6 +1,6 @@ // Copyright 2013 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/format/format.go b/util/format/format.go index 67dd23bba6..d96f513998 100644 --- a/util/format/format.go +++ b/util/format/format.go @@ -1,6 +1,6 @@ -// Copyright 2014 The ql Authors. All rights reserved. +// Copyright (c) 2014 The sortutil Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/STRUTIL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/prefix_helper.go b/util/prefix_helper.go index 110eb0ff38..915cde620c 100644 --- a/util/prefix_helper.go +++ b/util/prefix_helper.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/types/compare.go b/util/types/compare.go index 5b9d898e7d..9c655f2b8e 100644 --- a/util/types/compare.go +++ b/util/types/compare.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/types/convert.go b/util/types/convert.go index ef515398ca..ddf032888b 100644 --- a/util/types/convert.go +++ b/util/types/convert.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/types/etc.go b/util/types/etc.go index 2375eb7915..a43c858154 100644 --- a/util/types/etc.go +++ b/util/types/etc.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. // diff --git a/util/types/field_type.go b/util/types/field_type.go index db99bf944a..6b69d40ead 100644 --- a/util/types/field_type.go +++ b/util/types/field_type.go @@ -1,6 +1,6 @@ // Copyright 2014 The ql Authors. All rights reserved. // Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// license that can be found in the LICENSES/QL-LICENSE file. // Copyright 2015 PingCAP, Inc. //