[Groonga-mysql-commit] mroonga/mroonga at c353249 [master] mysql8 test: use custom collation

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 29 22:48:58 JST 2018


Kouhei Sutou	2018-07-29 22:48:58 +0900 (Sun, 29 Jul 2018)

  New Revision: c35324923329f42d552f6f57489642741a8ebbbd
  https://github.com/mroonga/mroonga/commit/c35324923329f42d552f6f57489642741a8ebbbd

  Message:
    mysql8 test: use custom collation

  Modified files:
    mysql-test/mroonga/storage/function/command/r/special-database-name.result
    mysql-test/mroonga/storage/function/command/t/special-database-name.test

  Modified: mysql-test/mroonga/storage/function/command/r/special-database-name.result (+2 -2)
===================================================================
--- mysql-test/mroonga/storage/function/command/r/special-database-name.result    2018-07-29 22:44:30 +0900 (a3f272a8)
+++ mysql-test/mroonga/storage/function/command/r/special-database-name.result    2018-07-29 22:48:58 +0900 (a177076f)
@@ -3,7 +3,7 @@ CREATE DATABASE `db-1`;
 USE `db-1`;
 SET NAMES UTF8MB4;
 CREATE TABLE diaries (
-title TEXT,
+title TEXT COLLATE utf8mb4_unicode_ci,
 FULLTEXT KEY (title)
 ) DEFAULT CHARSET=utf8mb4;
 SELECT mroonga_command('dump --dump_plugins no');
@@ -11,7 +11,7 @@ mroonga_command('dump --dump_plugins no')
 table_create diaries TABLE_NO_KEY
 column_create diaries title COLUMN_SCALAR LongText
 
-table_create diaries#title TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerMySQLGeneralCI
+table_create diaries#title TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerMySQLUnicodeCI
 
 table_create mroonga_operations TABLE_NO_KEY
 column_create mroonga_operations record COLUMN_SCALAR UInt32

  Modified: mysql-test/mroonga/storage/function/command/t/special-database-name.test (+1 -1)
===================================================================
--- mysql-test/mroonga/storage/function/command/t/special-database-name.test    2018-07-29 22:44:30 +0900 (f23b8ed1)
+++ mysql-test/mroonga/storage/function/command/t/special-database-name.test    2018-07-29 22:48:58 +0900 (9f60186e)
@@ -26,7 +26,7 @@ USE `db-1`;
 
 SET NAMES UTF8MB4;
 CREATE TABLE diaries (
-  title TEXT,
+  title TEXT COLLATE utf8mb4_unicode_ci,
   FULLTEXT KEY (title)
 ) DEFAULT CHARSET=utf8mb4;
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180729/97fcf876/attachment.htm 



More information about the Groonga-mysql-commit mailing list
Back to archive index