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
256994ef
Commit
256994ef
authored
Jan 31, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21586: Fix a warning for converting my_bool to bool
parent
2daf3b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/derror.cc
sql/derror.cc
+4
-3
No files found.
sql/derror.cc
View file @
256994ef
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
Copyright (C) 2011
Monty Program Ab
Copyright (C) 2011
, 2020, MariaDB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -84,8 +84,9 @@ bool init_errmessage(void)
if
(
!
use_english
)
{
/* Read messages from file. */
error
=
use_english
=
read_texts
(
ERRMSG_FILE
,
lang
,
&
original_error_messages
);
if
(
error
)
use_english
=
read_texts
(
ERRMSG_FILE
,
lang
,
&
original_error_messages
);
error
=
use_english
!=
FALSE
;
if
(
error
)
sql_print_error
(
"Could not load error messages for %s"
,
lang
);
}
...
...
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