Commit Graph

1921 Commits

Author SHA1 Message Date
Carlos Salguero
80fa0283b2 PT-91 Fixes with locks and --no-swap-table
* Merged code that implements TABLE LOCKs during tiggers creation
  PR #241 https://github.com/percona/percona-toolkit/pull/241/
* Code refactored for --preserve triggers with --no-swap-tables and
  drop-new-table
* Added new test for --preserve triggers with --no-swap-tables and
  drop-new-table
2017-07-13 15:59:57 -03:00
Carlos Salguero
0917acb1ff Fixed JSONFormater tests and dev env scripts 2017-07-12 13:01:57 -03:00
Carlos Salguero
73396a509b PT-91 More tests added 2017-07-06 01:59:31 -03:00
Carlos Salguero
7772630bf5 PT-91 WIP 2017-07-05 11:19:04 -03:00
Carlos Salguero
2ccf81ef8a PT-91 Added some tests for --preserve-triggers 2017-07-04 19:48:21 -03:00
Carlos Salguero
6f12882b91 PT-91 Added --preserve-triggers feature for MySQL 5.7+ 2017-07-04 14:23:32 -03:00
Carlos Salguero
0bee6e50bc Merge pull request #190 from guriandoro/pt-stalk-collect-prepared-statements-LP1642750
pt stalk collect prepared statements lp1642750 (PT-90)
2017-07-02 23:32:22 -03:00
Carlos Salguero
ee37f8b88a PT-153 Fixed regex, updated tests, merged Kenny's fixes 2017-06-28 11:29:50 -03:00
Carlos Salguero
3d0deabbdf PT-153 Added --[no]fail-on-unique-key-change param 2017-06-27 13:53:08 -03:00
Carlos Salguero
ae0dc0bba3 Revert "Merge pull request #206 from percona/PT-116"
This reverts commit c80955d5c0, reversing
changes made to 40d2fe969a.
2017-06-19 19:16:01 -03:00
Carlos Salguero
e46b411054 PT-162 Updated tests for PR #191 2017-06-19 11:49:58 -03:00
guriandoro
b775701551 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750
Conflicts:
	bin/pt-stalk
	lib/bash/collect.sh
2017-06-10 11:45:33 -04:00
Carlos Salguero
bd6e381494 PT-136 pt-table-checksum shows diffs when table has columns with different collation/charset 2017-05-25 17:59:25 -03:00
Carlos Salguero
a86acce966 Merge branch '3.0' into PT-144 2017-05-24 11:37:46 -03:00
Carlos Salguero
163a7b095f Merge branch '3.0' into PT-143 2017-05-23 16:59:30 -03:00
Carlos Salguero
3a62d1bdb4 PT-142 Fixed tests for MySQL 5.6 2017-05-23 16:38:06 -03:00
Carlos Salguero
e8d8b39fc3 Merge branch '3.0' into PT-142 2017-05-23 15:19:33 -03:00
Carlos Salguero
8f309c64cf Merge branch '3.0' into PT-141 2017-05-23 14:21:03 -03:00
Carlos Salguero
38702783a4 PT-144 Fixed Constraint name is too long 2017-05-23 12:33:55 -03:00
Carlos Salguero
8ca82d085e PT-139 Detect only 1 slave using rep channels
If there is only one slave but it is using replication channels but
--channel was not specified as a parameter, get_slave_status will
return null.
2017-05-22 15:48:32 -03:00
Carlos Salguero
fc4b3a73ee Merge branch '3.0' into PT-139 2017-05-22 14:13:42 -03:00
Carlos Salguero
a4ecd9678f PT-143 Fixed key handling
When tehre is a table having a key like:
PRIMARY KEY (`id`,`start`,`end`,`user_id`(13),`interval`),
DBI driver is taking (13) as part of the field name.
Fixed the way pt-archiver composes the key using DBI cols field
instead of the colnames field since the cols field has the correct
field names for the key.
2017-05-18 12:03:02 -03:00
Carlos Salguero
109af35a49 PT-126 Recognize comments having quotes 2017-05-16 13:53:49 -03:00
Carlos Salguero
81f4ff4752 PT-142 pt-online-schema-change find_child_tables slow 2017-05-15 22:01:22 -03:00
Carlos Salguero
e305c40f52 PT-141 added --output-format to pt-archiver 2017-05-15 13:51:58 -03:00
Carlos Salguero
820448fca3 PT-139 wait_for_master returns error if no channel was specified in a multi master env 2017-05-12 15:44:57 -03:00
Carlos Salguero
5744fdf583 PT-139 Added replication channels suport to pt-table-sync 2017-05-12 11:55:52 -03:00
Carlos Salguero
7dcef2671c PT-139 Added --channels option to MasterSlave 2017-05-11 18:06:49 -03:00
Carlos Salguero
e32488d592 PT-132 pt-online-schema-change should imply --no-drop-new-table when --no-swap-tables and --no-drop-triggers used 2017-05-05 12:55:23 -03:00
Carlos Salguero
f6d2e89027 Fixed all tests for MySQL 5.7
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero
e6e54839bf More tests for 5.7 fixed 2017-04-28 17:15:53 -03:00
Carlos Salguero
fcd1cb173f More 5.7 tests fixed 2017-04-27 16:44:46 -03:00
Carlos Salguero
a6c55737f5 Updated tests & 5.7 sandbox files 2017-04-27 12:06:43 -03:00
Carlos Salguero
92ac5987e1 Fixed some tests for MySQL 5.7 2017-04-25 16:50:54 -03:00
Carlos Salguero
4ff7e58898 PT-130 Fixed pt-mext not working with not empty Rsa_public_key 2017-04-21 15:29:25 -03:00
Carlos Salguero
4224fc7abf PT-116 Added --[no]use-insert-ignore 2017-04-20 15:31:33 -03:00
Carlos Salguero
34d0ca7184 PT-126 Recognize comments in ALTER 2017-04-13 17:10:01 -03:00
Carlos Salguero
a7ffe2e032 Fixed tests for pt-stalk 2017-04-13 11:41:08 -03:00
Carlos Salguero
d4ceab4afd Merge branch '3.0' into PT-87 2017-04-12 17:09:27 -03:00
Carlos Salguero
3568cad229 PT-87 Added --skip-check-slave-lag to pt-table-checksum 2017-04-12 17:07:06 -03:00
Carlos Salguero
2fe4afc9cf added --skip-check-slave-lag 2017-04-12 12:34:39 -03:00
Carlos Salguero
e234a6e99d PT-86 Added --skip-check-slave-lag to pt-osc 2017-03-30 14:23:09 -03:00
Carlos Salguero
1d4507537b PT-115 Make DSNs params able to be repeatable 2017-03-30 10:10:54 -03:00
Carlos Salguero
be971eeee5 PT-80 Collect replication slave information 2017-03-27 17:30:06 -03:00
Carlos Salguero
4ee41508e3 Merge branch 'fix-json-tests' into 3.0 2017-03-22 19:25:36 -03:00
guriandoro
32745039b5 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750 2017-03-22 16:19:19 -04:00
Carlos Salguero
6f5585c493 Fixed pt-stalk mysql version comparisson 2017-03-22 16:57:53 -03:00
guriandoro
bbe373cd22 PT-90 Fixed function name and typos in test result string 2017-03-22 11:51:36 -04:00
guriandoro
6a960b6bfb PT-90 Adding file needed for tests 2017-03-22 11:37:41 -04:00
guriandoro
00cb8d6874 PT-90 Adding test for new changes 2017-03-22 11:37:09 -04:00