Commit bea6d788 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Fixed portability problem.

parent f02ed5fe
# This file describes how to run MySQL benchmarks with Postgres # This file describes how to run MySQL benchmarks with PostgreSQL
# #
# WARNING:
#
# Don't run the --fast test on a PostgreSQL 7.1.1 database on
# which you have any critical data; During one of our test runs
# PostgreSQL got a corrupted database and all data was destroyed!
# (When we tried to restart postmaster, It died with a
# 'no such file or directory' error and never recovered from that!
#
# WARNING
# The test was run on a Intel Xeon 2x 550 Mzh machine with 1G memory, # The test was run on a Intel Xeon 2x 550 Mzh machine with 1G memory,
# 9G hard disk. The OS is Suse 6.4, with Linux 2.2.14 compiled with SMP # 9G hard disk. The OS is Suse 6.4, with Linux 2.2.14 compiled with SMP
...@@ -8,8 +17,6 @@ ...@@ -8,8 +17,6 @@
# on the same machine. No other cpu intensive process was used during # on the same machine. No other cpu intensive process was used during
# the benchmark. # the benchmark.
#
#
# First, install postgresql-7.1.1.tar.gz # First, install postgresql-7.1.1.tar.gz
# Adding the following lines to your ~/.bash_profile or # Adding the following lines to your ~/.bash_profile or
...@@ -27,7 +34,10 @@ MANPATH=$MANPATH:/usr/local/pg/man ...@@ -27,7 +34,10 @@ MANPATH=$MANPATH:/usr/local/pg/man
# #
/usr/local/pg/lib /usr/local/pg/lib
and run ldconfig.
# and run:
ldconfig
# untar the postgres source distribution, cd to postgresql-* # untar the postgres source distribution, cd to postgresql-*
# and run the following commands: # and run the following commands:
......
...@@ -19,11 +19,7 @@ ...@@ -19,11 +19,7 @@
#pragma implementation // gcc: Class implementation #pragma implementation // gcc: Class implementation
#endif #endif
#include <string.h>
#include "mysql_priv.h" #include "mysql_priv.h"
#include "my_pthread.h"
#ifdef HAVE_GEMINI_DB #ifdef HAVE_GEMINI_DB
#include "ha_gemini.h" #include "ha_gemini.h"
#include "dbconfig.h" #include "dbconfig.h"
...@@ -33,6 +29,7 @@ ...@@ -33,6 +29,7 @@
#include <m_ctype.h> #include <m_ctype.h>
#include <myisampack.h> #include <myisampack.h>
#include <m_string.h>
#include <assert.h> #include <assert.h>
#include <hash.h> #include <hash.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -88,7 +88,7 @@ int deny_severity = LOG_WARNING; ...@@ -88,7 +88,7 @@ int deny_severity = LOG_WARNING;
#endif #endif
#ifdef _AIX41 #ifdef _AIX41
int initgroups(const char *,int); int initgroups(const char *,unsigned int);
#endif #endif
#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H) #if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H)
......
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