[MDEV-6311] Add errors on CREATE SERVER Created: 2014-06-06 Updated: 2014-12-04 Resolved: 2014-12-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Federated |
| Fix Version/s: | 10.1.2 |
| Type: | Task | Priority: | Major |
| Reporter: | Federico Razzoli | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | create_server, federatedx, spider | ||
| Description |
|
All CREATE SERVER clauses are optional. Default values are:
To have a usable server, we must define: No storage engine returns a clear error when trying to connect to an unusable server. And with SPIDER, bad things happen. Could MariaDB return an error/warning/note, when not enough data or too many data are provided? |
| Comments |
| Comment by Sergei Golubchik [ 2014-11-16 ] |
|
I'd expect that PORT can take a default value (3306 for "mysql" wrapper), so only HOST or SOCKET must be required. Unless there are reasonable defaults for them too, but I cannot imagine what could they be. |
| Comment by Sergei Golubchik [ 2014-11-16 ] |
|
I'll do it in 10.1, it breaks few tests in 10.0 and might break existing applications too |