diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-05-28 19:53:26 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-05-28 19:53:26 -0300 |
commit | a1b8e4dc7e3c366a3c6db50cc0a7b4f2f6a1e589 (patch) | |
tree | bc66ac79524a3e244caaaa32cf4aa7d20e485018 /mysys/my_static.c | |
parent | 1164841167ce62d213fd0084aad376be8fcc371b (diff) | |
download | mariadb-git-a1b8e4dc7e3c366a3c6db50cc0a7b4f2f6a1e589.tar.gz |
Backport: remove dead code.
Reorganize function to reflect that it does not actually uses curses
and that there is no curses variant.
Diffstat (limited to 'mysys/my_static.c')
-rw-r--r-- | mysys/my_static.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mysys/my_static.c b/mysys/my_static.c index a86fe6c7ab7..ff5abba29d3 100644 --- a/mysys/my_static.c +++ b/mysys/my_static.c @@ -87,10 +87,10 @@ ulong my_time_to_wait_for_lock=2; /* In seconds */ char * NEAR globerrs[GLOBERRS]; /* my_error_messages is here */ #endif void (*my_abort_hook)(int) = (void(*)(int)) exit; -void (*error_handler_hook)(uint error,const char *str,myf MyFlags)= - my_message_no_curses; -void (*fatal_error_handler_hook)(uint error,const char *str,myf MyFlags)= - my_message_no_curses; +void (*error_handler_hook)(uint error, const char *str, myf MyFlags)= + my_message_stderr; +void (*fatal_error_handler_hook)(uint error, const char *str, myf MyFlags)= + my_message_stderr; static const char *proc_info_dummy(void *a __attribute__((unused)), const char *b __attribute__((unused)), @@ -123,7 +123,6 @@ my_bool NEAR my_disable_locking=0; my_bool NEAR my_disable_async_io=0; my_bool NEAR my_disable_flush_key_blocks=0; my_bool NEAR my_disable_symlinks=0; -my_bool NEAR mysys_uses_curses=0; /* Note that PSI_hook and PSI_server are unconditionally |