Commit Graph

733 Commits

Author SHA1 Message Date
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 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
Frank Cizmich 5cc70d2b36 Merge pull request #95 from percona/bug-1402776
Bug-1402776
2016-06-13 16:15:57 -03:00
Carlos Salguero 78aa8c436e bug-1402776 Added test 2016-06-09 15:05:26 -03:00
Carlos Salguero 3313913fa7 BUG-1585412 Fixed Date parsing regex for MySQL 5.7
MySQL 5.7 general log dates are in RFC3339 format:
2006-01-02T15:04:05Z07:00
The previous version of the log parser was not able to parse
this format.
2016-06-08 17:11:36 -03:00
frank-cizmich 7b6eee3509 made compare_versions func into its own module. made tests 2016-02-24 17:17:40 -03:00
frank-cizmich a4bef9dd78 fix tests of duplicate key module and tool for consistency 2016-02-14 22:26:25 -03:00
frank-cizmich dcfed36ebb some error messages changed so changed tests 2016-02-11 19:57:50 -03:00
frank-cizmich 6433c99713 various 5.7 test and tool compatibility fixes 2015-12-24 09:49:17 -03:00
frank-cizmich 2134e3f1b4 Merge branch 'handle-literal-backticks-lp-1462904' into release-2.2.15 2015-09-08 15:45:39 -03:00
frank-cizmich eeeaa1a349 removed debug output 2015-08-24 20:31:27 -03:00
frank-cizmich b6fd7f6d10 fixed spurious KeySize test error 2015-08-24 19:49:05 -03:00
frank-cizmich c48248cb44 fixed OptionParser tests 2015-08-24 19:19:05 -03:00
frank-cizmich b408fcfd01 misc test and sandbox fixes 2015-08-03 17:26:51 -03:00
Daniel Nichter 32dba7e7f2 Test and fix parsing literal backticks in TableParser:parse() (lp 1462904). 2015-06-25 13:20:00 -07:00
frank-cizmich f033330b33 fixed VersionCheck testing for git 2015-06-03 17:28:40 -03:00
Frank Cizmich f52271e999 tweaked checksum test to work in differing timezones 2015-01-21 14:25:09 -02:00
Frank Cizmich c0b230668f fixed NibbleIterator test 2015-01-20 15:28:56 -02:00
Frank Cizmich 5237185732 merged ptc-errors-on-slave-with-different-time-zone-1388870 2015-01-20 13:57:28 -02:00
Frank Cizmich 18f85786ba added test. removed space 2015-01-14 14:36:44 -02:00