Commit 867a5b54 authored by unknown's avatar unknown
Browse files

configure.in:

  Temporary work around to pass --build=... to configure
  in storage engine sub directory
print_file.cpp:
  HP-UX compiler don't like variable shadowing
AsyncFile.cpp:
  Cast result from strstr() to char* for HP-UX compile
trigger_definitions.h:
  "MIN" and "MAX" are not used for trigger stuff, move to a more global include
ndb_global.h.in:
  Define "MIN" and "MAX" globally for all NDB, in case the platform does not have it (like Solaris).
  Moved here from "include/kernel/trigger_definitions.h".
Makefile.am:
  Add missing ha_* files to EXTRA_mysqld_SOURCES


sql/Makefile.am:
  Add missing ha_* files to EXTRA_mysqld_SOURCES
storage/ndb/include/ndb_global.h.in:
  Define "MIN" and "MAX" globally for all NDB, in case the platform does not have it (like Solaris).
  Moved here from "include/kernel/trigger_definitions.h".
storage/ndb/include/kernel/trigger_definitions.h:
  "MIN" and "MAX" are not used for trigger stuff, move to a more global include
storage/ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
  Cast result from strstr() to char* for HP-UX compile
storage/ndb/src/kernel/blocks/print_file.cpp:
  HP-UX compiler don't like variable shadowing
configure.in:
  Temporary work around to pass --build=... to configure
  in storage engine sub directory
parent 242e020a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2504,7 +2504,7 @@ case $SYSTEM_TYPE in
esac

for CONF in $other_configures; do
  (cd `dirname $CONF`; ./`basename $CONF`)
  (cd `dirname $CONF`; ./`basename $CONF` --build=$build_alias)
done

AC_SUBST(MAKE_BINARY_DISTRIBUTION_OPTIONS)
+5 −2
Original line number Diff line number Diff line
@@ -98,9 +98,12 @@ mysqld_SOURCES = sql_lex.cc sql_handler.cc sql_partition.cc \
			sql_plugin.cc\
			handlerton.cc
EXTRA_mysqld_SOURCES =	ha_innodb.cc ha_berkeley.cc ha_archive.cc \
			ha_innodb.h  ha_berkeley.h  ha_archive.h \
			ha_blackhole.cc ha_federated.cc ha_ndbcluster.cc \
			ha_partition.cc \
			examples/ha_tina.cc examples/ha_example.cc
			ha_blackhole.h  ha_federated.h  ha_ndbcluster.h \
			ha_partition.cc ha_partition.h \
			examples/ha_tina.cc examples/ha_example.cc \
			examples/ha_tina.h  examples/ha_example.h
mysqld_DEPENDENCIES =	@mysql_se_objs@
gen_lex_hash_SOURCES =	gen_lex_hash.cc
gen_lex_hash_LDADD =	$(LDADD) $(CXXLDFLAGS)
+0 −8
Original line number Diff line number Diff line
@@ -21,14 +21,6 @@
#include "ndb_limits.h"
#include <signaldata/DictTabInfo.hpp>

#ifndef MIN
#define MIN(x,y) (((x)<(y))?(x):(y))
#endif

#ifndef MAX
#define MAX(x,y) (((x)>(y))?(x):(y))
#endif

#define ILLEGAL_TRIGGER_ID ((Uint32)(~0))

struct TriggerType {
+8 −0
Original line number Diff line number Diff line
@@ -137,4 +137,12 @@ extern "C" {

#endif /* SCO */

#ifndef MIN
#define MIN(x,y) (((x)<(y))?(x):(y))
#endif

#ifndef MAX
#define MAX(x,y) (((x)>(y))?(x):(y))
#endif

#endif
+1 −1
Original line number Diff line number Diff line
@@ -983,7 +983,7 @@ void AsyncFile::createDirectories()
  char* tmp;
  const char * name = theFileName.c_str();
  const char * base = theFileName.get_base_name();
  while((tmp = strstr(base, DIR_SEPARATOR)))
  while((tmp = (char *)strstr(base, DIR_SEPARATOR)))
  {
    char t = tmp[0];
    tmp[0] = 0;
Loading