mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
eec66e2f65
mysql-test/r/servers.result: Added test case for MDEV-4594. mysql-test/t/servers.test: Added test case for MDEV-4594. sql/mysqld.cc: Move servers_init() call to init_server_components(), so it is called for embedded as well. Call servers_free() even if NO_EMBEDDED_ACCESS_CHECKS defined (because we call servers_init() anyway).
8 lines
242 B
Text
8 lines
242 B
Text
# Generic tests for servers (do not require FEDERATED)
|
|
|
|
--echo #
|
|
--echo # MDEV-4594 - CREATE SERVER crashes embedded
|
|
--echo #
|
|
CREATE SERVER s1 FOREIGN DATA WRAPPER mysql OPTIONS(HOST 'localhost');
|
|
SELECT * FROM mysql.servers;
|
|
DROP SERVER s1;
|