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
91e92d73
Commit
91e92d73
authored
Jan 19, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Auto-merge from mysql-next-mr-bugfixing.
parents
d01746b5
53f72bf3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
sql/mysqld.cc
sql/mysqld.cc
+14
-1
No files found.
sql/mysqld.cc
View file @
91e92d73
...
@@ -3337,6 +3337,16 @@ static int init_common_variables()
...
@@ -3337,6 +3337,16 @@ static int init_common_variables()
strmake
(
pidfile_name
,
default_logfile_name
,
sizeof
(
pidfile_name
)
-
5
);
strmake
(
pidfile_name
,
default_logfile_name
,
sizeof
(
pidfile_name
)
-
5
);
strmov
(
fn_ext
(
pidfile_name
),
".pid"
);
// Add proper extension
strmov
(
fn_ext
(
pidfile_name
),
".pid"
);
// Add proper extension
/*
The default-storage-engine entry in my_long_options should have a
non-null default value. It was earlier intialized as
(longlong)"MyISAM" in my_long_options but this triggered a
compiler error in the Sun Studio 12 compiler. As a work-around we
set the def_value member to 0 in my_long_options and initialize it
to the correct value here.
*/
default_storage_engine
=
"MyISAM"
;
/*
/*
Add server status variables to the dynamic list of
Add server status variables to the dynamic list of
status variables that is shown by SHOW STATUS.
status variables that is shown by SHOW STATUS.
...
@@ -5954,9 +5964,12 @@ struct my_option my_long_options[]=
...
@@ -5954,9 +5964,12 @@ struct my_option my_long_options[]=
{
"default-collation"
,
0
,
"Set the default collation (deprecated option, use --collation-server instead)."
,
{
"default-collation"
,
0
,
"Set the default collation (deprecated option, use --collation-server instead)."
,
(
uchar
**
)
&
default_collation_name
,
(
uchar
**
)
&
default_collation_name
,
(
uchar
**
)
&
default_collation_name
,
(
uchar
**
)
&
default_collation_name
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
/* default-storage-engine should have "MyISAM" as def_value. Instead
of initializing it here it is done in init_common_variables() due
to a compiler bug in Sun Studio compiler. */
{
"default-storage-engine"
,
0
,
"The default storage engine for new tables"
,
{
"default-storage-engine"
,
0
,
"The default storage engine for new tables"
,
(
uchar
**
)
&
default_storage_engine
,
0
,
0
,
GET_STR
,
REQUIRED_ARG
,
(
uchar
**
)
&
default_storage_engine
,
0
,
0
,
GET_STR
,
REQUIRED_ARG
,
(
longlong
)
"MyISAM"
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
{
"default-time-zone"
,
0
,
"Set the default time zone."
,
{
"default-time-zone"
,
0
,
"Set the default time zone."
,
(
uchar
**
)
&
default_tz_name
,
(
uchar
**
)
&
default_tz_name
,
(
uchar
**
)
&
default_tz_name
,
(
uchar
**
)
&
default_tz_name
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
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