Commit Graph

751 Commits

Author SHA1 Message Date
Carlos Salguero 8943e0a9f6 Merge branch '3.0' into mysql-8 2018-02-19 12:11:07 -03:00
Carlos Salguero cdec55dc84 PMM-1479 Switched to UUID for version check
In order to be able to count individual users for the usage stats, we
need to implement UUID instead of just using MD5(hostname) since most
servers are just 'localhost' or 'db1'.
Using UUID we would be able to count unique users.
2018-02-14 12:54:02 -03:00
Carlos Salguero 75ab0ba653 PT-1256 pt-table-sync does not use the character set for the table it is synchronizing 2018-02-09 16:46:16 -03:00
Carlos Salguero 51dcca5959 PT-572 Fixes for MySQL 8
- Updated sandbox data file
- Fixes for pt-upgrade since there is no query_cache in MySQL 8
- Updates for SchemaIterator since there are new/renamed tables in MySQL 8
- Disabled some tests due to errors in MySQL 8.0.4-rc
2018-02-01 11:30:12 -03:00
Carlos Salguero d38a584271 Fixes for DSN parser to use UTF8 2018-01-28 14:46:51 -03:00
Carlos Salguero f3132d3cee WIP 2018-01-25 00:01:56 -03:00
Carlos Salguero 045c656839 Fixes for MasterSlave.pm 2018-01-22 16:27:36 -03:00
Carlos Salguero 1d1c13fbcb WIP 2018-01-16 11:11:16 -03:00
Carlos Salguero 4b563ef714 WIP 2018-01-09 16:19:05 -03:00
Carlos Salguero 5c106b4fad Updated all tests for PS 5.7 2017-12-18 13:01:11 -03:00
Carlos Salguero bb3334de08 Updated tests for MySQL 5.7 2017-12-16 20:54:03 -03:00
Carlos Salguero 7af26c9e3d Merge branch '3.0' into PT-209 2017-11-27 13:39:23 -03:00
Carlos Salguero 6742025dd0 PT-209 Check adding FKs to a RocksDB table 2017-11-13 16:07:12 -03:00
Carlos Salguero af65e82ab7 MasterSlave check for errors on get_slave_status calls 2017-11-09 11:40:58 -03:00
Carlos Salguero 498bc54f47 Merge branch '3.0' into PT-139 2017-10-31 15:36:56 -03:00
Carlos Salguero b51d09d811 PT-202 pt-online-schema-change fails with virtual columns
Modified TableParser to ignore GENERATED columns from the columns list
used to construct SELECTs/INSERTs
2017-10-05 15:19:57 -03:00
Carlos Salguero 54dfcf36de PT-193 New test and updated libraries
Added a specific test for this issue and updated all binaries to the
latest TableParser version
2017-08-15 12:06:24 -03:00
Carlos Salguero c375fd068b PT-193 Fixed regex in TableParser
TableParser's parse function was failing while trying to lowercase
column names in the provided 'SHOW CREATE TABLE'.
The problem was it was trying to lowercase everything between backticks
but lines like these:

`field_name` int comment "here is a ` in the comment"
`second_field_name` int

made the original regex to fail, matching `in the coment"` as an
expression to be lowercased while second_file_name was considered as
outside backticks.
2017-08-14 21:01:30 -03:00
Carlos Salguero 0917acb1ff Fixed JSONFormater tests and dev env scripts 2017-07-12 13:01:57 -03:00
Carlos Salguero e46b411054 PT-162 Updated tests for PR #191 2017-06-19 11:49:58 -03:00
Carlos Salguero 3a62d1bdb4 PT-142 Fixed tests for MySQL 5.6 2017-05-23 16:38:06 -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 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 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 1d4507537b PT-115 Make DSNs params able to be repeatable 2017-03-30 10:10:54 -03:00
Carlos Salguero 9b80a029f2 PT-96 Updated Percona::Toolkit version 2017-03-10 17:54:45 -03:00
Carlos Salguero 2b76371a4f PT-96 Fixed LOCAL DATA INFILE commands and JSON format 2017-03-10 17:06:20 -03:00
Carlos Salguero 2ebf456ecd PT-96 Fixed VersionCheck tests 2017-03-10 09:57:10 -03:00
Carlos Salguero 5407573c74 PT-96 Fixed tests for SchemaIterator 2017-03-09 17:30:11 -03:00
Carlos Salguero 4408d5f6c2 PT-96 Fixed tests for Schema.pm
Forced sorting of some arrays to make them possible to test
2017-03-09 17:14:37 -03:00
Carlos Salguero 2ec4409f2f PT-96 Fixed tests for RowChecksum 2017-03-09 16:04:51 -03:00
Carlos Salguero 8c0d92facb PT-96 Skipped failing tests for ReplicaLagWaiter.t 2017-03-09 15:37:34 -03:00
Carlos Salguero 194e6f0c82 PT-96 Skippping failing tests in MySQLStatusWaiter.t 2017-03-09 14:49:58 -03:00
Carlos Salguero 12a031864e PT-96 Fixed OptionParser tests (race condition) 2017-03-09 14:06:35 -03:00
Carlos Salguero 0c5e273bb2 Fixes for schemaiterator.t 2017-01-24 10:41:49 -03:00
Carlos Salguero 90fa067834 Fixed json format test 2017-01-23 17:08:30 -03:00
Carlos Salguero 410e75a623 Updated tests for schema iterator 2017-01-16 23:42:11 -03:00
Carlos Salguero a96356c879 Fixed MySQLProtocol parser (v4.1 enhacements) 2016-12-16 22:38:15 -03:00
Carlos Salguero ca1f592652 Added schemas/tables to the default ignore list 2016-11-18 13:17:03 -03:00
Carlos Salguero c91350f2eb Added pause to NibbleIterator 2016-11-01 19:05:49 -03:00
Carlos Salguero 74eb8b72c0 Added test. Updated all modules 2016-10-27 13:39:51 -03:00
Carlos Salguero 2b5e82c27c Added --preserve-embedded-numbers. Still nedd to add tests 2016-08-23 12:59:54 -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 b018d09e4e bug-1593265 Updated tests for TableNibbler.t 2016-06-22 16:00:32 -03:00
Carlos Salguero 4534b731ad Fixed test in t/lib/MySQLProtocolParser.t 2016-06-15 17:16:00 -03:00