mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixes Bug#30127: --debug-info no longer prints memory usage in mysql
Fixed compiler warnings, errors and link errors Fixed new bug on Solaris with gethrtime() Added --debug-check option to all mysql clients to print errors and memory leaks Added --debug-info to all clients. This now works as --debug-check but also prints memory and cpu usage
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_global.h>
|
||||
#include <my_sys.h>
|
||||
#include <base64.h>
|
||||
#include <tap.h>
|
||||
#include <string.h>
|
||||
@@ -26,6 +27,7 @@ main(void)
|
||||
{
|
||||
int i, cmp;
|
||||
size_t j, k, l, dst_len, needed_length;
|
||||
MY_INIT("base64-t");
|
||||
|
||||
plan(BASE64_LOOP_COUNT * BASE64_ROWS);
|
||||
|
||||
|
||||
@@ -18,12 +18,11 @@
|
||||
library.
|
||||
*/
|
||||
|
||||
#include <tap.h>
|
||||
|
||||
#include <my_global.h>
|
||||
#include <my_sys.h>
|
||||
#include <my_bitmap.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <tap.h>
|
||||
#include <m_string.h>
|
||||
|
||||
uint get_rand_bit(uint bitsize)
|
||||
{
|
||||
@@ -379,6 +378,8 @@ int main()
|
||||
int i;
|
||||
int const min_size = 1;
|
||||
int const max_size = 1024;
|
||||
MY_INIT("bitmap-t");
|
||||
|
||||
plan(max_size - min_size);
|
||||
for (i= min_size; i < max_size; i++)
|
||||
ok(do_test(i) == 0, "bitmap size %d", i);
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
||||
|
||||
#include <my_global.h>
|
||||
#include <tap.h>
|
||||
#include <my_sys.h>
|
||||
#include <my_atomic.h>
|
||||
#include <tap.h>
|
||||
|
||||
int32 a32,b32,c32;
|
||||
my_atomic_rwlock_t rwl;
|
||||
@@ -160,6 +160,7 @@ err:
|
||||
int main()
|
||||
{
|
||||
int err;
|
||||
MY_INIT("my_atomic-t.c");
|
||||
|
||||
diag("N CPUs: %d", my_getncpus());
|
||||
err= my_atomic_initialize();
|
||||
|
||||
Reference in New Issue
Block a user