Details
Description
SHOW CREATE SERVER prints the wrapper name without quoting, producing invalid SQL when the name contains special characters.
create server srv foreign data wrapper `test-wrapper` options (host 'localhost');
|
show create server srv;
|
Server Create Server
|
srv CREATE SERVER `srv` FOREIGN DATA WRAPPER test-wrapper OPTIONS (host 'localhost');
|
drop server srv;
|
CREATE SERVER `srv` FOREIGN DATA WRAPPER test-wrapper OPTIONS (host 'localhost');
|
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-wrapper OPTIONS (host 'localhost')' at line 1
|
Attachments
Issue Links
- relates to
-
MDEV-36100 Generate vector embeddings automatically on INSERT
-
- Stalled
-