Issue with PERCONA_INNODB_VERSION
Bug #1277383 reported by
Raghavendra D Prabhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
High
|
Tomislav Plavcic | ||
5.1 |
Fix Released
|
High
|
Tomislav Plavcic | ||
5.5 |
Fix Released
|
High
|
Alexey Bychko | ||
5.6 |
Fix Released
|
High
|
Tomislav Plavcic |
Bug Description
Currently, PERCONA_
CFLAGS/CXXFLAGS as "-DPERCONA_
where $PERCONA_
PERCONA_
which for 5.5 is currently at 33.0
Next, there is
#ifndef PERCONA_
#define PERCONA_
#endif
in univ.i wherein it is defined as above.
So,
a) For Percona releases, the innodb version is set to release
versions and they are incremented (either the major/minor part of
it) at every release.
b) For those who don't use our Makefile, the univ.i will be out
of sync permanently.
Related branches
lp:~percona-core/percona-server/release-5.6.16-64.0
- Laurynas Biveinis (community): Approve
-
Diff: 58 lines (+6/-7)3 files modifiedMakefile-ps (+2/-2)
build-ps/percona-server.spec (+3/-4)
storage/innobase/include/univ.i (+1/-1)
lp:~percona-core/percona-server/release-5.5.36-34.0
- Laurynas Biveinis (community): Approve
-
Diff: 104 lines (+8/-15)3 files modifiedbuild-ps/debian/control (+1/-2)
build-ps/percona-server.spec (+6/-12)
storage/innobase/include/univ.i (+1/-1)
lp:~percona-core/percona-server/release-5.1.73-14.12
- Laurynas Biveinis (community): Approve
-
Diff: 207 lines (+31/-15)10 files modifiedMakefile (+1/-1)
Percona-Server/storage/innodb_plugin/include/univ.i (+1/-1)
build/build-binary.sh (+1/-0)
build/build-shared-compat-rpm.sh (+1/-1)
build/debian/changelog (+12/-0)
build/debian/control (+3/-3)
build/debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch (+1/-1)
build/debian/rules (+3/-1)
build/percona-server.spec (+6/-5)
build/percona-shared-compat.spec (+2/-2)
tags: | added: low-hanging-fruit pkg |
To post a comment you must log in.
This is what we have for 5.5:
[openxs@chief percona-5.5]$ grep -rn PERCONA_ INNODB_ VERSION * build-rpm. sh:126: export CFLAGS="-fPIC -Wall -O3 -g -static-libgcc -fno-omit- frame-pointer -DPERCONA_ INNODB_ VERSION= $PERCONA_ SERVER_ VERSION $TARGET_CFLAGS ${CFLAGS:-}" build-rpm. sh:127: export CXXFLAGS="-O2 -fno-omit- frame-pointer -g -pipe -Wall -Wp,-D_ FORTIFY_ SOURCE= 2 -fno-exceptions -DPERCONA_ INNODB_ VERSION= $PERCONA_ SERVER_ VERSION $TARGET_CFLAGS ${CXXFLAGS:-}" build-binary. sh:157: export CFLAGS="-fPIC -Wall -O3 -g -static-libgcc -fno-omit- frame-pointer -DPERCONA_ INNODB_ VERSION= $PERCONA_ SERVER_ VERSION $TARGET_CFLAGS ${CFLAGS:-}" build-binary. sh:158: export CXXFLAGS="-O2 -fno-omit- frame-pointer -g -pipe -Wall -Wp,-D_ FORTIFY_ SOURCE= 2 -fno-exceptions -DPERCONA_ INNODB_ VERSION= $PERCONA_ SERVER_ VERSION $TARGET_CFLAGS ${CXXFLAGS:-}" innobase/ include/ univ.i: 66:#ifndef PERCONA_ INNODB_ VERSION innobase/ include/ univ.i: 67:#define PERCONA_ INNODB_ VERSION 29.3 innobase/ include/ univ.i: 70:#define INNODB_VERSION_STR MYSQL_SERVER_ VERSION "-" IB_TO_STR( PERCONA_ INNODB_ VERSION)
build-ps/
build-ps/
build-ps/
build-ps/
storage/
storage/
storage/