1
0
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:
petr@mysql.com
2005-02-03 20:48:58 +03:00
parent 84d5b3a332
commit 63acf2a8be
18 changed files with 85 additions and 60 deletions

View File

@ -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);