mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge bk-internal:/home/bk/mysql-5.1-opt
into dl145s.mysql.com:/dev/shm/mhansson/my51-bug27741-mpush mysql-test/mysql-test-run.pl: Auto merged
This commit is contained in:
commit
b39fb7bccc
2 changed files with 13 additions and 1 deletions
|
@ -1796,6 +1796,17 @@ sub environment_setup () {
|
|||
split(':', $ENV{'DYLD_LIBRARY_PATH'}) : ());
|
||||
mtr_debug("DYLD_LIBRARY_PATH: $ENV{'DYLD_LIBRARY_PATH'}");
|
||||
|
||||
# The environment variable used for shared libs on AIX
|
||||
$ENV{'SHLIB_PATH'}= join(":", @ld_library_paths,
|
||||
$ENV{'SHLIB_PATH'} ?
|
||||
split(':', $ENV{'SHLIB_PATH'}) : ());
|
||||
mtr_debug("SHLIB_PATH: $ENV{'SHLIB_PATH'}");
|
||||
|
||||
# The environment variable used for shared libs on hp-ux
|
||||
$ENV{'LIBPATH'}= join(":", @ld_library_paths,
|
||||
$ENV{'LIBPATH'} ?
|
||||
split(':', $ENV{'LIBPATH'}) : ());
|
||||
mtr_debug("LIBPATH: $ENV{'LIBPATH'}");
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Also command lines in .opt files may contain env vars
|
||||
|
|
|
@ -130,7 +130,8 @@ typedef long long longlong;
|
|||
#include <m_string.h> /* To get strmov() */
|
||||
#else
|
||||
/* when compiled as standalone */
|
||||
#define strmov(a,b) strcpy(a,b)
|
||||
#include <string.h>
|
||||
#define strmov(a,b) stpcpy(a,b)
|
||||
#define bzero(a,b) memset(a,0,b)
|
||||
#define memcpy_fixed(a,b,c) memcpy(a,b,c)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue