Below is the list of changes that have just been committed into a local
4.0 repository of bell. When bell does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2178 06/04/10 21:57:29 bell@stripped +1 -0
Avoid trying to include <asm/atomic.h> when it doesn't work in C++
code. (Bug #13621)
configure.in
1.334 06/04/10 21:57:28 bell@stripped +5 -0
Test whether atomic_add() and atomic_sub() are available in C++
code, since that is primarily where we will be using them.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: bell
# Host: sanja.is.com.ua
# Root: /home/bell/mysql/bk/work-4.0
--- 1.333/configure.in 2005-10-27 15:51:29 +03:00
+++ 1.334/configure.in 2006-04-10 21:57:28 +03:00
@@ -830,6 +830,9 @@
if test "$IS_LINUX" = "true"; then
AC_MSG_CHECKING([for atomic operations])
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
atom_ops=
AC_TRY_RUN([
#include <asm/atomic.h>
@@ -858,6 +861,8 @@
if test -z "$atom_ops"; then atom_ops="no"; fi
AC_MSG_RESULT($atom_ops)
+
+ AC_LANG_RESTORE
AC_ARG_WITH(pstack,
[ --with-pstack Use the pstack backtrace library],
| Thread |
|---|
| • bk commit into 4.0 tree (bell:1.2178) BUG#13621 | sanja | 10 Apr |