Merge lp:~laurynas-biveinis/percona-xtrabackup/bug1142229-2.1 into lp:percona-xtrabackup/2.1

Proposed by Alexey Kopytov
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 492
Proposed branch: lp:~laurynas-biveinis/percona-xtrabackup/bug1142229-2.1
Merge into: lp:percona-xtrabackup/2.1
Diff against target: 59 lines (+20/-6)
1 file modified
utils/build.sh (+20/-6)
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-xtrabackup/bug1142229-2.1
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+151414@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'utils/build.sh'
2--- utils/build.sh 2013-02-20 10:20:00 +0000
3+++ utils/build.sh 2013-03-04 04:59:29 +0000
4@@ -12,8 +12,24 @@
5
6 top_dir=`pwd`
7
8+# Set the build type and resolve synonyms
9+case "$1" in
10+"plugin" )
11+ type="innodb51"
12+ ;;
13+"5.5" )
14+ type="innodb55"
15+ ;;
16+"xtradb" )
17+ type="xtradb51"
18+ ;;
19+*)
20+ type=$1
21+ ;;
22+esac
23+
24 # Percona Server 5.5 does not build with -Werror, so ignore DEBUG for now
25-if [ -n "$DEBUG" -a "$1" != "galera55" -a "$1" != "xtradb55" -a "$1" != "xtradb51" -a "$1" != "xtradb" ]
26+if [ -n "$DEBUG" -a "$type" != "galera55" -a "$type" != "xtradb55" -a "$type" != "xtradb51" ]
27 then
28 # InnoDB extra debug flags
29 innodb_extra_debug="-DUNIV_DEBUG -DUNIV_MEM_DEBUG \
30@@ -188,10 +204,8 @@
31 usage
32 fi
33
34-type=$1
35-
36 case "$type" in
37-"innodb51" | "plugin")
38+"innodb51")
39 mysql_version=$MYSQL_51_VERSION
40 server_patch=innodb51.patch
41 innodb_name=innodb_plugin
42@@ -205,7 +219,7 @@
43
44 build_all
45 ;;
46-"innodb55" | "5.5")
47+"innodb55")
48 mysql_version=$MYSQL_55_VERSION
49 server_patch=innodb55.patch
50 innodb_name=innobase
51@@ -222,7 +236,7 @@
52 build_all
53 ;;
54
55-"xtradb51" | "xtradb" | "mariadb51" | "mariadb52" | "mariadb53")
56+"xtradb51" | "mariadb51" | "mariadb52" | "mariadb53")
57 server_dir=$top_dir/Percona-Server
58 branch_dir=percona-server-5.1-xtrabackup
59 innodb_dir=$server_dir/storage/innodb_plugin

Subscribers

People subscribed via source and target branches