[MDEV-16471] mysqldump throws "Variable 'sql_mode' can't be set to the value of 'NULL' (1231)" Created: 2018-06-12 Updated: 2018-06-21 Resolved: 2018-06-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.3.7 |
| Fix Version/s: | 10.3.8 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | DP (Inactive) | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Environment: |
CentOS Linux release 7.3.1611 (3.10.0-514.26.2.el7.x86_64) |
||
| Issue Links: |
|
||||||||
| Description |
|
After upgrading to MariaDB 10.3.7 am not able to take backup using mysqldump; Steps to reproduce:
|
| Comments |
| Comment by Alice Sherepa [ 2018-06-12 ] | |||
|
Reproduced on MariaDB 10.3 with SET global sql_mode='ORACLE,EMPTY_STRING_IS_NULL'; | |||
| Comment by DP (Inactive) [ 2018-06-12 ] | |||
|
Yes, we have EMPTY_STRING_IS_NULL sql_mode enabled. | |||
| Comment by Alexander Barkov [ 2018-06-21 ] | |||
|
A simple SQL script demonstrating the problem:
|