1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-25229 SON_TABLE: Server crashes in hton_name upon MATCH .. AGAINST.

No plugin for the JSON_TABLE so get the storage type name directly.
This commit is contained in:
Alexey Botchkov
2021-03-24 23:37:05 +04:00
parent 6a5f86bf59
commit 3edc4a0998
4 changed files with 17 additions and 1 deletions

View File

@@ -554,5 +554,10 @@ View Create View character_set_client collation_connection
v CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v` AS select `jt`.`o` AS `o` from JSON_TABLE('{}', '$' COLUMNS (NESTED PATH '$.*' COLUMNS (NESTED PATH '$.*' COLUMNS (`o` FOR ORDINALITY)))) `jt` latin1 latin1_swedish_ci
DROP VIEW v;
#
# MDEV-25229 JSON_TABLE: Server crashes in hton_name upon MATCH .. AGAINST.
#
SELECT val, MATCH(val) AGAINST( 'MariaDB') FROM JSON_TABLE('{"db":"xx"}', '$' COLUMNS(val VARCHAR(32) PATH '$**.*')) AS jt;
ERROR HY000: The storage engine JSON_TABLE function doesn't support FULLTEXT indexes
#
# End of 10.6 tests
#