[MDEV-11885] load data give a prompt when charset error ? Created: 2017-01-23 Updated: 2017-05-27 Resolved: 2017-05-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | sysdljr | Assignee: | Alexander Barkov |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | need_feedback | ||
| Description |
|
Hi, example: in linux , load data import data:
in MariaDB 10.2.3 is same too.
|
| Comments |
| Comment by Alexander Barkov [ 2017-05-26 ] | |||||||
|
Did I understand you correctly that you prefer to stop with an error on broken data I tried this script in 10.2:
Notice, it stops reading and returns an error immediately on the first broken byte sequence. It works differently than in 10.1 because 10.2 has STRICT_ALL_TABLES enabled by default.
Alternatively, you can enable STRICT_ALL_TABLES permanently in my.cnf. Does the above solve the problem? | |||||||
| Comment by sysdljr [ 2017-05-26 ] | |||||||
|
Thank you very much, Your understanding is correct. | |||||||
| Comment by Alexander Barkov [ 2017-05-26 ] | |||||||
|
Thanks for confirming! Can we close the MDEV? | |||||||
| Comment by sysdljr [ 2017-05-27 ] | |||||||
|
ok, it can colsed. |