[MDEV-7408] Cannot use a table containing special chars for InnoDB stopwords Created: 2015-01-05 Updated: 2023-08-08 Resolved: 2022-09-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Federico Razzoli | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | special_chars, upstream, verified | ||
| Attachments: |
|
| Description |
|
The statement below fails because the new table contains a special char (dash):
Without special char, it works:
Sorry, I didn't try on MySQL because I currently don't have it installed on development. |
| Comments |
| Comment by Elena Stepanova [ 2015-01-08 ] | |||||||||||||||||||||||||||||||||
|
Yes, it's reproducible on MySQL 5.6 and 5.7.
| |||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2015-01-08 ] | |||||||||||||||||||||||||||||||||
|
Ok. I still don't have it installed, so I hope that everything is correct. | |||||||||||||||||||||||||||||||||
| Comment by Rohit Kashyap [ 2015-02-12 ] | |||||||||||||||||||||||||||||||||
|
influence the list of stop-words through a special table: | |||||||||||||||||||||||||||||||||
| Comment by Federico Razzoli [ 2015-02-12 ] | |||||||||||||||||||||||||||||||||
|
Rohit, as you can see from the tests, I know how to do this. But there is no rule about the table's name, so the first test should work. | |||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-18 ] | |||||||||||||||||||||||||||||||||
|
That create table does not create table named `stop_it-IT` instead table named `test/stop_it@002dIT` is created, thus try
| |||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-18 ] | |||||||||||||||||||||||||||||||||
|
Background: '-' character is not permitted characters in unquoted identifiers, in quoted identifiers it is but that does not mean that actual created table has exactly the name provided. See http://dev.mysql.com/doc/refman/5.6/en/identifiers.html Hmm, let me see if I can improve this anyway. | |||||||||||||||||||||||||||||||||
| Comment by Jan Lindström (Inactive) [ 2015-02-18 ] | |||||||||||||||||||||||||||||||||
|
My suggested fix, but we will wait upstream fix to avoid unnecessary re-fixing. | |||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-09-12 ] | |||||||||||||||||||||||||||||||||
|
10.0 was EOLed in March 2019 |