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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
9f2214d8
Commit
9f2214d8
authored
Aug 02, 2006
by
petr/cps@owlet
Browse files
Options
Browse Files
Download
Plain Diff
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-runtime
into mysql.com:/home/cps/mysql/trees/mysql-5.1-virgin
parents
4bd7acec
809aacbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
sql/mysqld.cc
sql/mysqld.cc
+13
-0
No files found.
sql/mysqld.cc
View file @
9f2214d8
...
...
@@ -2770,6 +2770,19 @@ static int init_common_variables(const char *conf_file_name, int argc,
else
sys_init_slave
.
value
=
my_strdup
(
""
,
MYF
(
0
));
/* check log options and issue warnings if needed */
if
(
opt_log
&&
opt_logname
&&
!
(
log_output_options
&
LOG_FILE
)
&&
!
(
log_output_options
&
LOG_NONE
))
sql_print_warning
(
"Although a path was specified for the "
"--log option, log tables are used. "
"To enable logging to file use the --log-output option."
);
if
(
opt_slow_log
&&
opt_slow_logname
&&
!
(
log_output_options
&
LOG_FILE
)
&&
!
(
log_output_options
&
LOG_NONE
))
sql_print_warning
(
"Although a path was specified for the "
"--log-slow-queries option, log tables are used. "
"To enable logging to file use the --log-output option."
);
if
(
!
opt_logname
)
opt_logname
=
make_default_log_name
(
buff
,
".log"
);
sys_var_general_log_path
.
value
=
my_strdup
(
opt_logname
,
MYF
(
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