Commit 256994ef authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-21586: Fix a warning for converting my_bool to bool

parent 2daf3b14
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. /* 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 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 it under the terms of the GNU General Public License as published by
...@@ -84,8 +84,9 @@ bool init_errmessage(void) ...@@ -84,8 +84,9 @@ bool init_errmessage(void)
if (!use_english) if (!use_english)
{ {
/* Read messages from file. */ /* Read messages from file. */
error= use_english= read_texts(ERRMSG_FILE,lang, &original_error_messages); use_english= read_texts(ERRMSG_FILE,lang, &original_error_messages);
if(error) error= use_english != FALSE;
if (error)
sql_print_error("Could not load error messages for %s",lang); sql_print_error("Could not load error messages for %s",lang);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment