File tree Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Expand file tree Collapse file tree 4 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -259,8 +259,7 @@ extern myf my_global_flags; /* Set to MY_WME for more error messages
259
259
/* Point to current my_message() */
260
260
extern void (* my_sigtstp_cleanup )(void ),
261
261
/* Executed before jump to shell */
262
- (* my_sigtstp_restart )(void ),
263
- (* my_abort_hook )(int );
262
+ (* my_sigtstp_restart )(void );
264
263
/* Executed when comming from shell */
265
264
extern MYSQL_PLUGIN_IMPORT int my_umask ; /* Default creation mask */
266
265
extern int my_umask_dir ,
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ ulong my_time_to_wait_for_lock=2; /* In seconds */
72
72
#ifdef SHARED_LIBRARY
73
73
const char * globerrs [GLOBERRS ]; /* my_error_messages is here */
74
74
#endif
75
- void (* my_abort_hook )(int ) = (void (* )(int )) exit ;
76
75
void (* error_handler_hook )(uint error , const char * str , myf MyFlags )=
77
76
my_message_stderr ;
78
77
void (* fatal_error_handler_hook )(uint error , const char * str , myf MyFlags )=
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ static int daemon_example_plugin_init(void *p __attribute__ ((unused)))
129
129
(void *)con) != 0 )
130
130
{
131
131
fprintf (stderr," Could not create heartbeat thread!\n " );
132
- exit ( 0 );
132
+ DBUG_RETURN ( 1 );
133
133
}
134
134
plugin->data = (void *)con;
135
135
Original file line number Diff line number Diff line change @@ -42,9 +42,6 @@ void unireg_init(ulong options)
42
42
43
43
current_pid=(ulong) getpid (); /* Save for later ref */
44
44
my_init_time (); /* Init time-functions (read zone) */
45
- #ifndef EMBEDDED_LIBRARY
46
- my_abort_hook=unireg_abort; /* Abort with close of databases */
47
- #endif
48
45
49
46
(void ) strmov (reg_ext," .frm" );
50
47
reg_ext_length= 4 ;
You can’t perform that action at this time.
0 commit comments