summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-06-04 04:08:54 +0300
committerunknown <monty@hundin.mysql.fi>2001-06-04 04:08:54 +0300
commita86abf586b08de55fd4732853e84d04859e6d981 (patch)
tree3f9a808fc0bff58363f39c04cf04203877416b2c
parent0de11974be158415ecf8b490f89e98362dcf7700 (diff)
parentdafc6ba54cecff4e07d31ff36d8a82de2298b1a2 (diff)
downloadmariadb-git-a86abf586b08de55fd4732853e84d04859e6d981.tar.gz
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
-rw-r--r--sql-bench/Comments/postgres.benchmark20
-rw-r--r--sql/ha_gemini.cc5
-rw-r--r--sql/mysqld.cc2
3 files changed, 17 insertions, 10 deletions
diff --git a/sql-bench/Comments/postgres.benchmark b/sql-bench/Comments/postgres.benchmark
index 775c211bf25..cce9a8f05fe 100644
--- a/sql-bench/Comments/postgres.benchmark
+++ b/sql-bench/Comments/postgres.benchmark
@@ -1,5 +1,14 @@
-# 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,
# 9G hard disk. The OS is Suse 6.4, with Linux 2.2.14 compiled with SMP
@@ -8,8 +17,6 @@
# on the same machine. No other cpu intensive process was used during
# the benchmark.
-#
-#
# First, install postgresql-7.1.1.tar.gz
# Adding the following lines to your ~/.bash_profile or
@@ -27,7 +34,10 @@ MANPATH=$MANPATH:/usr/local/pg/man
#
/usr/local/pg/lib
-and run ldconfig.
+
+# and run:
+
+ldconfig
# untar the postgres source distribution, cd to postgresql-*
# and run the following commands:
diff --git a/sql/ha_gemini.cc b/sql/ha_gemini.cc
index 733f0aa3a7d..c95a348f238 100644
--- a/sql/ha_gemini.cc
+++ b/sql/ha_gemini.cc
@@ -19,11 +19,7 @@
#pragma implementation // gcc: Class implementation
#endif
-#include <string.h>
-
#include "mysql_priv.h"
-#include "my_pthread.h"
-
#ifdef HAVE_GEMINI_DB
#include "ha_gemini.h"
#include "dbconfig.h"
@@ -33,6 +29,7 @@
#include <m_ctype.h>
#include <myisampack.h>
+#include <m_string.h>
#include <assert.h>
#include <hash.h>
#include <stdarg.h>
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 3816d1aaa5c..8de9da444bd 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -88,7 +88,7 @@ int deny_severity = LOG_WARNING;
#endif
#ifdef _AIX41
-int initgroups(const char *,int);
+int initgroups(const char *,unsigned int);
#endif
#if defined(__FreeBSD__) && defined(HAVE_IEEEFP_H)