Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
04e72bad
Commit
04e72bad
authored
May 12, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/jonas/src/mysql-4.1
parents
2043252d
c82c07dc
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
46 additions
and
6 deletions
+46
-6
BUILD/check-cpu
BUILD/check-cpu
+4
-0
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
configure.in
configure.in
+3
-0
libmysqld/Makefile.am
libmysqld/Makefile.am
+4
-1
mysql-test/r/ctype_ucs.result
mysql-test/r/ctype_ucs.result
+18
-0
mysql-test/t/ctype_ucs.test
mysql-test/t/ctype_ucs.test
+10
-0
mysql-test/t/range.test
mysql-test/t/range.test
+2
-0
sql/item_strfunc.h
sql/item_strfunc.h
+0
-1
strings/ctype-big5.c
strings/ctype-big5.c
+1
-1
strings/ctype-cp932.c
strings/ctype-cp932.c
+1
-1
strings/ctype-sjis.c
strings/ctype-sjis.c
+1
-1
strings/ctype-ucs2.c
strings/ctype-ucs2.c
+1
-1
No files found.
BUILD/check-cpu
View file @
04e72bad
...
...
@@ -55,6 +55,10 @@ case "$cpu_family--$model_name" in
*
Pentium
*
III
*
CPU
*
)
cpu_flag
=
"pentium3"
;
;;
*
Pentium
*
M
*
pro
*
)
cpu_flag
=
"pentium-m"
;
cpu_flag_old
=
"pentium"
;
;;
*
Athlon
*
64
*
)
cpu_flag
=
"athlon64"
;
cpu_flag_old
=
"athlon"
;
...
...
BitKeeper/etc/logging_ok
View file @
04e72bad
...
...
@@ -75,6 +75,7 @@ hf@bisonxp.(none)
hf@deer.(none)
hf@deer.mysql.r18.ru
hf@genie.(none)
holyfoot@mysql.com
igor@hundin.mysql.fi
igor@linux.local
igor@rurik.mysql.com
...
...
configure.in
View file @
04e72bad
...
...
@@ -145,8 +145,11 @@ AC_ARG_WITH(darwin-mwcc,
export
CC CXX LD AR RANLIB
AC_SUBST
(
AR
)
AC_SUBST
(
RANLIB
)
with_darwin_mwcc
=
yes
])
AM_CONDITIONAL
(
DARWIN_MWCC,
test
x
$with_darwin_mwcc
=
xyes
)
if
test
"x
${
CFLAGS
-
}
"
=
x
;
then
cflags_is_set
=
no
else
...
...
libmysqld/Makefile.am
View file @
04e72bad
...
...
@@ -83,6 +83,9 @@ INC_LIB= $(top_builddir)/regex/libregex.a \
# generate a total libmysqld.a from all library files,
libmysqld.a
:
libmysqld_int.a $(INC_LIB)
if
DARWIN_MWCC
mwld
-lib
-o
$@
libmysqld_int.a
`ls
-1
$(INC_LIB)
|
sort
-u`
else
if
test
"$(host_os)"
=
"netware"
;
\
then
\
$(libmysqld_a_AR)
libmysqld.a
libmysqld_int.a
$(INC_LIB)
;
\
...
...
@@ -104,7 +107,7 @@ libmysqld.a: libmysqld_int.a $(INC_LIB)
rm
-f
tmp/
*
;
\
$(RANLIB)
libmysqld.a
;
\
fi
endif
## XXX: any time the client interface changes, we'll need to bump
## the version info for libmysqld; however, it's possible for the
...
...
mysql-test/r/ctype_ucs.result
View file @
04e72bad
...
...
@@ -598,6 +598,24 @@ ucs2_bin 00610009
ucs2_bin 0061
ucs2_bin 00610020
drop table t1;
select hex(substr(_ucs2 0x00e400e50068,1));
hex(substr(_ucs2 0x00e400e50068,1))
00E400E50068
select hex(substr(_ucs2 0x00e400e50068,2));
hex(substr(_ucs2 0x00e400e50068,2))
00E50068
select hex(substr(_ucs2 0x00e400e50068,3));
hex(substr(_ucs2 0x00e400e50068,3))
0068
select hex(substr(_ucs2 0x00e400e50068,-1));
hex(substr(_ucs2 0x00e400e50068,-1))
0068
select hex(substr(_ucs2 0x00e400e50068,-2));
hex(substr(_ucs2 0x00e400e50068,-2))
00E50068
select hex(substr(_ucs2 0x00e400e50068,-3));
hex(substr(_ucs2 0x00e400e50068,-3))
00E400E50068
SET NAMES latin1;
SET collation_connection='ucs2_swedish_ci';
CREATE TABLE t1 (Field1 int(10) default '0');
...
...
mysql-test/t/ctype_ucs.test
View file @
04e72bad
...
...
@@ -374,6 +374,16 @@ SET NAMES latin1;
SET
collation_connection
=
'ucs2_bin'
;
--
source
include
/
ctype_filesort
.
inc
#
# Bug#10344 Some string functions fail for UCS2
#
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
1
));
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
2
));
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
3
));
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
-
1
));
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
-
2
));
select
hex
(
substr
(
_ucs2
0x00e400e50068
,
-
3
));
SET
NAMES
latin1
;
#
# Bug#8235
...
...
mysql-test/t/range.test
View file @
04e72bad
...
...
@@ -450,6 +450,7 @@ explain select * from t1 where a='aaa' collate latin1_german1_ci;
drop
table
t1
;
# Test for BUG#9348 "result for WHERE A AND (B OR C) differs from WHERE a AND (C OR B)"
--
disable_warnings
CREATE
TABLE
t1
(
`CLIENT`
char
(
3
)
character
set
latin1
collate
latin1_bin
NOT
NULL
default
'000'
,
`ARG1`
char
(
3
)
character
set
latin1
collate
latin1_bin
NOT
NULL
default
''
,
...
...
@@ -458,6 +459,7 @@ CREATE TABLE t1 (
`FUNCTINT`
int
(
11
)
NOT
NULL
default
'0'
,
KEY
`VERI_CLNT~2`
(
`ARG1`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
enable_warnings
INSERT
INTO
t1
VALUES
(
'000'
,
' 0'
,
' 0'
,
'Text 001'
,
0
),
(
'000'
,
' 0'
,
' 1'
,
'Text 002'
,
0
),
(
'000'
,
' 1'
,
' 2'
,
'Text 003'
,
0
),
(
'000'
,
' 2'
,
' 3'
,
'Text 004'
,
0
),
...
...
sql/item_strfunc.h
View file @
04e72bad
...
...
@@ -18,7 +18,6 @@
/* This file defines all string functions */
#ifdef USE_PRAGMA_INTERFACE
#error PRAGMA
#pragma interface
/* gcc class implementation */
#endif
...
...
strings/ctype-big5.c
View file @
04e72bad
...
...
@@ -6285,7 +6285,7 @@ uint my_well_formed_len_big5(CHARSET_INFO *cs __attribute__((unused)),
const
char
*
emb
=
e
-
1
;
/* Last possible end of an MB character */
*
error
=
0
;
while
(
pos
&&
b
<
e
)
while
(
pos
--
&&
b
<
e
)
{
if
((
uchar
)
b
[
0
]
<
128
)
{
...
...
strings/ctype-cp932.c
View file @
04e72bad
...
...
@@ -5417,7 +5417,7 @@ uint my_well_formed_len_cp932(CHARSET_INFO *cs __attribute__((unused)),
{
const
char
*
b0
=
b
;
*
error
=
0
;
while
(
pos
&&
b
<
e
)
while
(
pos
--
&&
b
<
e
)
{
/*
Cast to int8 for extra safety.
...
...
strings/ctype-sjis.c
View file @
04e72bad
...
...
@@ -4576,7 +4576,7 @@ uint my_well_formed_len_sjis(CHARSET_INFO *cs __attribute__((unused)),
{
const
char
*
b0
=
b
;
*
error
=
0
;
while
(
pos
&&
b
<
e
)
while
(
pos
--
&&
b
<
e
)
{
if
((
uchar
)
b
[
0
]
<
128
)
{
...
...
strings/ctype-ucs2.c
View file @
04e72bad
...
...
@@ -1261,7 +1261,7 @@ uint my_charpos_ucs2(CHARSET_INFO *cs __attribute__((unused)),
const
char
*
e
__attribute__
((
unused
)),
uint
pos
)
{
return
pos
*
2
;
return
pos
>
e
-
b
?
e
-
b
+
2
:
pos
*
2
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment