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
e330e269
Commit
e330e269
authored
Feb 23, 2005
by
lars@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
77f46e9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+2
-0
mysql-test/t/rpl_charset.test
mysql-test/t/rpl_charset.test
+4
-4
No files found.
mysql-test/r/mysqldump.result
View file @
e330e269
...
@@ -365,6 +365,7 @@ create view v1 as select * from t1;
...
@@ -365,6 +365,7 @@ create view v1 as select * from t1;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `t1`;
DROP TABLE IF EXISTS `t1`;
CREATE TABLE `t1` (
CREATE TABLE `t1` (
`a` int(11) default NULL
`a` int(11) default NULL
...
@@ -385,6 +386,7 @@ CREATE ALGORITHM=UNDEFINED VIEW `test`.`v1` AS select `test`.`t1`.`a` AS `a` fro
...
@@ -385,6 +386,7 @@ CREATE ALGORITHM=UNDEFINED VIEW `test`.`v1` AS select `test`.`t1`.`a` AS `a` fro
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
drop view v1;
drop view v1;
drop table t1;
drop table t1;
...
...
mysql-test/t/rpl_charset.test
View file @
e330e269
...
@@ -63,10 +63,10 @@ connection master;
...
@@ -63,10 +63,10 @@ connection master;
set
character_set_client
=
latin1
,
collation_connection
=
latin1_german1_ci
;
set
character_set_client
=
latin1
,
collation_connection
=
latin1_german1_ci
;
truncate
table
t1
;
truncate
table
t1
;
insert
into
t1
(
b
)
values
(
@@
collation_connection
);
insert
into
t1
(
b
)
values
(
@@
collation_connection
);
insert
into
t1
(
b
)
values
(
LEAST
(
"M
ül
ler"
,
"Muffler"
));
insert
into
t1
(
b
)
values
(
LEAST
(
"M
l
ler"
,
"Muffler"
));
set
collation_connection
=
latin1_german2_ci
;
set
collation_connection
=
latin1_german2_ci
;
insert
into
t1
(
b
)
values
(
@@
collation_connection
);
insert
into
t1
(
b
)
values
(
@@
collation_connection
);
insert
into
t1
(
b
)
values
(
LEAST
(
"M
ül
ler"
,
"Muffler"
));
insert
into
t1
(
b
)
values
(
LEAST
(
"M
l
ler"
,
"Muffler"
));
--
disable_query_log
--
disable_query_log
select
"--- --master--"
as
""
;
select
"--- --master--"
as
""
;
--
enable_query_log
--
enable_query_log
...
@@ -90,7 +90,7 @@ select * from mysqltest2.t1 order by a;
...
@@ -90,7 +90,7 @@ select * from mysqltest2.t1 order by a;
# which provokes error messages (like 'Illegal mix of collation') when
# which provokes error messages (like 'Illegal mix of collation') when
# we replay the master's INSERT/etc statements.
# we replay the master's INSERT/etc statements.
connection
master
;
connection
master
;
set
@
a
=
_cp850
'M
ül
ler'
collate
cp850_general_ci
;
set
@
a
=
_cp850
'M
l
ler'
collate
cp850_general_ci
;
truncate
table
t1
;
truncate
table
t1
;
insert
into
t1
(
b
)
values
(
collation
(
@
a
));
insert
into
t1
(
b
)
values
(
collation
(
@
a
));
--
disable_query_log
--
disable_query_log
...
@@ -145,7 +145,7 @@ CREATE TABLE t1 (c1 VARBINARY(255), c2 VARBINARY(255));
...
@@ -145,7 +145,7 @@ CREATE TABLE t1 (c1 VARBINARY(255), c2 VARBINARY(255));
SET
CHARACTER_SET_CLIENT
=
koi8r
,
SET
CHARACTER_SET_CLIENT
=
koi8r
,
CHARACTER_SET_CONNECTION
=
cp1251
,
CHARACTER_SET_CONNECTION
=
cp1251
,
CHARACTER_SET_RESULTS
=
koi8r
;
CHARACTER_SET_RESULTS
=
koi8r
;
INSERT
INTO
t1
(
c1
,
c2
)
VALUES
(
'
îÕ, ÚÁ ÒÙÂÁÌËÕ'
,
'îÕ, ÚÁ ÒÙÂÁÌËÕ'
);
INSERT
INTO
t1
(
c1
,
c2
)
VALUES
(
'
, '
,
', '
);
select
hex
(
c1
),
hex
(
c2
)
from
t1
;
select
hex
(
c1
),
hex
(
c2
)
from
t1
;
sync_slave_with_master
;
sync_slave_with_master
;
select
hex
(
c1
),
hex
(
c2
)
from
t1
;
select
hex
(
c1
),
hex
(
c2
)
from
t1
;
...
...
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