1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

move safemalloc out of dbug.

remeber a real backtrace for every allocation.
make safemalloc to tract C++ new/delete too.
collateral fixes to make the test suite pass.
This commit is contained in:
Sergei Golubchik
2011-12-12 22:58:24 +01:00
parent 37c81d81b3
commit 6cc9d0ffa0
28 changed files with 455 additions and 455 deletions

View File

@ -1786,11 +1786,13 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break;
case 'V':
usage(1);
exit(0);
status.exit_status= 0;
mysql_end(-1);
case 'I':
case '?':
usage(0);
exit(0);
status.exit_status= 0;
mysql_end(-1);
}
return 0;
}