mariadb/mysql-test/suite/galera
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 Merge branch '10.6' into '10.11' 2024-09-02 03:49:03 +02:00
r MDEV-34716 Allow arbitrary options in CREATE SERVER 2024-10-15 10:50:22 +11:00
t Merge 11.4 into 11.6 2024-10-03 16:09:56 +03:00
disabled.def MDEV-34841 : Enable working Galera tests 2024-09-01 07:00:14 +02:00
galera_2nodes.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2nodes_as_master.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2nodes_as_slave.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2x2nodes.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_3nodes_as_slave.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_4nodes.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
my.cnf
suite.pm galera/suite.pm: perl warning 2024-04-13 16:28:13 +02:00