mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
mysql-5.1.73 merge
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "bmove_upp-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -322,13 +322,16 @@ void my_hash_sort_bin(CHARSET_INFO *cs __attribute__((unused)),
|
||||
#define INC_PTR(cs,A,B) (A)++
|
||||
|
||||
|
||||
int my_wildcmp_bin(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
static
|
||||
int my_wildcmp_bin_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (*wildstr != w_many && *wildstr != w_one)
|
||||
@ -387,8 +390,8 @@ int my_wildcmp_bin(CHARSET_INFO *cs,
|
||||
if (str++ == str_end)
|
||||
return(-1);
|
||||
{
|
||||
int tmp=my_wildcmp_bin(cs,str,str_end,wildstr,wildend,escape,w_one,
|
||||
w_many);
|
||||
int tmp=my_wildcmp_bin_impl(cs,str,str_end,wildstr,wildend,escape,w_one,
|
||||
w_many, recurse_level + 1);
|
||||
if (tmp <= 0)
|
||||
return(tmp);
|
||||
}
|
||||
@ -399,6 +402,16 @@ int my_wildcmp_bin(CHARSET_INFO *cs,
|
||||
return(str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int my_wildcmp_bin(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
{
|
||||
return my_wildcmp_bin_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, 1);
|
||||
}
|
||||
|
||||
|
||||
static size_t my_strnxfrm_bin(CHARSET_INFO *cs __attribute__((unused)),
|
||||
uchar *dest, size_t dstlen,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009-2011, Monty Program Ab
|
||||
/* Copyright (c) 2000, 2013, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2014, Monty Program Ab.
|
||||
|
||||
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
|
||||
@ -148,13 +148,16 @@ int my_strcasecmp_mb(CHARSET_INFO * cs,const char *s, const char *t)
|
||||
|
||||
#define likeconv(s,A) (uchar) (s)->sort_order[(uchar) (A)]
|
||||
|
||||
int my_wildcmp_mb(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
static
|
||||
int my_wildcmp_mb_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (*wildstr != w_many && *wildstr != w_one)
|
||||
@ -243,8 +246,8 @@ int my_wildcmp_mb(CHARSET_INFO *cs,
|
||||
INC_PTR(cs,str, str_end);
|
||||
}
|
||||
{
|
||||
int tmp=my_wildcmp_mb(cs,str,str_end,wildstr,wildend,escape,w_one,
|
||||
w_many);
|
||||
int tmp=my_wildcmp_mb_impl(cs,str,str_end,wildstr,wildend,escape,w_one,
|
||||
w_many, recurse_level + 1);
|
||||
if (tmp <= 0)
|
||||
return (tmp);
|
||||
}
|
||||
@ -255,6 +258,16 @@ int my_wildcmp_mb(CHARSET_INFO *cs,
|
||||
return (str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int my_wildcmp_mb(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
{
|
||||
return my_wildcmp_mb_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, 1);
|
||||
}
|
||||
|
||||
|
||||
size_t my_numchars_mb(CHARSET_INFO *cs __attribute__((unused)),
|
||||
const char *pos, const char *end)
|
||||
@ -696,13 +709,15 @@ fill_max_and_min:
|
||||
}
|
||||
|
||||
|
||||
static int my_wildcmp_mb_bin(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
static int my_wildcmp_mb_bin_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (*wildstr != w_many && *wildstr != w_one)
|
||||
@ -789,7 +804,9 @@ static int my_wildcmp_mb_bin(CHARSET_INFO *cs,
|
||||
INC_PTR(cs,str, str_end);
|
||||
}
|
||||
{
|
||||
int tmp=my_wildcmp_mb_bin(cs,str,str_end,wildstr,wildend,escape,w_one,w_many);
|
||||
int tmp=my_wildcmp_mb_bin_impl(cs,str,str_end,
|
||||
wildstr,wildend,escape,
|
||||
w_one,w_many, recurse_level+1);
|
||||
if (tmp <= 0)
|
||||
return (tmp);
|
||||
}
|
||||
@ -800,6 +817,17 @@ static int my_wildcmp_mb_bin(CHARSET_INFO *cs,
|
||||
return (str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int
|
||||
my_wildcmp_mb_bin(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
{
|
||||
return my_wildcmp_mb_bin_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, 1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Data was produced from EastAsianWidth.txt
|
||||
|
@ -952,13 +952,16 @@ cnv:
|
||||
#define INC_PTR(cs,A,B) (A)++
|
||||
|
||||
|
||||
int my_wildcmp_8bit(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
static
|
||||
int my_wildcmp_8bit_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (*wildstr != w_many && *wildstr != w_one)
|
||||
@ -1018,8 +1021,9 @@ int my_wildcmp_8bit(CHARSET_INFO *cs,
|
||||
str++;
|
||||
if (str++ == str_end) return(-1);
|
||||
{
|
||||
int tmp=my_wildcmp_8bit(cs,str,str_end,wildstr,wildend,escape,w_one,
|
||||
w_many);
|
||||
int tmp=my_wildcmp_8bit_impl(cs,str,str_end,
|
||||
wildstr,wildend,escape,w_one,
|
||||
w_many, recurse_level+1);
|
||||
if (tmp <= 0)
|
||||
return(tmp);
|
||||
}
|
||||
@ -1030,6 +1034,16 @@ int my_wildcmp_8bit(CHARSET_INFO *cs,
|
||||
return(str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int my_wildcmp_8bit(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
{
|
||||
return my_wildcmp_8bit_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, 1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
** Calculate min_str and max_str that ranges a LIKE string.
|
||||
|
@ -7444,10 +7444,10 @@ static int my_uca_charcmp(CHARSET_INFO *cs, my_wc_t wc1, my_wc_t wc2)
|
||||
*/
|
||||
|
||||
static
|
||||
int my_wildcmp_uca(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
int my_wildcmp_uca_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
my_wc_t s_wc, w_wc;
|
||||
@ -7455,7 +7455,9 @@ int my_wildcmp_uca(CHARSET_INFO *cs,
|
||||
int (*mb_wc)(struct charset_info_st *, my_wc_t *,
|
||||
const uchar *, const uchar *);
|
||||
mb_wc= cs->cset->mb_wc;
|
||||
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (1)
|
||||
@ -7562,8 +7564,8 @@ int my_wildcmp_uca(CHARSET_INFO *cs,
|
||||
if (str == str_end)
|
||||
return -1;
|
||||
|
||||
result= my_wildcmp_uca(cs, str, str_end, wildstr, wildend,
|
||||
escape, w_one, w_many);
|
||||
result= my_wildcmp_uca_impl(cs, str, str_end, wildstr, wildend,
|
||||
escape, w_one, w_many, recurse_level+1);
|
||||
|
||||
if (result <= 0)
|
||||
return result;
|
||||
@ -7575,6 +7577,16 @@ int my_wildcmp_uca(CHARSET_INFO *cs,
|
||||
return (str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int my_wildcmp_uca(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many)
|
||||
{
|
||||
return my_wildcmp_uca_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, 1);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Collation language is implemented according to
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
Copyright (c) 2009, 2011, Monty Program Ab
|
||||
/* Copyright (c) 2002, 2013, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2014, Monty Program Ab.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
@ -1888,11 +1888,12 @@ MY_UNICASE_INFO *my_unicase_turkish[256]=
|
||||
** 1 if matched with wildcard
|
||||
*/
|
||||
|
||||
int my_wildcmp_unicode(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many,
|
||||
MY_UNICASE_INFO **weights)
|
||||
static
|
||||
int my_wildcmp_unicode_impl(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many,
|
||||
MY_UNICASE_INFO **weights, int recurse_level)
|
||||
{
|
||||
int result= -1; /* Not found, using wildcards */
|
||||
my_wc_t s_wc, w_wc;
|
||||
@ -1900,7 +1901,9 @@ int my_wildcmp_unicode(CHARSET_INFO *cs,
|
||||
int (*mb_wc)(struct charset_info_st *, my_wc_t *,
|
||||
const uchar *, const uchar *);
|
||||
mb_wc= cs->cset->mb_wc;
|
||||
|
||||
|
||||
if (my_string_stack_guard && my_string_stack_guard(recurse_level))
|
||||
return 1;
|
||||
while (wildstr != wildend)
|
||||
{
|
||||
while (1)
|
||||
@ -2026,9 +2029,9 @@ int my_wildcmp_unicode(CHARSET_INFO *cs,
|
||||
return -1;
|
||||
|
||||
str+= scan;
|
||||
result= my_wildcmp_unicode(cs, str, str_end, wildstr, wildend,
|
||||
escape, w_one, w_many,
|
||||
weights);
|
||||
result= my_wildcmp_unicode_impl(cs, str, str_end, wildstr, wildend,
|
||||
escape, w_one, w_many,
|
||||
weights, recurse_level+1);
|
||||
if (result <= 0)
|
||||
return result;
|
||||
}
|
||||
@ -2037,6 +2040,18 @@ int my_wildcmp_unicode(CHARSET_INFO *cs,
|
||||
return (str != str_end ? 1 : 0);
|
||||
}
|
||||
|
||||
int
|
||||
my_wildcmp_unicode(CHARSET_INFO *cs,
|
||||
const char *str,const char *str_end,
|
||||
const char *wildstr,const char *wildend,
|
||||
int escape, int w_one, int w_many,
|
||||
MY_UNICASE_INFO **weights)
|
||||
{
|
||||
return my_wildcmp_unicode_impl(cs, str, str_end,
|
||||
wildstr, wildend,
|
||||
escape, w_one, w_many, weights, 1);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -38,6 +38,8 @@
|
||||
|
||||
*/
|
||||
|
||||
int (*my_string_stack_guard)(int)= NULL;
|
||||
|
||||
static char *mstr(char *str,const char *src,size_t l1,size_t l2)
|
||||
{
|
||||
l1= l1<l2 ? l1 : l2;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2004, 2011, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2011, Monty Program Ab
|
||||
/* Copyright (c) 2004, 2013, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009, 2014, Monty Program Ab.
|
||||
|
||||
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
|
||||
@ -15,8 +15,6 @@
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#line 18 "decimal.c"
|
||||
|
||||
/*
|
||||
=======================================================================
|
||||
NOTE: this library implements SQL standard "exact numeric" type
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2000 MySQL AB
|
||||
# Copyright (c) 2000-2002, 2004, 2005 MySQL AB
|
||||
# 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.
|
||||
@ -10,7 +10,7 @@
|
||||
#
|
||||
# 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
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
# Optimized longlong2str function for Intel 80x86 (gcc/gas syntax)
|
||||
# Some set sequences are optimized for pentuimpro II
|
||||
|
@ -1,4 +1,4 @@
|
||||
; Copyright (C) 2000 MySQL AB
|
||||
; Copyright (c) 2000, 2006 MySQL AB
|
||||
;
|
||||
; This library is free software; you can redistribute it and/or
|
||||
; modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
;
|
||||
; 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
|
||||
; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
; MA 02110-1301, USA
|
||||
|
||||
; Some useful macros
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2003 MySQL AB
|
||||
# Copyright (c) 2003, 2005, 2006 MySQL AB
|
||||
#
|
||||
# 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
|
||||
@ -11,7 +11,8 @@
|
||||
#
|
||||
# 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
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
# MA 02110-1301, USA
|
||||
|
||||
# Implemention of my_strtoll(): Converting a string to a 64 bit integer.
|
||||
# For documentation, check my_strtoll.c
|
||||
|
@ -216,8 +216,8 @@ longlong my_strtoll10(const char *nptr, char **endptr, int *error)
|
||||
goto overflow;
|
||||
|
||||
/* Check that we didn't get an overflow with the last digit */
|
||||
if (i > cutoff || (i == cutoff && ((j > cutoff2 || j == cutoff2) &&
|
||||
k > cutoff3)))
|
||||
if (i > cutoff || (i == cutoff && (j > cutoff2 || (j == cutoff2 &&
|
||||
k > cutoff3))))
|
||||
goto overflow;
|
||||
li=i*LFACTOR2+ (ulonglong) j*100 + k;
|
||||
return (longlong) li;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; Copyright (C) 2000 MySQL AB
|
||||
; Copyright (c) 2000, 2006 MySQL AB
|
||||
;
|
||||
; This library is free software; you can redistribute it and/or
|
||||
; modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
;
|
||||
; 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
|
||||
; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
; MA 02110-1301, USA
|
||||
|
||||
TITLE Optimized cmp of pointer to strings of unsigned chars
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strappend-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strend-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2000 MySQL AB
|
||||
/* Copyright (c) 2000, 2001 MySQL AB
|
||||
|
||||
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
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
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 */
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
|
||||
|
||||
/* File : strings.h
|
||||
Author : Richard A. O'Keefe.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2000 MySQL AB
|
||||
# Copyright (c) 2000, 2002-2004 MySQL AB
|
||||
# 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.
|
||||
@ -10,7 +10,7 @@
|
||||
#
|
||||
# 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
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
# Optimized string functions Intel 80x86 (gcc/gas syntax)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; Copyright (C) 2000, 2003 MySQL AB
|
||||
; Copyright (c) 2000, 2003, 2006 MySQL AB
|
||||
;
|
||||
; This library is free software; you can redistribute it and/or
|
||||
; modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
;
|
||||
; 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
|
||||
; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
; MA 02110-1301, USA
|
||||
|
||||
; Note that if you don't have a macro assembler (like MASM) to compile
|
||||
; this file, you can instead compile all *.c files in the string
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000 MySQL AB
|
||||
! Copyright (c) 2000, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strinstr-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strmake-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
|
||||
Copyright (c) 2009-2011, Monty Program Ab
|
||||
Copyright (c) 2009, 2011, Monty Program Ab.
|
||||
Use is subject to license terms.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strmov-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strnmov-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
.file "strstr-sparc.s"
|
||||
.section ".text"
|
||||
|
@ -1,4 +1,4 @@
|
||||
! Copyright (C) 2000, 2002 MySQL AB
|
||||
! Copyright (c) 2000, 2002, 2006 MySQL AB
|
||||
!
|
||||
! This library is free software; you can redistribute it and/or
|
||||
! modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
!
|
||||
! 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
|
||||
! Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
! MA 02110-1301, USA
|
||||
|
||||
!
|
||||
! Note that this function only works on 32 bit sparc systems
|
||||
|
@ -1,4 +1,4 @@
|
||||
; Copyright (C) 2000 MySQL AB
|
||||
; Copyright (c) 2000, 2006 MySQL AB
|
||||
;
|
||||
; This library is free software; you can redistribute it and/or
|
||||
; modify it under the terms of the GNU Library General Public
|
||||
@ -12,8 +12,8 @@
|
||||
;
|
||||
; 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
|
||||
; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
; MA 02110-1301, USA
|
||||
|
||||
TITLE Optimized strxmov for MSDOS / Intel 8086
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2000 MySQL AB
|
||||
/* Copyright (c) 2000, 2001, 2003 MySQL AB
|
||||
|
||||
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
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
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 */
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
|
||||
|
||||
/*
|
||||
Copyright (C) 1998, 1999 by Pruet Boonma, all rights reserved.
|
||||
|
Reference in New Issue
Block a user