Commit 12709128 authored by tomas@poseidon.(none)'s avatar tomas@poseidon.(none)

ndb fixes see files

parent 2573f890
...@@ -155,6 +155,12 @@ ...@@ -155,6 +155,12 @@
/* Using Ndb Cluster DB */ /* Using Ndb Cluster DB */
#undef HAVE_NDBCLUSTER_DB #undef HAVE_NDBCLUSTER_DB
/* Including Ndb Cluster DB shared memory transporter */
#undef NDB_SHM_TRANSPORTER
/* Including Ndb Cluster DB sci transporter */
#undef NDB_SCI_TRANSPORTER
/* For some non posix threads */ /* For some non posix threads */
#undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC #undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC
......
...@@ -1337,6 +1337,45 @@ dnl Macro: MYSQL_CHECK_NDBCLUSTER ...@@ -1337,6 +1337,45 @@ dnl Macro: MYSQL_CHECK_NDBCLUSTER
dnl Sets HAVE_NDBCLUSTER_DB if --with-ndbcluster is used dnl Sets HAVE_NDBCLUSTER_DB if --with-ndbcluster is used
dnl --------------------------------------------------------------------------- dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
AC_ARG_WITH([ndb-shm],
[
--with-ndb-shm Include the NDB Cluster shared memory transporter],
[ndb-shm="$withval"],
[ndb-shm=no])
AC_ARG_WITH([ndb-sci],
[
--with-ndb-sci Include the NDB Cluster sci transporter],
[ndb-sci="$withval"],
[ndb-sci=no])
AC_MSG_CHECKING([for NDB Cluster options])
have_ndb_shm=no
case "$ndb-shm" in
yes )
AC_MSG_RESULT([Including NDB Cluster shared memory transporter])
AC_DEFINE(NDB_SHM_TRANSPORTER)
have_ndb_shm="yes"
;;
* )
AC_MSG_RESULT([Not including NDB Cluster shared memory transporter])
;;
esac
have_ndb_sci=no
case "$ndb-sci" in
yes )
AC_MSG_RESULT([Including NDB Cluster sci transporter])
AC_DEFINE(NDB_SCI_TRANSPORTER)
have_ndb_sci="yes"
;;
* )
AC_MSG_RESULT([Not including NDB Cluster sci transporter])
;;
esac
])
AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
AC_ARG_WITH([ndbcluster], AC_ARG_WITH([ndbcluster],
[ [
......
...@@ -1120,7 +1120,7 @@ dnl Is this the right match for DEC OSF on alpha? ...@@ -1120,7 +1120,7 @@ dnl Is this the right match for DEC OSF on alpha?
sql/Makefile.in) sql/Makefile.in)
# Use gen_lex_hash.linux instead of gen_lex_hash # Use gen_lex_hash.linux instead of gen_lex_hash
# Add library dependencies to mysqld_DEPENDENCIES # Add library dependencies to mysqld_DEPENDENCIES
lib_DEPENDENCIES="\$(bdb_libs_with_path) \$(innodb_libs) \$(pstack_libs) \$(innodb_system_libs) \$(openssl_libs)" lib_DEPENDENCIES="\$(bdb_libs_with_path) \$(innodb_libs) \$(ndbcluster_libs) \$(pstack_libs) \$(innodb_system_libs) \$(openssl_libs)"
cat > $filesed << EOF cat > $filesed << EOF
s,\(^.*\$(MAKE) gen_lex_hash\)\$(EXEEXT),#\1, s,\(^.*\$(MAKE) gen_lex_hash\)\$(EXEEXT),#\1,
s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux, s,\(\./gen_lex_hash\)\$(EXEEXT),\1.linux,
...@@ -2925,9 +2925,6 @@ AC_SUBST(mgmapiincludedir) ...@@ -2925,9 +2925,6 @@ AC_SUBST(mgmapiincludedir)
#AC_SUBST(NDB_TYPE_KERNEL) #AC_SUBST(NDB_TYPE_KERNEL)
#AC_SUBST(NDB_TYPE_UTIL) #AC_SUBST(NDB_TYPE_UTIL)
# define(NDB_MAKEFILES, [ dnl
# ])
AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS) AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
# Output results # Output results
......
...@@ -10,9 +10,10 @@ libtransporter_la_SOURCES = \ ...@@ -10,9 +10,10 @@ libtransporter_la_SOURCES = \
# SHM_Transporter.cpp # SHM_Transporter.cpp
INCLUDES_LOC = -I$(top_srcdir)/ndb/include/kernel -I$(top_srcdir)/ndb/include/transporter
include $(top_srcdir)/ndb/config/common.mk.am include $(top_srcdir)/ndb/config/common.mk.am
include $(top_srcdir)/ndb/config/type_util.mk.am include $(top_srcdir)/ndb/config/type_util.mk.am
INCLUDES += -I$(top_srcdir)/ndb/include/kernel -I$(top_srcdir)/ndb/include/transporter
# Don't update the files from bitkeeper # Don't update the files from bitkeeper
%::SCCS/s.% %::SCCS/s.%
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
#ifndef Transporter_H #ifndef Transporter_H
#define Transporter_H #define Transporter_H
#include <ndb_global.h>
#include <TransporterCallback.hpp> #include <TransporterCallback.hpp>
#include "TransporterDefinitions.hpp" #include "TransporterDefinitions.hpp"
#include "Packer.hpp" #include "Packer.hpp"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment