Commit 34b15e6a authored by bar@bar.intranet.mysql.r18.ru's avatar bar@bar.intranet.mysql.r18.ru

Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-kt

into  mysql.com:/usr/home/bar/mysql-5.1-kt
parents c106b083 9ea82d35
...@@ -391,3 +391,17 @@ ABC ...@@ -391,3 +391,17 @@ ABC
SELECT convert(@str collate latin1_swedish_ci using utf8); SELECT convert(@str collate latin1_swedish_ci using utf8);
convert(@str collate latin1_swedish_ci using utf8) convert(@str collate latin1_swedish_ci using utf8)
ABC ߲~ @ abc ABC ߲~ @ abc
SET NAMES latin1;
DROP TABLE IF EXISTS `abcdef`;
CREATE TABLE `abcdef` (i int);
INSERT INTO `abcdef` VALUES (1);
INSERT INTO abcdef VALUES (2);
SELECT * FROM `abcdef`;
i
1
2
SELECT * FROM abcdef;
i
1
2
DROP TABLE `abcdef`;
...@@ -110,3 +110,14 @@ SELECT convert(@str collate latin1_german2_ci using utf8); ...@@ -110,3 +110,14 @@ SELECT convert(@str collate latin1_german2_ci using utf8);
SELECT convert(@str collate latin1_swedish_ci using utf8); SELECT convert(@str collate latin1_swedish_ci using utf8);
# End of 4.1 tests # End of 4.1 tests
SET NAMES latin1;
--disable_warnings
DROP TABLE IF EXISTS `abcdef`;
--enable_warnings
CREATE TABLE `abcdef` (i int);
INSERT INTO `abcdef` VALUES (1);
INSERT INTO abcdef VALUES (2);
SELECT * FROM `abcdef`;
SELECT * FROM abcdef;
DROP TABLE `abcdef`;
...@@ -777,8 +777,6 @@ int MYSQLlex(void *arg, void *yythd) ...@@ -777,8 +777,6 @@ int MYSQLlex(void *arg, void *yythd)
int length; int length;
if ((length= my_mbcharlen(cs, c)) == 1) if ((length= my_mbcharlen(cs, c)) == 1)
{ {
if (c == (uchar) NAMES_SEP_CHAR)
break; /* Old .frm format can't handle this char */
if (c == quote_char) if (c == quote_char)
{ {
if (yyPeek() != quote_char) if (yyPeek() != quote_char)
......
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