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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6ad9691d
Commit
6ad9691d
authored
May 11, 2004
by
tsmith@build.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge build:/home/bk/mysql-4.1
into build.mysql.com:/users/tsmith/m/41/mysql-4.1
parents
6f326825
8746a7da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
mysql-test/r/ctype_recoding.result
mysql-test/r/ctype_recoding.result
+7
-0
mysql-test/t/ctype_recoding.test
mysql-test/t/ctype_recoding.test
+7
-1
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+1
-0
No files found.
BitKeeper/etc/logging_ok
View file @
6ad9691d
...
...
@@ -163,6 +163,7 @@ tonu@hundin.mysql.fi
tonu@volk.internalnet
tonu@x153.internalnet
tonu@x3.internalnet
tsmith@build.mysql.com
ulli@morbus.(none)
venu@hundin.mysql.fi
venu@myvenu.com
...
...
mysql-test/r/ctype_recoding.result
View file @
6ad9691d
...
...
@@ -82,6 +82,13 @@ Field Type Null Key Default Extra
SET CHARACTER SET koi8r;
DROP TABLE ;
SET CHARACTER SET default;
SET NAMES UTF8;
CREATE TABLE t1 (t text) DEFAULT CHARSET UTF8;
INSERT INTO t1 (t) VALUES ('x');
SELECT 1 FROM t1 WHERE CONCAT(_latin1'x') = t;
1
1
DROP TABLE t1;
SET CHARACTER SET koi8r;
CREATE DATABASE ;
USE ;
...
...
mysql-test/t/ctype_recoding.test
View file @
6ad9691d
...
...
@@ -56,6 +56,13 @@ SET CHARACTER SET koi8r;
DROP
TABLE
;
SET
CHARACTER
SET
default
;
# Test for Item_func_conv_charset::fix_fields (bug #3704)
SET
NAMES
UTF8
;
CREATE
TABLE
t1
(
t
text
)
DEFAULT
CHARSET
UTF8
;
INSERT
INTO
t1
(
t
)
VALUES
(
'x'
);
SELECT
1
FROM
t1
WHERE
CONCAT
(
_latin1
'x'
)
=
t
;
DROP
TABLE
t1
;
SET
CHARACTER
SET
koi8r
;
CREATE
DATABASE
;
USE
;
...
...
@@ -71,4 +78,3 @@ SET NAMES koi8r;
SELECT
hex
(
''
);
SET
character_set_connection
=
cp1251
;
SELECT
hex
(
''
);
sql/item_cmpfunc.cc
View file @
6ad9691d
...
...
@@ -221,6 +221,7 @@ void Item_bool_func2::fix_length_and_dec()
{
conv
=
new
Item_func_conv_charset
(
args
[
weak
],
args
[
strong
]
->
collation
.
collation
);
conv
->
collation
.
set
(
args
[
weak
]
->
collation
.
derivation
);
conv
->
fix_fields
(
current_thd
,
0
,
&
conv
);
}
args
[
weak
]
=
conv
?
conv
:
args
[
weak
];
}
...
...
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