summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@skysql.com>2014-08-06 14:06:11 -0400
committerNirbhay Choubey <nirbhay@skysql.com>2014-08-06 14:06:11 -0400
commitec91eea8dbae4276ff6e31a0d80c0b523f88ed88 (patch)
tree8d1b9adecf56764c4198a42c3df6dbb1096ce49a /support-files
parente4e55f7968d961e0cb07800397bc3108f960956a (diff)
parentc722e5f25f1f00b32f9b4b556f07489bda38095a (diff)
downloadmariadb-git-ec91eea8dbae4276ff6e31a0d80c0b523f88ed88.tar.gz
Local merge of mariadb-5.5.39
bzr merge -r4264 maria/5.5 Text conflict in sql/mysqld.cc Text conflict in storage/xtradb/btr/btr0cur.c Text conflict in storage/xtradb/buf/buf0buf.c Text conflict in storage/xtradb/buf/buf0lru.c Text conflict in storage/xtradb/handler/ha_innodb.cc 5 conflicts encountered.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/CMakeLists.txt8
-rw-r--r--support-files/mysql.server.sh5
-rw-r--r--support-files/mysql.spec.sh7
3 files changed, 16 insertions, 4 deletions
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
index 6734f3c78fb..a66adc19b13 100644
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -1,5 +1,5 @@
-# Copyright (c) 2006, 2010, Oracle and/or its affiliates.
-# Copyright (c) 2012, Monty Program Ab
+# Copyright (c) 2006, 2014, Oracle and/or its affiliates.
+# Copyright (c) 2012, 2014, SkySQL Ab.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -56,12 +56,14 @@ IF(UNIX)
IF(script MATCHES ".ini")
SET(comp IniFiles)
+ SET(permissions OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
ELSE()
SET(comp Server_Scripts)
+ SET(permissions OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
ENDIF()
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${script}
DESTINATION ${inst_location} COMPONENT ${comp}
- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ PERMISSIONS ${permissions})
ENDFOREACH()
IF(INSTALL_SUPPORTFILESDIR)
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index b9bd37cbcea..ae3dd2e8bc1 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -264,6 +264,11 @@ wait_for_ready () {
if $bindir/mysqladmin ping >/dev/null 2>&1; then
log_success_msg
return 0
+ elif kill -0 $! 2>/dev/null ; then
+ : # mysqld_safe is still running
+ else
+ # mysqld_safe is no longer running, abort the wait loop
+ break
fi
if test -e $sst_progress_file && [ $startup_sleep -ne 10 ];then
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 1764e7d518f..7e2c61cff36 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -30,7 +30,7 @@
%define mysqld_group mysql
%define mysqldatadir /var/lib/mysql
-%global release 1
+%global release 2
#
@@ -571,6 +571,7 @@ mkdir debug
# XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=Debug \
+ -DENABLE_DTRACE=OFF \
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
-DFEATURE_SET="%{feature_set}" \
-DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
@@ -589,6 +590,7 @@ mkdir release
# XXX: install_layout so we can't just set it based on INSTALL_LAYOUT=RPM
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DENABLE_DTRACE=OFF \
-DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
-DFEATURE_SET="%{feature_set}" \
-DCOMPILATION_COMMENT="%{compilation_comment_release}" \
@@ -1312,6 +1314,9 @@ echo "=====" >> $STATUS_HISTORY
# merging BK trees)
##############################################################################
%changelog
+* Wed Jul 02 2014 Bjorn Munch <bjorn.munch@oracle.com>
+- Disable dtrace unconditionally, breaks after we install Oracle dtrace
+
* Wed Oct 30 2013 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>
- Removed non gpl file docs/mysql.info from community packages