manticoresoftware / manticoresoftware/manticoresearch

a* can't be found, but a*a can

Open
#528 1 comment 0 reactions 1 assignee View on GitHub

@tomatolog is already working on this.

Since Apr 19, 2024.

bug est::size_L
Dominant language
C++
Stars
12k
Forks
642
Avg merge
3d 12h
Merged PRs (30d)
47

Description

```sql
mysql> drop table if exists t; create table t(f text) charset_table='a,*'; insert into t values (1,'a'),(2,'a*'),(3,'a*a');

mysq> select * from t;
+------+------+
| id | f |
+------+------+
| 1 | a |
| 2 | a* |
| 3 | a*a |
+------+------+
3 rows in set (0.00 sec)

mysql> select * from t where match('a*'); +------+------+
| id | f |
+------+------+
| 1 | a |
+------+------+
1 row in set (0.00 sec)

mysql> select * from t where match('a*a');
+------+------+
| id | f |
+------+------+
| 3 | a*a |
+------+------+
1 row in set (0.00 sec)
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.