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
324e42fb
Commit
324e42fb
authored
Feb 12, 2020
by
Michael Widenius
Committed by
Monty
Mar 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give a better error message if we can't load mysql.plugin table
parent
44790f58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
sql/sql_plugin.cc
sql/sql_plugin.cc
+6
-4
No files found.
sql/sql_plugin.cc
View file @
324e42fb
...
@@ -1856,11 +1856,13 @@ static void plugin_load(MEM_ROOT *tmp_root)
...
@@ -1856,11 +1856,13 @@ static void plugin_load(MEM_ROOT *tmp_root)
{
{
DBUG_PRINT
(
"error"
,(
"Can't open plugin table"
));
DBUG_PRINT
(
"error"
,(
"Can't open plugin table"
));
if
(
!
opt_help
)
if
(
!
opt_help
)
sql_print_error
(
"Could not open mysql.plugin table. "
sql_print_error
(
"Could not open mysql.plugin table:
\"
%s
\"
. "
"Some plugins may be not loaded"
);
"Some plugins may be not loaded"
,
new_thd
->
get_stmt_da
()
->
message
());
else
else
sql_print_warning
(
"Could not open mysql.plugin table. "
sql_print_warning
(
"Could not open mysql.plugin table:
\"
%s
\"
. "
"Some options may be missing from the help text"
);
"Some options may be missing from the help text"
,
new_thd
->
get_stmt_da
()
->
message
());
goto
end
;
goto
end
;
}
}
...
...
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