Кто-то может объяснить, зачем нужен sql_field_string??
[snikolaev@dev01 src]$ mysql -P9314 -h0
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 2.6.4 3d31c7c@180329 dev
Copyright (c) 2009-2017 Percona LLC and/or its affiliates
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> select * from idx_min where match('ооо т*');
+------+------------------------------------------------+
| id | body |
+------+------------------------------------------------+
| 1 | ООО тестовая организация |
+------+------------------------------------------------+
1 row in set (0.00 sec)
mysql> select * from idx_min where match('ооо *ес*');
+------+------------------------------------------------+
| id | body |
+------+------------------------------------------------+
| 1 | ООО тестовая организация |
+------+------------------------------------------------+
1 row in set (0.00 sec)
mysql> select * from idx_min where match('ооо *е*');
Empty set (0.00 sec)
mysql> select * from idx_min where match('ооо те*');
+------+------------------------------------------------+
| id | body |
+------+------------------------------------------------+
| 1 | ООО тестовая организация |
+------+------------------------------------------------+
1 row in set (0.00 sec)