1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

merged 5.1-main -> 5.1-bugteam

This commit is contained in:
Georgi Kodinov
2009-05-15 16:03:22 +03:00
6 changed files with 24 additions and 9 deletions

10
README
View File

@ -1,11 +1,19 @@
This is a release of MySQL, a dual-license SQL database server. This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB. MySQL is brought to you by the MySQL team at Sun Microsystems, Inc.
License information can be found in these files: License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and - For GPL (free) distributions, see the COPYING file and
the EXCEPTIONS-CLIENT file. the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file. - For commercial distributions, see the LICENSE.mysql file.
GPLv2 Disclaimer
For the avoidance of doubt, except that if any license choice
other than GPL or LGPL is available it will apply instead, Sun
elects to use only the General Public License version 2 (GPLv2)
at this time for any software where a choice of GPL license versions
is made available with the language indicating that GPLv2 or any
later version may be used, or where a choice of which version of
the GPL is applied is otherwise unspecified.
For further information about MySQL or additional documentation, see: For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com - The latest information about MySQL: http://www.mysql.com

View File

@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
# #
# When changing major version number please also check switch statement # When changing major version number please also check switch statement
# in mysqlbinlog::check_master_version(). # in mysqlbinlog::check_master_version().
AM_INIT_AUTOMAKE(mysql, 5.1.35) AM_INIT_AUTOMAKE(mysql, 5.1.36)
AM_CONFIG_HEADER([include/config.h:config.h.in]) AM_CONFIG_HEADER([include/config.h:config.h.in])
PROTOCOL_VERSION=10 PROTOCOL_VERSION=10

View File

@ -116,10 +116,15 @@ case $PLATFORM in
esac esac
# Change the distribution to a long descriptive name # Change the distribution to a long descriptive name
# For the cluster product, concentrate on the second part
VERSION_NAME=@VERSION@
case $VERSION_NAME in
*-ndb-* ) VERSION_NAME=`echo $VERSION_NAME | sed -e 's/[.0-9]*-ndb-//'` ;;
esac
if [ x"$SHORT_PRODUCT_TAG" != x"" ] ; then if [ x"$SHORT_PRODUCT_TAG" != x"" ] ; then
NEW_NAME=mysql-$SHORT_PRODUCT_TAG-@VERSION@-$PLATFORM$SUFFIX NEW_NAME=mysql-$SHORT_PRODUCT_TAG-$VERSION_NAME-$PLATFORM$SUFFIX
else else
NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-@VERSION@-$PLATFORM$SUFFIX NEW_NAME=mysql@MYSQL_SERVER_SUFFIX@-$VERSION_NAME-$PLATFORM$SUFFIX
fi fi
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------

View File

@ -126,7 +126,7 @@ if [ -e $DESTDIR ] ; then
usage usage
fi fi
trap 'echo "Clearning up and exiting..." ; rm -fr $DESTDIR; exit 1' ERR trap 'echo "Cleaning up and exiting..." ; rm -fr $DESTDIR; exit 1' ERR
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# Adjust target name if needed, release with debug info has another name # Adjust target name if needed, release with debug info has another name

View File

@ -7360,6 +7360,7 @@ int Rows_log_event::do_apply_event(Relay_log_info const *rli)
// Do event specific preparations // Do event specific preparations
error= do_before_row_operations(rli); error= do_before_row_operations(rli);
// row processing loop // row processing loop
while (error == 0 && m_curr_row < m_rows_end) while (error == 0 && m_curr_row < m_rows_end)

View File

@ -404,8 +404,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_PRINT("info",("Terminating IO thread")); DBUG_PRINT("info",("Terminating IO thread"));
mi->abort_slave=1; mi->abort_slave=1;
if ((error=terminate_slave_thread(mi->io_thd, io_lock, if ((error=terminate_slave_thread(mi->io_thd, io_lock,
&mi->stop_cond, &mi->stop_cond,
&mi->slave_running, &mi->slave_running,
skip_lock)) && skip_lock)) &&
!force_all) !force_all)
DBUG_RETURN(error); DBUG_RETURN(error);
@ -415,8 +415,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_PRINT("info",("Terminating SQL thread")); DBUG_PRINT("info",("Terminating SQL thread"));
mi->rli.abort_slave=1; mi->rli.abort_slave=1;
if ((error=terminate_slave_thread(mi->rli.sql_thd, sql_lock, if ((error=terminate_slave_thread(mi->rli.sql_thd, sql_lock,
&mi->rli.stop_cond, &mi->rli.stop_cond,
&mi->rli.slave_running, &mi->rli.slave_running,
skip_lock)) && skip_lock)) &&
!force_all) !force_all)
DBUG_RETURN(error); DBUG_RETURN(error);
@ -424,6 +424,7 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_RETURN(0); DBUG_RETURN(0);
} }
/** /**
Wait for a slave thread to terminate. Wait for a slave thread to terminate.