Commit Graph

759 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
b807088b8e Other instances of the substr(var, 0, n) bug 2012-04-03 11:29:36 -03:00
Brian Fraser fraserb@gmail.com
cfcef354b0 section(): Less printf, more awk 2012-04-03 11:07:30 -03:00
Brian Fraser fraserb@gmail.com
12bd26022a 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.
2012-04-03 10:55:51 -03:00
Brian Fraser fraserb@gmail.com
c0dedd19bf - 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.
2012-04-02 19:25:17 -03:00
Brian Fraser fraserb@gmail.com
6dbbd6de3b The previous merge went a bit wrong, and left the libraries unsynced with the tools; This commit fixes it. 2012-04-02 13:36:17 -03:00
Brian Fraser fraserb@gmail.com
761f8a5aac Merge more of Baron's changes, also re-implement the MySQL Executables section
Plus other bugfixes.
2012-03-30 23:00:57 -03:00
Brian Fraser fraserb@gmail.com
978b236985 Save the config file itself, not just its path. 2012-03-30 20:18:39 -03:00
baron
06dc18ec46 clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression 2012-03-30 17:07:05 -04:00
baron
d44e8b539b clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression 2012-03-30 17:04:25 -04:00
Brian Fraser fraserb@gmail.com
af5d9d7e90 Merged Baron's changes 2012-03-30 17:28:53 -03:00
Brian Fraser fraserb@gmail.com
562a550a39 Fixes 2012-03-30 17:23:55 -03:00
baron@percona.com
6e9a483ee1 more slight doc tweaks 2012-03-30 15:46:14 -04:00
baron@percona.com
8e4d1fe005 docs and a few tweaks 2012-03-30 15:34:28 -04:00
Brian Fraser fraserb@gmail.com
33a4096663 Fix CPU_ARCH collection for Linux 2012-03-30 13:44:21 -03:00
baron@percona.com
45b66a4e1a merge upstream 2012-03-29 21:47:58 -04:00
baron@percona.com
3f668362e7 fix a few bugs 2012-03-29 21:39:31 -04:00
baron@percona.com
f707656dee docs; small quoting fix 2012-03-29 21:26:22 -04:00
Brian Fraser fraserb@gmail.com
f8113b4676 A parse_ethtools() that actually works 2012-03-29 19:44:51 -03:00
Brian Fraser fraserb@gmail.com
996a76a68e pt-summary shouldn't leave empty files; both summary tools should
die if passed a --save-samples directory that has files in it.
2012-03-29 19:21:32 -03:00
Brian Fraser fraserb@gmail.com
9fbb796022 More tests for get_var 2012-03-28 15:59:16 -03:00
Brian Fraser fraserb@gmail.com
3ee8f9ba71 Fixed the Table Cache bugs.
Also makes t/lib/bash/collect_system_info.sh actually call setup_commands.
2012-03-28 15:29:57 -03:00
Brian Fraser fraserb@gmail.com
4bb5968c23 More fixes as per the reviews.
- Took out ${prefix}-
- get_var sanity
- pt-mysql-summary now follows pt-summary's suit and doesn't take
  in files to write to
- pt-summary defers setting the CMD_FOO vars to a function, as
  otherwise it would skip our PATH mungling.
2012-03-28 13:04:14 -03:00
Brian Fraser fraserb@gmail.com
ae6c1e3789 More fixes:
- pt-mysql-summary's --read-samples shouldn't need an active connection
- Bunch of pt-summary bugs, particularly several relating to disks.
2012-03-27 12:53:31 -03:00
Brian Fraser fraserb@gmail.com
64b52c9399 chmod +x pt-summary 2012-03-27 10:54:12 -03:00
Brian Fraser fraserb@gmail.com
0e4fa22d18 *-summary tools: Changes from the reviews. Tests for pt-mysql-summary not finished yet 2012-03-27 06:19:37 -03:00
Brian Fraser fraserb@gmail.com
63064173a9 Correct test plans & add missing files 2012-03-24 16:27:47 -03:00
Brian Fraser fraserb@gmail.com
3ffda5677b pt-summary for 2.1, also changes to pt-mysql-summary from Daniel's review 2012-03-24 14:20:09 -03:00
Brian Fraser fraserb@gmail.com
88a9a66946 pt-mysql-summary for 2.1 2012-03-20 18:29:35 -03:00
Brian Fraser fraserb@gmail.com
55c7248c54 (more syncing) 2012-03-20 17:16:06 -03:00
Brian Fraser fraserb@gmail.com
31afeb73b5 (temp commit, syncing up) 2012-03-20 11:21:16 -03:00
Daniel Nichter
f4c978c957 Build percona-toolkit-2.0.4 2.0.4 2012-03-07 15:41:54 -08:00
Daniel Nichter
5f95d06a58 Fix 'Bad substitution' error in util/build-packages. 2012-03-07 16:27:04 -07:00
Daniel Nichter
6eff465223 Fix more quoting in util/build-packages. 2012-03-07 15:59:01 -07:00
Daniel Nichter
d8618637b2 Fix quoting in util/build-packages. 2012-03-07 15:55:36 -07:00
Daniel Nichter
c5ea94574b Update Changelog for 2.0.4. 2012-03-07 15:18:25 -07:00
Daniel Nichter
78112fccec Update Daemon in all tools (bug 944420). 2012-03-07 14:44:43 -07:00
Daniel Nichter
fe3b5de233 Set TZ to make tests work on other boxes. 2012-03-07 10:22:38 -07:00
Daniel Nichter
14760f22d3 Fix trailing blank lines in samples. 2012-03-07 09:38:10 -07:00
Daniel Nichter
991d6c606b Fix samples for MySQL 5.0. 2012-03-07 09:35:50 -07:00
Daniel Nichter
e122b884e2 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-928226. 2012-03-06 14:18:51 -07:00
Daniel Nichter
293caf3376 Wait for unstable test. 2012-03-06 13:56:17 -07:00
Daniel Nichter
df0f793815 Fix pt-query-digest mirror.t from previous merges. 2012-03-06 13:23:20 -07:00
Daniel Nichter
b5160b4b71 Fix number of tests. 2012-03-06 13:16:42 -07:00
Daniel Nichter
9e79d0c151 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-941225. 2012-03-06 12:35:24 -07:00
Daniel Nichter
6730357d87 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-pt-diskstats-options-fix-bug-945834. 2012-03-06 12:34:31 -07:00
Daniel Nichter
8aa52018a4 Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-pt-pmp-fix-bug-945836. 2012-03-06 12:33:42 -07:00
Daniel Nichter
c0eba8e4be Merge lp:~percona-toolkit-dev/percona-toolkit/pt-sift-processlist-aggregation-fix-bug-945842. 2012-03-06 12:32:30 -07:00
Daniel Nichter
584fc46102 Merge lp:~percona-toolkit-dev/percona-toolkit/meaningful-type-error-fix-bug-946438. 2012-03-06 12:31:46 -07:00
Daniel Nichter
1a1e38d4e4 Merge lp:~percona-toolkit-dev/percona-toolkit/fix-lock-wait-timeout-bug-946776. 2012-03-06 12:30:58 -07:00
Daniel Nichter
89263e6465 Make test case-insenstive so it works on 5.0 as well as 5.1+. 2012-03-06 12:05:52 -07:00