pkgsrc/databases/mysql51-server/patches/patch-ah
taca e605d723d7 Importing mysql51-server 5.1.44, server part of MySQL 5.1.44 including
embedded server (by PKG_OPTION).

For release MySQL 5.1 specific information please refer:

	http://dev.mysql.com/doc/refman/5.1/en/mysql-nutshell.html


MySQL is a SQL (Structured Query Language) database server.  SQL is the
most popular database language in the world.  MySQL is a client-server
implementation that consists of a server daemon `mysqld' and many
different client programs/libraries.

The main goals of MySQL are speed and robustness.

The base upon which MySQL is built is a set of routines that have been
used in a highly demanding production environment for many years.  While
MySQL is still in development it already offers a rich and highly useful
function set.

The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL).

This package contains the MySQL server programs and libraries including
embedded server (by PKG_OPTION).
2010-03-04 16:28:57 +00:00

26 lines
719 B
Text

$NetBSD: patch-ah,v 1.1.1.1 2010/03/04 16:28:58 taca Exp $
--- include/my_no_pthread.h.orig 2010-02-04 11:37:06.000000000 +0000
+++ include/my_no_pthread.h
@@ -37,9 +37,21 @@
to make thread safe code, that should also work in single thread
environment, easier to use.
*/
+#ifdef pthread_mutex_init
+#undef pthread_mutex_init
+#endif
#define pthread_mutex_init(A,B)
+#ifdef pthread_mutex_lock
+#undef pthread_mutex_lock
+#endif
#define pthread_mutex_lock(A)
+#ifdef pthread_mutex_unlock
+#undef pthread_mutex_unlock
+#endif
#define pthread_mutex_unlock(A)
+#ifdef pthread_mutex_destroy
+#undef pthread_mutex_destroy
+#endif
#define pthread_mutex_destroy(A)
#define my_rwlock_init(A,B)
#define rw_rdlock(A)