[MDEV-8640] MariaDB 10.1 with Spider Created: 2015-08-18 Updated: 2023-05-23 Resolved: 2023-05-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Affects Version/s: | 10.1.6, 5.5, 10.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Aurélien LEQUOY | Assignee: | Nayuta Yanagisawa (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | upstream | ||
| Environment: |
Centos 6.X |
||
| Description |
|
installed MariaDB 10.1.6 with file_key_managment when I installed spider : most fine except this error : mysql> source /usr/share/mysql/install_spider.sql |
| Comments |
| Comment by Aurélien LEQUOY [ 2015-08-18 ] | |||||||||||||||
|
got the same error, on a server stand alone | |||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-18 ] | |||||||||||||||
|
due to my.cnf collation was specified in my.cnf cluster control set this options by default, I replace it by general_ci and all work fine | |||||||||||||||
| Comment by Elena Stepanova [ 2015-08-18 ] | |||||||||||||||
|
Before I close it as a configuration issue, I want to get a consult from bar, because I find the behavior rather confusing.
So, when the server is started with such charset/collation, the comparison of the I_S column to a literal works okay as a plain SQL, but inside a procedure it fails. It's the same on earlier versions, both MariaDB and MySQL, but I'm not sure it's supposed to be so. | |||||||||||||||
| Comment by Aurélien LEQUOY [ 2015-08-18 ] | |||||||||||||||
|
it's strange : --collation-server=utf8_unicode_ci ! | |||||||||||||||
| Comment by Alexander Barkov [ 2017-11-05 ] | |||||||||||||||
|
Stored routine variables and parameters use the database character set and collation by default.
Another option is to use explicit COLLATE in SELECT, e.g.:
install_spider.sql should be fixed using either of the ways. | |||||||||||||||
| Comment by Yuchen Pei [ 2023-05-23 ] | |||||||||||||||
|
Closing because 10.1 was EOL and spider is no longer initialised using the install_spider.sql script |