mirror of
https://github.com/MariaDB/server.git
synced 2025-05-29 21:42:28 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
This commit is contained in:
commit
22d20f89e5
@ -181,7 +181,7 @@ extern void my_large_free(gptr ptr, myf my_flags);
|
|||||||
#endif /* _AIX */
|
#endif /* _AIX */
|
||||||
#if defined(__MWERKS__)
|
#if defined(__MWERKS__)
|
||||||
#undef alloca
|
#undef alloca
|
||||||
#define alloca __alloca
|
#define alloca _alloca
|
||||||
#endif /* __MWERKS__ */
|
#endif /* __MWERKS__ */
|
||||||
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
|
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
|
||||||
#define alloca __builtin_alloca
|
#define alloca __builtin_alloca
|
||||||
@ -836,7 +836,10 @@ my_bool my_gethwaddr(uchar *to);
|
|||||||
#define MAP_NOSYNC 0x0800
|
#define MAP_NOSYNC 0x0800
|
||||||
#define MAP_FAILED ((void *)-1)
|
#define MAP_FAILED ((void *)-1)
|
||||||
#define MS_SYNC 0x0000
|
#define MS_SYNC 0x0000
|
||||||
|
|
||||||
|
#ifndef __NETWARE__
|
||||||
#define HAVE_MMAP
|
#define HAVE_MMAP
|
||||||
|
#endif
|
||||||
|
|
||||||
int my_getpagesize(void);
|
int my_getpagesize(void);
|
||||||
void *my_mmap(void *, size_t, int, int, int, my_off_t);
|
void *my_mmap(void *, size_t, int, int, int, my_off_t);
|
||||||
|
@ -1162,6 +1162,8 @@ void setup(char *file)
|
|||||||
setenv("MYSQL_TCP_PORT", "3306", 1);
|
setenv("MYSQL_TCP_PORT", "3306", 1);
|
||||||
snprintf(file_path, PATH_MAX*2, "%s/mysql_client_test --no-defaults --testcase--user=root --port=%u ", bin_dir, master_port);
|
snprintf(file_path, PATH_MAX*2, "%s/mysql_client_test --no-defaults --testcase--user=root --port=%u ", bin_dir, master_port);
|
||||||
setenv("MYSQL_CLIENT_TEST",file_path,1);
|
setenv("MYSQL_CLIENT_TEST",file_path,1);
|
||||||
|
snprintf(file_path, PATH_MAX*2, "%s/mysql --no-defaults --user=root --port=%u ", bin_dir, master_port);
|
||||||
|
setenv("MYSQL",file_path,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user