lp:~percona-toolkit-dev/percona-toolkit/summary-tools-2.1

Created by Brian Fraser and last modified
Get this branch:
bzr branch lp:~percona-toolkit-dev/percona-toolkit/summary-tools-2.1
Members of Percona Toolkit developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Recent revisions

239. By Brian Fraser <email address hidden>

Fix for a bug in 32-bit Debian.

Namely, awk's printf("%d") doing what it's supposed to do, cast
it's operand to (int), which screws up large numbers.
The fix is simple, although it mostly just pushes the problem
under the rug; using %.0f instead of %d.

238. By Brian Fraser <email address hidden>

Other instances of the substr(var, 0, n) bug

237. By Brian Fraser <email address hidden>

section(): Less printf, more awk

236. By Brian Fraser <email address hidden>

Fix a section() bug.

Turns out that awk's indexes are documented to start from 1;
So what happens if you use 0? Apparently it's undefined behavior, so
substr(var, 0, 5);
and
substr(var, 1, 5);
May or may not actually do the same thing. In Debian 6, the former
doesn't quite work, and actually returns something like substr(var, 1, 4),
which broke section()'s output.

235. By Brian Fraser <email address hidden>

- section() revamp
- Redirect STDERR for the collection part in both tools
- rm_tempdir in sigtrap
- A part of pt-mysql-summary still depended on the system being run,
  rather than the samples being read. Now it works properly.

234. By Brian Fraser <email address hidden>

The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it.

233. By Brian Fraser <email address hidden>

Merge more of Baron's changes, also re-implement the MySQL Executables section

Plus other bugfixes.

232. By Brian Fraser <email address hidden>

Save the config file itself, not just its path.

231. By Brian Fraser <email address hidden>

Merged Baron's changes

230. By Brian Fraser <email address hidden>

Fixes

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-toolkit/2.1
This branch contains Public information 
Everyone can see this information.