Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Fix Version/s: 10.1.2
-
Component/s: Storage Engine - Federated
-
Labels:
Description
All CREATE SERVER clauses are optional. Default values are:
- HOST: ''
- PORT: 0
- SOCKET: ''
To have a usable server, we must define:
(host AND port) OR socket
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?
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
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.