[MDEV-14449] mysqldump error messages Created: 2017-11-20 Updated: 2017-12-25 Resolved: 2017-12-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Michal Schorm | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hello, – With following call:
You can see the: But that is basically nonsense, because the binary parsed an empty argument. Because DB name cannot be an empty string, it better should just skip the argument. – This issue appears, when user use scripts for work with the database and at some point a "" (empty string) can be left inside the command, which is later parsed incorrectly. The question is, whether you consider it as a faulty user script design or if you agree, that emtpy argument should be skipped. A little messy - but complete - discussion can be seen here: |
| Comments |
| Comment by Elena Stepanova [ 2017-11-20 ] | ||||||
|
It seems to be a rather standard behavior, like
None of the above ignores an empty argument, even though it's obviously wrong. As a user/writer of simple scripts, I agree that it does indeed cause minor difficulties in scripting, but at the end it's probably worth it. If I generate a command line and end up with an empty something, I'd rather know about it than miss something crucially important because it was generated wrongly. If you want a wider audience / participation, maybe sending the question to a mailing list would be more efficient. | ||||||
| Comment by Michal Schorm [ 2017-11-20 ] | ||||||
|
Ok. I agree with you it is standard behaviour and I came here to hear your opinion - which I can realate to too. – In that case, however, a different error message could help people recognize the issue. |