mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
BUG#12707948 : mysql_plugin cannot run on Windows
Patch fixes an issue with reading basedir on Windows. It fixes how the code interprets opt_basedir on Windows by adding the correct path separators and quotes for paths with spaces. BUG#12664302 : mysql_plugin cannot recognize the plugin config file Patch fixes an issue with reading a plugin config file. It adds more information to the error messages to ensure the user is using the options correctly. Also deals with paths with spacs on Windows.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#
|
||||
# Plugin initialization file. Format using comma-separated values:
|
||||
# name, libname, symbol, [symbol, ]
|
||||
# Note: trailing comma is required.
|
||||
#
|
||||
# File is used by mysql_plugin.test for testing missing library error.
|
||||
#
|
||||
daemon_example, libdaemon_example, daemon_example,
|
||||
@@ -1,8 +1,8 @@
|
||||
#
|
||||
# Plugin initialization file. Format using comma-separated values:
|
||||
# name, libname, symbol, [symbol, ]
|
||||
# Note: trailing comma is required.
|
||||
# Plugin configuration file. Place the following on a separate line:
|
||||
#
|
||||
# File is used by mysql_plugin.test for testing bad library name.
|
||||
# library binary file name (without .so or .dll)
|
||||
# component_name
|
||||
# [component_name] - additional components in plugin
|
||||
#
|
||||
daemon_BADNAME, libdaemon_example, daemon_example,
|
||||
libdaemon_example
|
||||
|
||||
9
mysql-test/include/daemon_example_bad_soname.ini
Normal file
9
mysql-test/include/daemon_example_bad_soname.ini
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Plugin configuration file. Place the following on a separate line:
|
||||
#
|
||||
# library binary file name (without .so or .dll)
|
||||
# component_name
|
||||
# [component_name] - additional components in plugin
|
||||
#
|
||||
libdaemon_BADNAME
|
||||
daemon_BADNAME
|
||||
Reference in New Issue
Block a user