mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Various fixes (cleanups, valgrind, makefiles, ...)
This commit is contained in:
@ -56,6 +56,7 @@ int Instance::start()
|
||||
switch (pid= fork()) {
|
||||
case 0:
|
||||
execv(options.mysqld_path, options.argv);
|
||||
/* exec never returns */
|
||||
exit(1);
|
||||
case -1:
|
||||
return ER_CANNOT_START_INSTANCE;
|
||||
@ -69,12 +70,6 @@ int Instance::start()
|
||||
}
|
||||
|
||||
|
||||
int Instance::cleanup()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Instance::~Instance()
|
||||
{
|
||||
pthread_mutex_destroy(&LOCK_instance);
|
||||
|
Reference in New Issue
Block a user