mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge 5.1-release branch into MariaDB trunk.
This commit is contained in:
@ -70,6 +70,11 @@ struct event_base {
|
|||||||
|
|
||||||
/* Internal use only: Functions that might be missing from <sys/queue.h> */
|
/* Internal use only: Functions that might be missing from <sys/queue.h> */
|
||||||
#ifndef HAVE_TAILQFOREACH
|
#ifndef HAVE_TAILQFOREACH
|
||||||
|
/* These following macros are copied from BSD sys/queue.h
|
||||||
|
Copyright (c) 1991, 1993, The Regents of the University of California.
|
||||||
|
All rights reserved.
|
||||||
|
*/
|
||||||
|
#define TAILQ_EMPTY(head) ((head)->tqh_first == NULL)
|
||||||
#define TAILQ_FIRST(head) ((head)->tqh_first)
|
#define TAILQ_FIRST(head) ((head)->tqh_first)
|
||||||
#define TAILQ_END(head) NULL
|
#define TAILQ_END(head) NULL
|
||||||
#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
|
#define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
|
||||||
|
@ -249,6 +249,10 @@ sub collect_one_suite($)
|
|||||||
$suitedir= my_find_dir($::basedir,
|
$suitedir= my_find_dir($::basedir,
|
||||||
["mysql-test/suite",
|
["mysql-test/suite",
|
||||||
"mysql-test",
|
"mysql-test",
|
||||||
|
"share/mysql-test/suite",
|
||||||
|
"share/mysql-test",
|
||||||
|
"share/mysql/mysql-test/suite",
|
||||||
|
"share/mysql/mysql-test",
|
||||||
# Look in storage engine specific suite dirs
|
# Look in storage engine specific suite dirs
|
||||||
"storage/*/mysql-test-suites"
|
"storage/*/mysql-test-suites"
|
||||||
],
|
],
|
||||||
|
@ -1000,6 +1000,12 @@ sub command_line_setup {
|
|||||||
{
|
{
|
||||||
$basedir= dirname($basedir);
|
$basedir= dirname($basedir);
|
||||||
}
|
}
|
||||||
|
# For .deb, it's like RPM, but installed in /usr/share/mysql/mysql-test.
|
||||||
|
# So move up one more directory level yet.
|
||||||
|
if ( ! $source_dist and ! -d "$basedir/bin" )
|
||||||
|
{
|
||||||
|
$basedir= dirname($basedir);
|
||||||
|
}
|
||||||
|
|
||||||
# Look for the client binaries directory
|
# Look for the client binaries directory
|
||||||
if ($path_client_bindir)
|
if ($path_client_bindir)
|
||||||
|
Reference in New Issue
Block a user