mariadb/mysql-test/suite/federated
Yuchen Pei d2eba35653
MDEV-34716 Allow arbitrary options in CREATE SERVER
The existing syntax for CREATE SERVER

CREATE [OR REPLACE] SERVER [IF NOT EXISTS] server_name
    FOREIGN DATA WRAPPER wrapper_name
    OPTIONS (option [, option] ...)

option:
  { HOST character-literal
  | DATABASE character-literal
  | USER character-literal
  | PASSWORD character-literal
  | SOCKET character-literal
  | OWNER character-literal
  | PORT numeric-literal }

With this change we have:

option:
  { HOST character-literal
  | DATABASE character-literal
  | USER character-literal
  | PASSWORD character-literal
  | SOCKET character-literal
  | OWNER character-literal
  | PORT numeric-literal
  | PORT quoted-numerical-literal
  | identifier character-literal}

We store these options as a JSON field in the mysql.servers system
table. We retain the restriction that PORT needs to be a number, but
also allow it to be a quoted number, so that SHOW CREATE SERVER can be
used for dumping. Without an accompanied implementation of SHOW CREATE
SERVER, some mysqldump tests will fail. Therefore this commit should
be immediately followed by the one implementating SHOW CREATE SERVER,
with testing covering both.
2024-10-15 10:50:22 +11:00
..
include
assisted_discovery.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
assisted_discovery.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
combinations
disabled.def
error_on_close-8313.result
error_on_close-8313.test
error_row_number.result MDEV-26654 ROW_NUMBER is wrong upon INSERT into Federated table 2021-10-26 17:29:40 +02:00
error_row_number.test MDEV-26654 ROW_NUMBER is wrong upon INSERT into Federated table 2021-10-26 17:29:40 +02:00
federated.result
federated.test
federated_archive.result
federated_archive.test
federated_bug_13118.result
federated_bug_13118.test
federated_bug_25714.result MDEV-31857 enable --ssl-verify-server-cert by default 2024-02-04 22:19:15 +01:00
federated_bug_25714.test MDEV-31857 enable --ssl-verify-server-cert by default 2024-02-04 22:19:15 +01:00
federated_bug_32426.result
federated_bug_32426.test
federated_bug_35333.result
federated_bug_35333.test
federated_bug_585688.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
federated_bug_585688.test
federated_debug-master.opt
federated_debug.result
federated_debug.test
federated_innodb.result
federated_innodb.test
federated_maybe_16324629.result
federated_maybe_16324629.test
federated_partition-slave.opt
federated_partition.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
federated_partition.test Merge 10.2 into 10.3 2021-08-18 12:26:58 +03:00
federated_server.result MDEV-34716 Allow arbitrary options in CREATE SERVER 2024-10-15 10:50:22 +11:00
federated_server.test MDEV-29668 SUPER should not allow actions that have fine-grained dedicated privileges 2023-02-06 14:31:48 +01:00
federated_transactions.result
federated_transactions.test
federated_type_inet6.result
federated_type_inet6.test
federatedx.result Merge branch 'bb-11.5-release' into bb-11.6-release 2024-08-06 17:28:38 +02:00
federatedx.test Do a proper cleanup in testcase for MDEV-30569 2023-02-15 13:33:59 +03:00
federatedx_create_handlers.result Merge branch 'bb-11.5-release' into bb-11.6-release 2024-08-06 17:28:38 +02:00
federatedx_create_handlers.test Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
federatedx_versioning.result MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
federatedx_versioning.test MDEV-28632 Change default of explicit_defaults_for_timestamp to ON 2022-08-10 15:03:22 +02:00
have_federatedx.inc
have_federatedx.opt
indexes.result MDEV-27398 DESC index causes wrong (empty) result on Federated tables 2022-01-26 18:43:06 +01:00
indexes.test MDEV-27398 DESC index causes wrong (empty) result on Federated tables 2022-01-26 18:43:06 +01:00
my.cnf test.cnf files should !include default_my.cnf 2024-02-03 11:22:20 +01:00
net_thd_crash-12725.result
net_thd_crash-12725.test
net_thd_crash-12951.result
net_thd_crash-12951.test
optimizer.result MDEV-14907 FEDERATEDX doesn't respect DISTINCT 2022-01-05 16:52:39 +02:00
optimizer.test MDEV-14907 FEDERATEDX doesn't respect DISTINCT 2022-01-05 16:52:39 +02:00
rpl.result test cases for MySQL bugs 2022-01-21 16:02:34 +01:00
rpl.test federated.rpl failed if federatedx was not compiled 2022-03-01 11:36:39 +02:00
suite.pm
timestamps.result
timestamps.test
update.result MDEV-32984 Update federated table and column privileges 2024-01-10 10:16:20 +01:00
update.test MDEV-32984 Update federated table and column privileges 2024-01-10 10:16:20 +01:00