Commit Graph

862 Commits

Author SHA1 Message Date
Daniel Nichter
fdfd305dc5 Simplify and fix report_formatting::shorten(), and add Petabyte unit (in case it's needed). Update affected test samples. Add T_DIR to util/test-bash-functions. 2012-05-07 12:16:24 -06:00
Daniel Nichter
7e8fbaf188 Merge ../doc-osc-limitation-bug-976109. 2012-05-07 10:54:20 -06:00
Daniel Nichter
ce9152f9c1 Document --alter limitations. 2012-05-07 10:50:57 -06:00
Daniel Nichter
e1892d1c85 Merge ../dis-fk-chk-bug-976108. 2012-05-07 10:35:29 -06:00
Daniel Nichter
5f9d06888c Don't find_chile_tables() if alter-fk-method=none. 2012-05-07 10:31:19 -06:00
Daniel Nichter
69b7a6b6a5 Merge ../fix-ptc-innodb-bug-994010. 2012-05-04 10:22:45 -06:00
Daniel Nichter
e74133bc67 Check if lwt is not defined, since 0 could be a valid value. 2012-05-04 10:17:01 -06:00
Daniel Nichter
3ebf357a1f Don't crash if innodb_lock_wait_timeout doesn't exist. 2012-05-04 10:09:50 -06:00
Daniel Nichter
bc058d6daf Merge fix-debug-bug-989227. 2012-04-26 15:01:00 -06:00
Daniel Nichter
fd87572bf3 Fix syntax typo: _( should be _d(. 2012-04-26 14:56:18 -06:00
Daniel Nichter
520618cf6e Merged fix-sleep-bug-979092. 2012-04-17 16:58:10 -06:00
Daniel Nichter
522d7836e8 Move --sleep to just before SELECT instead of between each row after SELECT. 2012-04-17 16:52:34 -06:00
Daniel Nichter
c3724aedca Build percona-toolkit-2.1.1 2.1.1 2012-04-03 12:42:45 -07:00
Daniel Nichter
81ab030c2b Update Changelog for 2.1.1. 2012-04-03 12:39:41 -07:00
Daniel Nichter
97b1209116 Remove useless var in SchemaIterator::_iterate_files() and update module in tools. 2012-04-03 12:21:15 -06:00
Daniel Nichter
11bfeba0ea Remove unused developer test file. 2012-04-03 12:16:58 -06:00
Daniel Nichter
7423162c87 Make pt-stalk.t a little more reliable. 2012-04-03 11:11:11 -07:00
Daniel Nichter
940ca17d71 Update modules in pt-query-advisor, replacing MySQLDump with TableParser. 2012-04-03 10:59:37 -07:00
Daniel Nichter
10a92ac6da Fix SchemaIterator.t by updating and adding 5.0 samples. 2012-04-03 10:38:53 -07:00
Daniel Nichter
c3b99d17a1 Add func to col ident struct to fix QueryAdvisorRules.t. 2012-04-03 11:03:17 -06:00
Daniel Nichter
dcec863988 Convert TableUsage.t from Maatkit to Percona Toolkit. 2012-04-03 10:47:01 -06:00
Daniel Nichter
ca084ace0f Remove a bzr backup file. 2012-04-03 10:30:05 -06:00
Daniel Nichter
0286631514 Merge summary-tools-2.1. 2012-04-03 10:14:55 -06:00
Daniel Nichter
b0b65fd8fd Merge fix-log-parser-writer-bug-963225. 2012-04-03 09:56:11 -06:00
Brian Fraser fraserb@gmail.com
a01de98434 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.
2012-04-03 12:50:12 -03:00
Daniel Nichter
ad11e68fd7 Merge fix-doc-bug-972399. 2012-04-03 09:48:27 -06:00
Daniel Nichter
0089f31a35 Merge pt-osc-2.1. Fix NibbleItertor.pm to work with OobNibbleIterator when resuming at oob boundaries (t/pt-table-checksum/resume.t was failing). 2012-04-03 09:33:10 -06:00
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
Daniel Nichter
0dd19a6fc9 Fix typo. 2012-04-02 20:10:10 -06:00
Daniel Nichter
c4927399bd Merge fix-table-status-bug-960513. 2012-04-02 19:47:58 -06:00
Daniel Nichter
806fafdb31 Update modules in pt-online-schema-change. 2012-04-02 19:37:07 -06:00
Daniel Nichter
c1feb83b96 Uncomment cleanup lines in alter_active_table.t. 2012-04-02 19:32:48 -06:00
Daniel Nichter
4ee198e8cd Add XXX comment about improperly copying . 2012-04-02 19:29:59 -06:00
Daniel Nichter
403c93db3b Handle Key_name or key_name in NibbleIterator::_get_index_cardinality(). 2012-04-02 19:24:38 -06:00
Daniel Nichter
5eaa565566 Catch lost cleanup task (should rarely happen). 2012-04-02 19:20:56 -06:00
Daniel Nichter
34ada21344 Add comment about code that will fail with new Cxn due to NAME_lc. 2012-04-02 19:12:28 -06:00
Daniel Nichter
02e9d2eed9 Merge preserve-foreign-keys-bug-969726. 2012-04-02 18:22:51 -06: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
Daniel Nichter
867789ff87 Merge pt-table-usage-docs. 2012-04-02 16:04:26 -06: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
Daniel Nichter
c04b85a066 Update SchemaIterator, TableParser, and NibbleIterator in tools that use them. All tools' tests still pass. 2012-03-31 09:59:15 -06: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
baron@percona.com
dacc36994e Update documentation 2012-03-30 20:47:56 -04:00
Daniel Nichter
2bae569429 Don't use TABLE STATUS, use CREATE TABLE instead for the table's engine. 2012-03-30 18:46:08 -06:00
Daniel Nichter
1cd990a0f0 Update SchemaIterator in pt-table-sync. Make the module handle NAME_lc or not. 2012-03-30 18:15:54 -06:00
Brian Fraser fraserb@gmail.com
978b236985 Save the config file itself, not just its path. 2012-03-30 20:18:39 -03:00
Daniel Nichter
a18c08f16a Add pt-table-usage and update SQLParser.pm from Maatkit. 2012-03-30 16:52:36 -06:00
Daniel Nichter
34602e89fe Add pt-table-usage, copied and converted from mk-table-usage. 2012-03-30 16:45:10 -06:00