summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorKent Boortz <kent.boortz@oracle.com>2011-07-04 01:25:49 +0200
committerKent Boortz <kent.boortz@oracle.com>2011-07-04 01:25:49 +0200
commit0f03af653cd9891dc6b8d855d7ebffc27b1db288 (patch)
treeaae7686092aab07db57ff0fe0150741ffbc9689d /extra
parent9da00ebec99cd8963b63d011d6dd8111cbf9217e (diff)
parentbc9f870fb12d4aedc6239ec485dee6ebc23d9b94 (diff)
downloadmariadb-git-0f03af653cd9891dc6b8d855d7ebffc27b1db288.tar.gz
Updated/added copyright headers
Diffstat (limited to 'extra')
-rw-r--r--extra/innochecksum.c3
-rw-r--r--extra/perror.c8
-rw-r--r--extra/replace.c3
-rw-r--r--extra/yassl/src/yassl_error.cpp5
4 files changed, 11 insertions, 8 deletions
diff --git a/extra/innochecksum.c b/extra/innochecksum.c
index 482f17a4dce..7ad900d16d3 100644
--- a/extra/innochecksum.c
+++ b/extra/innochecksum.c
@@ -1,6 +1,5 @@
/*
- Copyright (c) 2005-2007 MySQL AB, 2009 Sun Microsystems, Inc.
- Use is subject to license terms.
+ Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/extra/perror.c b/extra/perror.c
index 10b74c48c48..af5d95d3c5b 100644
--- a/extra/perror.c
+++ b/extra/perror.c
@@ -1,4 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+/*
+ Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -64,7 +65,8 @@ static struct my_option my_long_options[] =
&ndb_code, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
#endif
#ifdef HAVE_SYS_ERRLIST
- {"all", 'a', "Print all the error messages and the number.",
+ {"all", 'a', "Print all the error messages and the number. Deprecated,"
+ " will be removed in a future release.",
&print_all_codes, &print_all_codes, 0, GET_BOOL, NO_ARG,
0, 0, 0, 0, 0, 0},
#endif
@@ -295,6 +297,8 @@ int main(int argc,char *argv[])
if (print_all_codes)
{
HA_ERRORS *ha_err_ptr;
+ printf("WARNING: option '-a/--all' is deprecated and will be removed in a"
+ " future release.\n");
for (code=1 ; code < sys_nerr ; code++)
{
if (sys_errlist[code] && sys_errlist[code][0])
diff --git a/extra/replace.c b/extra/replace.c
index 21b9acb6f0c..53bc1fd925a 100644
--- a/extra/replace.c
+++ b/extra/replace.c
@@ -1,4 +1,5 @@
-/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
+/*
+ Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/extra/yassl/src/yassl_error.cpp b/extra/yassl/src/yassl_error.cpp
index fdcb8242ef7..e167075b984 100644
--- a/extra/yassl/src/yassl_error.cpp
+++ b/extra/yassl/src/yassl_error.cpp
@@ -1,6 +1,5 @@
/*
- Copyright (c) 2005-2007 MySQL AB, 2008, 2010 Sun Microsystems, Inc.
- Use is subject to license terms.
+ Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -129,7 +128,7 @@ void SetErrorString(unsigned long error, char* buffer)
break;
case badVersion_error :
- strncpy(buffer, "protocl version mismatch", max);
+ strncpy(buffer, "protocol version mismatch", max);
break;
case compress_error :