Brian Fraser fraserb@gmail.com
|
d387b22c07
|
Bug 1007938: MySQLConfig doesn't support end-of-line comments
Patch provided by Kaiwang CHEN (~kaiwang-chen) on Launchpad.
|
2012-06-11 12:33:45 -03:00 |
|
Daniel Nichter
|
583bc2957e
|
Don't crash if N is > number of index columns.
|
2012-06-11 07:55:23 -04:00 |
|
Daniel Nichter
|
3f2295ec46
|
Implement IndexLength in pt-table-checksum and pt-online-schema-change. Tag the IndexLength queries with "key_len" and make n_index_cols optional--get full key_len if not given.
|
2012-06-11 12:54:26 -04:00 |
|
Daniel Nichter
|
fa9cf03505
|
Add IndexLength.pm.
|
2012-06-11 11:47:03 -04:00 |
|
Daniel Nichter
|
970f7d7e64
|
Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks.
|
2012-06-10 13:25:44 -04:00 |
|
Daniel Nichter
|
272f963733
|
Remove --chunk-index-columns and extend --chunk-index instead to take INDEX:N value. Add n_index_values to TableNibbler.
|
2012-06-10 10:01:25 -04:00 |
|
Baron Schwartz
|
47fb3d65e8
|
Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage.
|
2012-06-09 14:43:33 -04:00 |
|
Baron Schwartz
|
f7c97e749e
|
Make TableParser.pm handle ANSI quotes
|
2012-06-07 00:59:59 -04:00 |
|
Baron Schwartz
|
aa42210f72
|
Fix a number of SQL queries to work with ANSI_QUOTES
|
2012-06-06 23:36:07 -04:00 |
|
Baron Schwartz
|
b9304dabb5
|
Fix a number of SQL queries to work with ANSI_QUOTES
|
2012-06-06 23:14:20 -04:00 |
|
Daniel Nichter
|
79c716d358
|
Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs.
|
2012-06-07 12:38:45 -04:00 |
|
Daniel Nichter
|
dac0731251
|
Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves().
|
2012-06-07 10:25:44 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
c2bb24befc
|
Merged lp:~percona-toolkit-dev/percona-toolkit/replace-MKDEBUG
|
2012-06-06 14:15:05 -03:00 |
|
Baron Schwartz
|
d2c63e1030
|
make t/lib/TableChunker.t non-non-deterministic
|
2012-06-06 12:16:25 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
e454e37532
|
Update the SchemaIterator samples to account for the sentinel table
|
2012-06-06 21:13:13 -03:00 |
|
Daniel Nichter
|
8d344b421b
|
Skip Daemon.t test that's not reliable, and wait until pid file is gone. Call wipe_clean() in pt-table-sync/bidirectional.t and pt-table-sync/issue_1065.t.
|
2012-06-06 09:07:43 -07:00 |
|
baron
|
dcf2268514
|
Change precision/scale/size for decimal type based on DBD::mysql version
|
2012-06-06 10:51:25 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
85e9996b55
|
t/lib/Daemon.t: Make the timing tests slightly more forgiving for slow machines
|
2012-06-06 11:40:03 -03:00 |
|
Daniel Nichter
|
a178bb32f8
|
Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable.
|
2012-06-06 13:31:24 -07:00 |
|
Daniel Nichter
|
0e4b01bad7
|
Make wipe_clean() wait until 12347 is clean. Fix ChangeHandler.t, CompareResults.t, and Quoter.t so they leave the dbs clean.
|
2012-06-05 19:55:03 -07:00 |
|
Daniel Nichter
|
4c57313785
|
Make ChangeHandler.t clean up its dbs on slave1 and slave2.
|
2012-06-05 19:02:15 -07:00 |
|
Daniel Nichter
|
e960fcb8bc
|
Make ChangeHandler.t clean up its dbs.
|
2012-06-05 19:00:25 -07:00 |
|
Daniel Nichter
|
2d7cc5e8a4
|
Check for leftover databases. Fix MasterSlave.t so it doesn't leave leftover dbs and it resets 12347.
|
2012-06-05 18:55:32 -07:00 |
|
Brian Fraser fraserb@gmail.com
|
345a21a82e
|
Replace the last instances of MKDEBUG
|
2012-06-05 12:28:36 -03:00 |
|
baron
|
4906b52d3b
|
Make sure t/pt-slave-delay/auto_restart.t doesn't break replication on 12347 after restarting 12346; silence some noise from t/lib/MasterSlave.t when it restarts instances (mysqld will print warnings about thread_stack on mysql5.0)
|
2012-06-05 10:58:59 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
c4a8a67204
|
t/lib/SchemaIterator.t: Update the samples and skip the percona_test db when applicable
|
2012-06-05 16:01:37 -03:00 |
|
Daniel Nichter
|
04d6a51074
|
Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc.
|
2012-06-05 11:51:33 -07:00 |
|
Brian Fraser fraserb@gmail.com
|
6ede613752
|
VersionParser: Allow laxer version numbers, introduce the other cmp methods.
|
2012-06-05 13:50:41 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
b2312e068f
|
SchemaIterator: Use different test files for 5.1 and 5.5
|
2012-06-04 23:24:50 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
22de87c4eb
|
t/lib/SchemaIterator.t: Ignore commas at the end of statements
|
2012-06-04 22:15:04 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
939e9a84b6
|
t/lib/SchemaIterator.t: Samples for 5.5 and more robust fix for the ordering issue.
|
2012-06-04 21:48:55 -03:00 |
|
Baron Schwartz
|
7840006654
|
average row size is more variable than we used to believe
|
2012-06-04 10:33:07 -04:00 |
|
Baron Schwartz
|
9166ffc424
|
fix for mysql5.5
|
2012-06-04 10:09:37 -04:00 |
|
Baron Schwartz
|
636da6e755
|
skip failing test on 5.5 because it's a zombie
|
2012-06-04 08:13:20 -04:00 |
|
Baron Schwartz
|
aec4ad69d3
|
fix test for MySQL 5.5's differences
|
2012-06-04 08:08:45 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
ccd1e58785
|
t/lib/SchemaIterator.t shouldn't assume that the order of the foreign key constraints is deterministic
|
2012-06-04 18:39:10 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
1a47970469
|
Roll back the SchemaIterator samples change.
Turns out that the order isn't exactly deterministic; There's
something weird going on here, so this commit revers the
previous fix.
|
2012-06-04 18:23:31 -03:00 |
|
Brian Fraser fraserb@gmail.com
|
865b3e4e9d
|
collect_system_info shouldn't assume that sysctl is available.
It isn't on CentOS 5.5. It didn't really assume that it
was always there, but rather than the produced samples file
would be.
|
2012-06-04 11:57:44 -03:00 |
|
Baron Schwartz
|
40017ec5bd
|
Skip utf8 tests when DBD::mysql less than 4.0
|
2012-06-04 00:23:55 -04:00 |
|
Baron Schwartz
|
eb1cc3da5e
|
fix nondeterministic wait_for_master test
|
2012-06-03 22:18:44 -04:00 |
|
Baron Schwartz
|
48f642551e
|
fix some problems that happen when there are many mysqld instances
|
2012-06-03 20:53:57 -04:00 |
|
Baron Schwartz
|
da86c409da
|
schema for mysql5.5
|
2012-06-03 20:53:52 -04:00 |
|
Daniel Nichter
|
e8d9781123
|
Merge changes.
|
2012-06-03 14:51:03 -07:00 |
|
Daniel Nichter
|
696a3b5e68
|
Fix mem/file size shortening in pt-summary and pt-mysql-summary.
|
2012-06-03 14:49:35 -07:00 |
|
Baron Schwartz
|
9569e0d317
|
Fix schema tests for mySQL 5.5 changes
|
2012-06-03 17:47:32 -04:00 |
|
Baron Schwartz
|
219ff6b49b
|
Fix the column size information for MySQL 5.5 changes
|
2012-06-03 17:30:24 -04:00 |
|
Baron Schwartz
|
6cc17a73c2
|
A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm
|
2012-06-03 17:20:12 -04:00 |
|
Brian Fraser fraserb@gmail.com
|
614befac1d
|
Update the ordering of SchemaIterator's samples.
|
2012-06-03 16:50:08 -03:00 |
|
Daniel Nichter
|
a64bf961e8
|
Fix test counts.
|
2012-06-03 15:14:30 -04:00 |
|
Daniel Nichter
|
a2810a0ec1
|
Remove duplicate calls to Sandbox::ok().
|
2012-06-03 14:38:21 -04:00 |
|