summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKent Boortz <kent.boortz@oracle.com>2011-06-30 21:27:04 +0200
committerKent Boortz <kent.boortz@oracle.com>2011-06-30 21:27:04 +0200
commitbb3723835e3b141cc835ea9f2eb3cbf069855104 (patch)
treefc80c87480163233b10b7e9d6b64678df3a4f872 /include
parent44135d4725dd3ad6d331c60b0bab1618472b8ae4 (diff)
parent67ea0a59e5b3c4e990c946c3df5af46ecbc4182b (diff)
downloadmariadb-git-bb3723835e3b141cc835ea9f2eb3cbf069855104.tar.gz
Updated/added copyright headers
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am4
-rw-r--r--include/heap.h4
-rw-r--r--include/my_compare.h (renamed from include/my_handler.h)27
-rw-r--r--include/my_global.h5
-rw-r--r--include/myisam.h5
5 files changed, 20 insertions, 25 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 06d7efe754b..e233e02e206 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2000-2006 MySQL AB
+# 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 Library General Public
@@ -33,7 +33,7 @@ noinst_HEADERS = config-win.h config-netware.h \
my_nosys.h my_alarm.h queues.h rijndael.h sha1.h \
my_aes.h my_tree.h hash.h thr_alarm.h \
thr_lock.h t_ctype.h violite.h my_md5.h base64.h \
- mysql_version.h.in my_handler.h my_time.h \
+ mysql_version.h.in my_compare.h my_time.h \
my_user.h my_libwrap.h
# Remove built files and the symlinked directories
diff --git a/include/heap.h b/include/heap.h
index 1a02fef5483..9d67c94e003 100644
--- a/include/heap.h
+++ b/include/heap.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000,2004 MySQL AB
+/* 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
@@ -30,7 +30,7 @@ extern "C" {
#include <thr_lock.h>
#endif
-#include "my_handler.h"
+#include "my_compare.h"
#include "my_tree.h"
/* defines used by heap-funktions */
diff --git a/include/my_handler.h b/include/my_compare.h
index 20cc90e4a8f..55cd68bbc0d 100644
--- a/include/my_handler.h
+++ b/include/my_compare.h
@@ -1,22 +1,20 @@
-/* Copyright (C) 2002-2006 MySQL AB
+/* Copyright (c) 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 Library General Public
- License as published by the Free Software Foundation; version 2
- of the License.
+ 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
+ the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- MA 02111-1307, USA */
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#ifndef _my_handler_h
-#define _my_handler_h
+#ifndef _my_compare_h
+#define _my_compare_h
#include "my_base.h"
#include "m_ctype.h"
@@ -87,6 +85,5 @@ extern int ha_key_cmp(register HA_KEYSEG *keyseg, register uchar *a,
register uchar *b, uint key_length, uint nextflag,
uint *diff_pos);
-extern HA_KEYSEG *ha_find_null(HA_KEYSEG *keyseg, uchar *a);
-#endif /* _my_handler_h */
+#endif /* _my_compare_h */
diff --git a/include/my_global.h b/include/my_global.h
index 38ca3176426..c665480cdf4 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -1,5 +1,4 @@
-/* Copyright (c) 2001-2008 MySQL AB, 2008, 2009 Sun Microsystems, Inc.
- Use is subject to license terms.
+/* Copyright (c) 2001, 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
@@ -256,7 +255,7 @@ C_MODE_END
#define ulonglong2double(A) my_ulonglong2double(A)
#define my_off_t2double(A) my_ulonglong2double(A)
C_MODE_START
-double my_ulonglong2double(unsigned long long A);
+inline double my_ulonglong2double(unsigned long long A) { return (double) A; }
C_MODE_END
#endif /* _AIX */
diff --git a/include/myisam.h b/include/myisam.h
index 4d1ba76fb1d..1966063c6a5 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -1,5 +1,4 @@
-/* Copyright (c) 2000-2006, 2008 MySQL AB, 2008, 2009 Sun Microsystems, Inc.
- Use is subject to license terms.
+/* 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
@@ -31,7 +30,7 @@ extern "C" {
#ifndef _keycache_h
#include "keycache.h"
#endif
-#include "my_handler.h"
+#include "my_compare.h"
/*
There is a hard limit for the maximum number of keys as there are only