Commit 4de97333 authored by unknown's avatar unknown

changed usc2 -> koi8r to don't depend on extra-charset option.

parent 80ec8079
...@@ -62,8 +62,8 @@ INSERT INTO t1 VALUES ("1\""), ("\"2"); ...@@ -62,8 +62,8 @@ INSERT INTO t1 VALUES ("1\""), ("\"2");
</database> </database>
</mysqldump> </mysqldump>
DROP TABLE t1; DROP TABLE t1;
CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET ucs2; CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r;
INSERT INTO t1 VALUES (_ucs2 x'05D005D505DC05D9'); INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5');
-- MySQL dump 10.2 -- MySQL dump 10.2
-- --
-- Host: localhost Database: test -- Host: localhost Database: test
...@@ -82,7 +82,7 @@ INSERT INTO t1 VALUES (_ucs2 x'05D005D505DC05D9'); ...@@ -82,7 +82,7 @@ INSERT INTO t1 VALUES (_ucs2 x'05D005D505DC05D9');
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
CREATE TABLE t1 ( CREATE TABLE t1 (
a varchar(255) default NULL a varchar(255) default NULL
) TYPE=MyISAM DEFAULT CHARSET=ucs2; ) ENGINE=MyISAM DEFAULT CHARSET=koi8r;
-- --
-- Dumping data for table `t1` -- Dumping data for table `t1`
...@@ -91,7 +91,7 @@ CREATE TABLE t1 ( ...@@ -91,7 +91,7 @@ CREATE TABLE t1 (
/*!40000 ALTER TABLE t1 DISABLE KEYS */; /*!40000 ALTER TABLE t1 DISABLE KEYS */;
LOCK TABLES t1 WRITE; LOCK TABLES t1 WRITE;
INSERT INTO t1 VALUES ('אולי'); INSERT INTO t1 VALUES ('абцде');
UNLOCK TABLES; UNLOCK TABLES;
/*!40000 ALTER TABLE t1 ENABLE KEYS */; /*!40000 ALTER TABLE t1 ENABLE KEYS */;
......
...@@ -27,7 +27,7 @@ DROP TABLE t1; ...@@ -27,7 +27,7 @@ DROP TABLE t1;
# Bug #1994 # Bug #1994
# #
CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET ucs2; CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r;
INSERT INTO t1 VALUES (_ucs2 x'05D005D505DC05D9'); INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5');
--exec $MYSQL_DUMP test t1 --exec $MYSQL_DUMP test t1
DROP TABLE t1; DROP TABLE t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment