mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Added pathes to mysqld_error.h and sql_state.h; fixed segfault bug;
BitKeeper/etc/ignore: added extra/created_include_files extra/Makefile.am: Make sure that mysqld_error.h and sql_state.h are not build in the same time. extra/comp_err.c: Fixed segfault bug libmysqld/Makefile.am: Added path to mysqld_error.h and sql_state.h libmysqld/examples/Makefile.am: Added path to mysqld_error.h and sql_state.h scripts/make_win_src_distribution.sh: Windows version fix
This commit is contained in:
@@ -156,10 +156,8 @@ int main(int argc, char *argv[])
|
||||
uint row_count;
|
||||
struct errors *error_head;
|
||||
struct languages *lang_head;
|
||||
|
||||
DBUG_ENTER("main");
|
||||
LINT_INIT(error_head);
|
||||
LINT_INIT(lang_head);
|
||||
|
||||
charsets_dir= DEFAULT_CHARSET_DIR;
|
||||
if (get_options(&argc, &argv))
|
||||
DBUG_RETURN(1);
|
||||
@@ -751,13 +749,10 @@ static struct errors *parse_error_string(char *str, int er_count)
|
||||
|
||||
static struct languages *parse_charset_string(char *str)
|
||||
{
|
||||
struct languages *head, *new_lang;
|
||||
|
||||
struct languages *head=0, *new_lang;
|
||||
DBUG_ENTER("parse_charset_string");
|
||||
DBUG_PRINT("enter", ("str: %s", str));
|
||||
|
||||
LINT_INIT(head);
|
||||
|
||||
/* skip over keyword */
|
||||
str= find_end_of_word(str);
|
||||
if (!*str)
|
||||
|
Reference in New Issue
Block a user