mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#27167197 USING ? IN INSTALL PLUGIN QUERY ABORTS DEBUG, AND HANGS OPTIMIZED SERVER
check_valid_path() uses my_strcspn() that cannot handle invalid characters properly. This is fixed by a big refactoring in 10.2 (MDEV-6353). For 5.5, let's simply swap tests, because check_string_char_length() rejects invalid characters just fine.
This commit is contained in:
@ -224,9 +224,18 @@ select plugin_name from information_schema.plugins where plugin_library like 'ha
|
||||
uninstall soname 'ha_example';
|
||||
select plugin_name from information_schema.plugins where plugin_library like 'ha_example%';
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
set names utf8;
|
||||
select convert('admin𝌆' using utf8);
|
||||
--error ER_UDF_NO_PATHS
|
||||
install plugin foo soname 'admin𝌆';
|
||||
|
||||
#
|
||||
# Bug#27302459: EMPTY VALUE IN MYSQL.PLUGIN TABLE CAUSES SERVER TO EXIT ON STARTUP
|
||||
#
|
||||
insert mysql.plugin values ();
|
||||
source include/restart_mysqld.inc;
|
||||
delete from mysql.plugin where name = '';
|
||||
|
||||
|
Reference in New Issue
Block a user