MINI MINI MANI MO
install plugin mysqlx soname "mysqlx.so";
call mtr.add_suppression("Plugin mysqlx reported: .Failed at SSL configuration: .SSL context is not usable without certificate and private key..");
call mtr.add_suppression("Plugin mysqlx reported: .SSL_CTX_load_verify_locations failed.");
CREATE SCHEMA xtest DEFAULT CHARSET 'utf8mb4';
command ok
command ok
Got expected error (code 0)
1 rows affected
Got expected error (code 0)
1 rows affected
Got expected error (code 0)
1 rows affected
Got expected error (code 0)
Got expected error: Collection contains document missing required field (code 5117)
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
Got expected error: Document is missing a required field (code 5115)
command ok
Got expected error (code 0)
command ok
Got expected error (code 0)
Got expected error: Invalid value for argument 'member', expected path to document member (code 5017)
Got expected error: Argument value '' for index name is invalid (code 5017)
Got expected error: Invalid or unsupported type specification 'text(20);drop table' (code 5017)
Got expected error: Invalid or unsupported type specification 'varchar(20)' (code 5017)
Got expected error: Invalid JSON path expression. The error is around character position 15. (code 3143)
Got expected error: Invalid value for argument 'member', expected path to document member (code 5017)
Got expected error: Invalid value for argument 'member', expected path to document member (code 5017)
command ok
1 rows affected
Got expected error (code 0)
1 rows affected
Got expected error (code 0)
command ok
Table Create Table
books0 CREATE TABLE `books0` (
`doc` json DEFAULT NULL,
`_id` varchar(32) GENERATED ALWAYS AS (json_unquote(json_extract(`doc`,'$._id'))) STORED NOT NULL,
`$ix_t80_27B323C313AA758D7F01480F94271D0B13D88CE7` text GENERATED ALWAYS AS (json_unquote(json_extract(`doc`,'$.isbn'))) VIRTUAL,
`$ix_i_94F8A4D3704392CE73A5A69F07681271C98C8CB2` int(11) GENERATED ALWAYS AS (json_extract(`doc`,'$.pages')) VIRTUAL,
PRIMARY KEY (`_id`),
UNIQUE KEY `mix` (`$ix_t80_27B323C313AA758D7F01480F94271D0B13D88CE7`(80),`$ix_i_94F8A4D3704392CE73A5A69F07681271C98C8CB2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
DROP SCHEMA IF EXISTS xtest;
UNINSTALL PLUGIN mysqlx;
OHA YOOOO