[MDEV-5890] CONNECT and CHAR(0) Created: 2014-03-17 Updated: 2014-03-19 Resolved: 2014-03-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.9 |
| Fix Version/s: | 10.0.11 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Federico Razzoli | Assignee: | Olivier Bertrand |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | connect-engine | ||
| Description |
|
Should CONNECT support CHAR(0)? I tried with a CONNECT csv table and it doesn't work. However, with CSV engine it works. CONNECT:
(if it isn't supported, in my opinion, a more correct error is expected on CREATE TABLE) CSV:
|
| Comments |
| Comment by Olivier Bertrand [ 2014-03-19 ] |
|
I chose to reject a 0 length char column in CREATE TABLE. Is that the best? Personally I don't see the usefulness of such a column but you may think differently. Let me know. |
| Comment by Federico Razzoli [ 2014-03-19 ] |
|
Other engines allow this, but probably it would be useless for CONNECT (particularly if TABLE_TYPE does not allow NULLs). I just suggest that a proper error is shown |