[MDEV-18992] Crash when using “insert into on duplicate update” if session charset different from table charset Created: 2019-03-21 Updated: 2019-05-07 Resolved: 2019-04-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Spider |
| Affects Version/s: | None |
| Fix Version/s: | 10.4.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | willhan | Assignee: | Kentoku Shiba (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Crash when using “insert into on duplicate update” if session charset different from table charset |
| Comments |
| Comment by Kentoku Shiba (Inactive) [ 2019-04-26 ] |
|
willhan |
| Comment by willhan [ 2019-04-29 ] |
|
int spider_mysql_handler::init() sql.set_charset(share->access_charset); In our environment, we add this charset init for "dup_update_sql". |
| Comment by Kentoku Shiba (Inactive) [ 2019-04-29 ] |
|
willhan |
| Comment by willhan [ 2019-04-30 ] |
|
It's ok |
| Comment by Kentoku Shiba (Inactive) [ 2019-04-30 ] |
|
Merged and pushed |
| Comment by willhan [ 2019-05-07 ] |
|
good |