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
68e369e3
Commit
68e369e3
authored
May 24, 2024
by
Nikita Malyavin
Committed by
Oleksandr Byelkin
Aug 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sys_var_plugin: use const for default plugin name
parent
4a819f52
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
sql/mysqld.cc
sql/mysqld.cc
+4
-3
sql/mysqld.h
sql/mysqld.h
+2
-2
sql/sys_vars.inl
sql/sys_vars.inl
+1
-1
No files found.
sql/mysqld.cc
View file @
68e369e3
...
...
@@ -348,8 +348,8 @@ static char *lc_messages;
static
char
*
lc_time_names_name
;
char
*
my_bind_addr_str
;
static
char
*
default_collation_name
;
char
*
default_storage_engine
,
*
default_tmp_storage_engine
;
char
*
enforced_storage_engine
=
NULL
;
c
onst
c
har
*
default_storage_engine
,
*
default_tmp_storage_engine
;
c
onst
c
har
*
enforced_storage_engine
=
NULL
;
char
*
gtid_pos_auto_engines
;
plugin_ref
*
opt_gtid_pos_auto_plugins
;
static
char
compiled_default_collation_name
[]
=
MYSQL_DEFAULT_COLLATION_NAME
;
...
...
@@ -4854,7 +4854,8 @@ static void add_file_to_crash_report(char *file)
init_default_storage_engine_impl(#X, X, &global_system_variables.Y)
static
int
init_default_storage_engine_impl
(
const
char
*
opt_name
,
char
*
engine_name
,
plugin_ref
*
res
)
const
char
*
engine_name
,
plugin_ref
*
res
)
{
if
(
!
engine_name
)
{
...
...
sql/mysqld.h
View file @
68e369e3
...
...
@@ -146,8 +146,8 @@ extern ulong opt_replicate_events_marked_for_skip;
extern
char
*
default_tz_name
;
extern
Time_zone
*
default_tz
;
extern
char
*
my_bind_addr_str
;
extern
char
*
default_storage_engine
,
*
default_tmp_storage_engine
;
extern
char
*
enforced_storage_engine
;
extern
c
onst
c
har
*
default_storage_engine
,
*
default_tmp_storage_engine
;
extern
c
onst
c
har
*
enforced_storage_engine
;
extern
char
*
gtid_pos_auto_engines
;
extern
plugin_ref
*
opt_gtid_pos_auto_plugins
;
extern
bool
opt_endinfo
,
using_udf_functions
;
...
...
sql/sys_vars.inl
View file @
68e369e3
...
...
@@ -1640,7 +1640,7 @@ class Sys_var_plugin: public sys_var
Sys_var_plugin(const char *name_arg,
const char *comment, int flag_args, ptrdiff_t off, size_t size,
CMD_LINE getopt,
int plugin_type_arg, char **def_val, PolyLock *lock=0,
int plugin_type_arg, c
onst c
har **def_val, PolyLock *lock=0,
enum binlog_status_enum binlog_status_arg=VARIABLE_NOT_IN_BINLOG,
on_check_function on_check_func=0,
on_update_function on_update_func=0,
...
...
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