EmergencyEMERGENCY? Get 24/7 Help Now!

MySQL sources from development tree

 | January 9, 2007 |  Posted In: Insight for DBAs

PREVIOUS POST
NEXT POST

I just want to write few tips how to get MySQL from development BitKeeper tree, as there are several tricks.
First of all you need a fresh free client – bk-client2.0 http://www.bitkeeper.com/Hosted.Downloading.html .
Once you get it, you can clone latest tree:
bkf clone bk://mysql.bkbits.net/mysql-5.0 mysql-5.0

New client supports “changes” command, so you can look latest changes
bkf changes in mysql-5.0 directory.
It may be useful to get sources related to specific release. MySQL build team marks tree by TAG
with each new release. What I have looking by existing TAGS:

bkf changes | grep TAG
TAG: clone-5.0.32-build
TAG: mysql-5.0.30
TAG: clone-5.0.30-build
TAG: mysql-4.1.22
TAG: clone-4.1.22-build
TAG: mysql-5.0.28
TAG: mysql-5.0.27
TAG: mysql-5.0.26

So, to get sources for 5.0.30 release you need to run:

bkf clone -rmysql-5.0.30 bk://mysql.bkbits.net/mysql-5.0 mysql-5.0.30

Latest Falcon release is available on
bk://mysql.bkbits.net/mysql-5.2-falcon

Full list of available tree you can see here
http://mysql.bkbits.com/

PREVIOUS POST
NEXT POST
Vadim Tkachenko

Vadim Tkachenko co-founded Percona in 2006 and serves as its Chief Technology Officer. Vadim leads Percona Labs, which focuses on technology research and performance evaluations of Percona’s and third-party products. Percona Labs designs no-gimmick tests of hardware, filesystems, storage engines, and databases that surpass the standard performance and functionality scenario benchmarks. Vadim’s expertise in LAMP performance and multi-threaded programming help optimize MySQL and InnoDB internals to take full advantage of modern hardware. Oracle Corporation and its predecessors have incorporated Vadim’s source code patches into the mainstream MySQL and InnoDB products. He also co-authored the book High Performance MySQL: Optimization, Backups, and Replication 3rd Edition.

One Comment

  • You can do the tags thing more easily with

    bkf changes -t

    You can also search for a particular change with

    bkf changes -/string/

    and it will list only the changes with that string in the changeset commments.

    Enjoy.

Leave a Reply