[MDEV-443] Galera: Server crashes on flushing tables for SST if started with character_set_server utf16 or utf32 or ucs2, and with wsrep_sst_method=rsync Created: 2012-08-08 Updated: 2013-12-04 Resolved: 2013-12-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.34-galera |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Description |
|
Server command lines:
Executing FLUSH TABLES WITH READ LOCK on an already running server (e.g. if it was started with wsrep_sst_method=mysqldump) does not cause the crash. bzr version-info (maria-5.5-galera)
Build options: -DCMAKE_BUILD_TYPE=Debug -DWITH_WSREP=ON -DWITH_INNODB_DISALLOW_WRITES=1 galera-23.2.1 How to reproduce:
|
| Comments |
| Comment by Elena Stepanova [ 2012-08-09 ] |
|
See http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_character_set_client about ucs2, utf16, and utf32 not allowed to "be used as a client character set, which means that they also do not work for SET NAMES or SET CHARACTER SET." – it might be somehow related. |
| Comment by Elena Stepanova [ 2012-08-12 ] |
|
Switched to Minor temporarily, as I think it can be tolerated for the first alpha release. |
| Comment by Jan Lindström (Inactive) [ 2013-12-04 ] |
|
wsrep_sst.cc directly sends a SQL to the parser. Maybe the best way is to temporally set such a character set that is supported by the parser if current character set is part of the unsupported ones. |
| Comment by Jan Lindström (Inactive) [ 2013-12-04 ] |
|
In SST Galera directly calls parser using current client character Fix: If currenct client character set is one of those that is not supported |