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
dcf675d2
Commit
dcf675d2
authored
Dec 05, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "sql_print_error" instead of "sql_print_warning" to get a better
error message in the logs before shutting down the server
parent
ea49384d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/mysqld.cc
sql/mysqld.cc
+4
-4
No files found.
sql/mysqld.cc
View file @
dcf675d2
...
...
@@ -3153,15 +3153,15 @@ with --log-bin instead.");
}
if
(
opt_log_slave_updates
&&
!
opt_bin_log
)
{
sql_print_
warning
(
"You need to use --log-bin to make "
"--log-slave-updates work."
);
sql_print_
error
(
"You need to use --log-bin to make "
"--log-slave-updates work."
);
unireg_abort
(
1
);
}
if
(
!
opt_bin_log
&&
(
global_system_variables
.
binlog_format
!=
BINLOG_FORMAT_UNSPEC
))
{
sql_print_
warning
(
"You need to use --log-bin to make "
"--binlog-format work."
);
sql_print_
error
(
"You need to use --log-bin to make "
"--binlog-format work."
);
unireg_abort
(
1
);
}
if
(
global_system_variables
.
binlog_format
==
BINLOG_FORMAT_UNSPEC
)
...
...
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