Commit Graph

3379 Commits

Author SHA1 Message Date
Carlos Salguero
65c75cf7bd Fixed test for gtid.t 2016-08-02 11:59:39 -03:00
Carlos Salguero
c77b39daf6 Merge pull request #121 from sodabrew/patch-1
Handle GTID ranges where the left-side integer is larger than 9
2016-08-02 11:57:20 -03:00
Carlos Salguero
6859daf8e4 Merge pull request #123 from sodabrew/patch-3
Remove extra word 'default' from the --verbose help, it was confusing the option parser
2016-08-02 10:52:13 -03:00
Aaron Stone
10f7d32ea9 Remove extra word 'default' from the --verbose help, it was confusing the option parser 2016-08-01 14:49:46 -07:00
Aaron Stone
fb2957374b Handle GTID ranges where the left-side integer is larger than 9 2016-08-01 14:13:24 -07:00
Carlos Salguero
aa227353b2 Merge pull request #118 from percona/1581752-slow-log
BUG-1581752-slow_log
2016-07-20 16:03:17 -03:00
Carlos Salguero
0febed9dbc Merge pull request #90 from ihanick/2.2-lp1581752
fix lp:1581752 5.7 compatibility for pt-query-digest, slow log time format
@ihanick Thanks for your fix.
I've added a test case and also I've modified all other scripts using SlowLogParser.
You can check the new PR https://github.com/percona/percona-toolkit/pull/118
2016-07-20 16:02:39 -03:00
Carlos Salguero
9eb95cb4da Tests added for SlowLogParser
SlowLogParser now is able to handle MySQL dates in RFC3339 format.
A new test for this case was added and all scripts using SlowLogParser
in bin/ have been updated.
2016-07-20 15:53:59 -03:00
Carlos Salguero
94bb5ad2c5 Merge branch '2.2-lp1581752' of https://github.com/ihanick/percona-toolkit into 1581752-slow-log 2016-07-20 14:32:12 -03:00
Carlos Salguero
2b9a793eba Merge pull request #115 from percona/tests-4-enum
Tests for 'quote enum fields'. PR #102
```
prove -v t/pt-table-sync/enum_fields.t
t/pt-table-sync/enum_fields.t ..
1..2
ok 1 - Quote Enum fields
ok 2 - Sandbox servers
ok
All tests successful.
Files=1, Tests=2,  1 wallclock secs ( 0.01 usr  0.00 sys +  0.27 cusr  0.06 csys =  0.34 CPU)
Result: PASS
```
2016-07-12 18:21:41 -03:00
Carlos Salguero
e5262d6dfe Updates test. Removed extra CR 2016-07-12 18:18:40 -03:00
Carlos Salguero
57c3e55891 Merge branch '2.2' into tests-4-enum 2016-07-12 18:15:25 -03:00
Carlos Salguero
c9e506da47 Merge pull request #102 from dankinon/2.2
add enum column type to is_char check so that values are properly quoted
2016-07-12 17:49:28 -03:00
Carlos Salguero
e5cfbab197 Tests for 'quote enum fields'. PR #102 2016-07-12 17:45:07 -03:00
Carlos Salguero
051ee74f24 Merge pull request #114 from percona/jynus-2.2
Issue 1485195 pt-table-checksum should force replica table charset to utf8 Edit
2016-07-12 14:20:38 -03:00
Carlos Salguero
93cafd992a Merge branch '2.2' into jynus-2.2 2016-07-12 13:49:15 -03:00
Carlos Salguero
3bcfb59a8d Merge branch 'apply-slave-user' into 2.2 2016-07-12 13:44:57 -03:00
Carlos Salguero
2316c0e95d Merge pull request #48 from jynus/2.2
Changing default character set of the checksums table to utf8
2016-07-12 13:24:39 -03:00
Carlos Salguero
572c8c1f19 Added --slave-user & --slave pass to all scripts
The fix has been applied to all files using MasterSlave pkg

 Changes to be committed:
	modified:   bin/pt-archiver
	modified:   bin/pt-heartbeat
	modified:   bin/pt-kill
	modified:   bin/pt-query-digest
	modified:   bin/pt-slave-find
	modified:   bin/pt-slave-restart
	modified:   bin/pt-table-checksum
2016-07-12 12:59:12 -03:00
Carlos Salguero
df1e9585ef Tests for bug 1485195 (utf8 encoding) 2016-07-12 12:25:16 -03:00
Daniel Kinon
0053d01aed Adding enum fix to ChangeHandler.pm 2016-07-11 10:34:33 -07:00
Carlos Salguero
2976215040 Merge branch '2.2' of https://github.com/jynus/percona-toolkit into jynus-2.2 2016-07-11 09:38:42 -03:00
Carlos Salguero
fe586a84c4 Merge pull request #111 from percona/BUG-1595678-pt-table-sync-tests
Added tests for BUG-1595678 / pt-table-sync
2016-07-07 15:35:18 -03:00
Carlos Salguero
350a4fd641 Added tests for BUG-1595678 / pt-table-sync 2016-07-07 15:33:38 -03:00
Carlos Salguero
b3af1b6d91 Merge pull request #110 from percona/BUG-1517155
BUG-1517155 Added --create-table-engine param to pt-heartbeat
2016-07-07 13:00:29 -03:00
Carlos Salguero
5c42d84c95 BUG-1517155 Added --create-table-engine param to pt-heartbeat 2016-07-07 12:57:04 -03:00
Carlos Salguero
642ac72d6a Merge pull request #109 from percona/BUG-1595678
Bug-1595678 Added --slave-user and --slave-password cli params to pt-osc
2016-07-07 10:15:55 -03:00
Carlos Salguero
26cf65015c BUG-1595678 Updated MasterSlave lib into binaries
Also updated a 'SHOW PROCESSLIST' to 'SHOW FULL PROCESSLIST' because
pt-kill needs more than 100 chars in the info field.
2016-07-06 20:41:42 -03:00
Carlos Salguero
2c1db036b5 BUG-1595678 Added --slave-user, --slave-password params 2016-07-06 19:04:21 -03:00
Carlos Salguero
c0aa88eb4f Merge pull request #108 from percona/bug-1592166
Bug-1592166 pt-kill leaks memory each time it kills a query
2016-07-05 17:16:22 -03:00
Carlos Salguero
417b24299c Merge pull request #107 from percona/bug-984057
Bug-984057 Added tests for --preserve-triggers feature
2016-07-05 17:06:09 -03:00
Carlos Salguero
6249737400 Merge branch '2.2' into bug-984057 2016-07-05 17:03:26 -03:00
Carlos Salguero
0b62ba26af Merge pull request #92 from ManjotS/2.2
Added --preserve-triggers to pt-osc
2016-07-05 17:02:45 -03:00
Carlos Salguero
f8c91c2c3b bug-984057 Tests for --preserve-triggers 2016-07-05 16:27:25 -03:00
Carlos Salguero
e983eff3d3 Merge pull request #103 from percona/bug-1593265
Bug-1593265 Fixed pt-archiver deletes wrong rows
2016-07-05 13:05:44 -03:00
Carlos Salguero
f602f0456d Merge pull request #106 from percona/bug-1592608
Bug-1592608 Large BLOB/TEXT/BINARY Produces NULL Checksum
2016-07-05 12:56:19 -03:00
Carlos Salguero
c9ed7aeb94 Merge branch '2.2' of https://github.com/ManjotS/percona-toolkit into bug-984057 2016-06-29 17:00:22 -03:00
Carlos Salguero
a9ec512036 bug-1592166 Updated change log 2016-06-29 12:28:32 -03:00
Carlos Salguero
1c047e763b bug-1592166 Fixed memory leak in pt-kill 2016-06-29 12:26:06 -03:00
Manjot Singh
a564cc7bc8 Added changes suggested by mbenshoof, michaeldg
- Fixed issue with dry run and preserve triggers
- Fixed issue with trim multiline
- Changed DSNParser in lib
2016-06-28 12:33:44 -07:00
Carlos Salguero
38979b2096 Removed unused 'use Data::Dumper' 2016-06-27 16:38:17 -03:00
Carlos Salguero
b8d849e9bd Fixed tests for pt-table-checksum/chunk_index.t 2016-06-27 16:00:15 -03:00
Carlos Salguero
d042a4dd6a updated tests 2016-06-27 15:22:31 -03:00
EvgeniyPatlan
3dfffccffd Merge pull request #105 from percona/release-2.2.18
Release 2.2.18
2016-06-24 16:06:37 +03:00
Evgeniy Patlan
a8d045beb6 Build percona-toolkit-2.2.18 2.2.18 2016-06-24 11:04:56 +03:00
EvgeniyPatlan
a7304d0709 Merge pull request #104 from EvgeniyPatlan/release-2.2.18
Changelog for 2.2.18
2016-06-24 10:40:09 +03:00
Evgeniy Patlan
ff3907eec0 Changelog for 2.2.18 2016-06-24 10:34:36 +03:00
Carlos Salguero
c7e7ba7331 bug-1592608 BLOB/TEXT/BINARY Checksum uses CRC32 2016-06-23 17:14:25 -03:00
Carlos Salguero
b018d09e4e bug-1593265 Updated tests for TableNibbler.t 2016-06-22 16:00:32 -03:00
Carlos Salguero
01daf0030e bug-1593265 Fixed pt-archiver deletes wrong rows
In the case we are trying to migrate a table with no PK nor an unique
key, pt-archiver was failing to select the correct rows for deletion.
This fix implemented here is to add ALL columns in the WHERE clause of
the DELETE command. This way, we are deleting only the exact same row we
just migrated but using columns instead of an index.
2016-06-22 13:17:57 -03:00