Article edited by psergey 3 months ago

Selected Revision
Revision
8917
User
psergey
Date
2012-02-22 12:11
Compare To
Revision
8914
User
psergey
Date
2012-02-22 10:26
Additions Deletions

Answer Diff [20]

Sometimes, one needs to have MariaDB compiled with Vanilla XtraDB. This page describes the process to do this. The process is rather crude, as my goal was just a once-off compile for testing (that is, not packaging or shipping) purposes. ¶

The process is applicable to MariaDB 5.3.4 and XtraDB from Percona Server 5.1.61. ¶

<<code lang='sh'>> ¶

wget http://s.petrunia.net/scratch/make-vanilla-xtradb-work-with-mariadb.diff ¶

bzr branch
5.3-vanilla-xtradb/path/to/mariadb-5.3 5.3-vanilla-xtradb-r3 ¶

cd 5.3-vanilla-xtradb-r3/storage/ ¶
tar czf innodb_plugin.tgz innodb_plugin/ ¶
rm -rf innodb_plugin ¶
tar czf xtradb.tgz xtradb/ ¶
rm -rf xtradb ¶
cd ../../ ¶

tar zxvf ~/Percona-Server-5.1.61.tar.gz ¶
cp -r Percona-Server-5.1.61/storage/innodb_plugin 5.3-vanilla-xtradb-r3/storage/ ¶
patch -p1 -d 5.3-vanilla-xtradb-r3/storage/innodb_plugin/ < make-vanilla-xtradb-work-with-mariadb.diff ¶

cd 5.3-vanilla-xtradb-r3/ ¶

BUILD/autorun.sh ¶
./configure --with-plugin-innodb_plugin ¶
make ¶
<</code>>