mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
d0b178fb45
This is done by splitting variables.errmsg and locale.errmsg to variables.errmsg_extra and locale.errmsg_extra The ER() macros in unireg.h now looks more complex than before, but this isn't critical as most usage of them are with constants and the compiler will remove most of the test code.
26 lines
1 KiB
C
26 lines
1 KiB
C
/* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
|
|
|
|
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
|
|
the Free Software Foundation; version 2 of the License.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
|
|
|
#ifndef DERROR_INCLUDED
|
|
#define DERROR_INCLUDED
|
|
|
|
#include "my_global.h" /* uint */
|
|
|
|
bool init_errmessage(void);
|
|
void free_error_messages();
|
|
bool read_texts(const char *file_name, const char *language,
|
|
const char ****data);
|
|
|
|
#endif /* DERROR_INCLUDED */
|