Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
365f199d
Commit
365f199d
authored
Sep 12, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the plugin suite to pass
parent
1fc49d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
35 deletions
+6
-35
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-34
mysql-test/suite/plugins/r/show_all_plugins.result
mysql-test/suite/plugins/r/show_all_plugins.result
+1
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
365f199d
...
...
@@ -2144,35 +2144,6 @@ sub have_maria_support () {
return
defined
$maria_var
;
}
#
# Set environment to be used by childs of this process for
# things that are constant during the whole lifetime of mysql-test-run
#
sub
find_plugin
($$)
{
my
(
$plugin
,
$location
)
=
@_
;
my
$plugin_filename
;
if
(
IS_WINDOWS
)
{
$plugin_filename
=
$plugin
.
"
.dll
";
}
else
{
$plugin_filename
=
$plugin
.
"
.so
";
}
my
$lib_plugin
=
mtr_file_exists
(
vs_config_dirs
(
$location
,
$plugin_filename
),
"
$basedir
/lib/plugin/
"
.
$plugin_filename
,
"
$basedir
/lib64/plugin/
"
.
$plugin_filename
,
"
$basedir
/
$location
/.libs/
"
.
$plugin_filename
,
"
$basedir
/lib/mysql/plugin/
"
.
$plugin_filename
,
"
$basedir
/lib64/mysql/plugin/
"
.
$plugin_filename
,
);
return
$lib_plugin
;
}
sub
environment_setup
{
...
...
@@ -2594,6 +2565,7 @@ sub setup_vardir() {
{
for
(
<
$bindir
/storage/
*
$opt_vs_config
/*.
dll
>
,
<
$bindir
/plugin/
*
$opt_vs_config
/*.
dll
>
,
<
$bindir
/libmariadb/plugins/*$opt_vs_config/
*.
dll
>
,
<
$bindir
/sql$opt_vs_config/
*.
dll
>
)
{
my
$pname
=
basename
(
$_
);
...
...
@@ -2611,12 +2583,9 @@ sub setup_vardir() {
unlink
"
$plugindir
/symlink_test
";
}
for
(
<..
/storage/
*
/.libs/
*.
so
>
,
<..
/plugin/
*
/.libs/
*.
so
>
,
<..
/plugin/
*
/*/
.
libs
/*.
so
>
,
<..
/sql/
.
libs
/*.
so
>
,
<
$bindir
/storage/
*/*.
so
>
,
for
(
<
$bindir
/storage/
*/*.
so
>
,
<
$bindir
/plugin/
*/*.
so
>
,
<
$bindir
/libmariadb/plugins/*/
*.
so
>
,
<
$bindir
/sql/
*.
so
>
)
{
my
$pname
=
basename
(
$_
);
...
...
@@ -2638,6 +2607,8 @@ sub setup_vardir() {
# hm, what paths work for debs and for rpms ?
for
(
<
$bindir
/lib64/m
ysql
/plugin/
*.
so
>
,
<
$bindir
/lib/m
ysql
/plugin/
*.
so
>
,
<
$bindir
/lib64/ma
riadb
/plugin/
*.
so
>
,
<
$bindir
/lib/ma
riadb
/plugin/
*.
so
>
,
<
$bindir
/lib/plugin
/*.
so
>
,
# bintar
<
$bindir
/lib/plugin
/*.
dll
>
)
{
...
...
mysql-test/suite/plugins/r/show_all_plugins.result
View file @
365f199d
...
...
@@ -26,7 +26,7 @@ three_attempts NOT INSTALLED AUTHENTICATION dialog_examples.so GPL
two_questions NOT INSTALLED AUTHENTICATION dialog_examples.so GPL
show status like '%libraries%';
Variable_name Value
Opened_plugin_libraries
7
Opened_plugin_libraries
8
show plugins soname where library = 'ha_example.so';
Name Status Type Library License
EXAMPLE NOT INSTALLED STORAGE ENGINE ha_example.so GPL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment