masking
masking copied to clipboard
fix mysqldump error
fix #88
after the investigation, somehow mysqldump
behavior looks changed. it output with many breaklines
INSERT INTO `users` (`id`, `string`, `email`, `integer`, `float`, `boolean`, `null`, `date`, `time`, `binary_or_blob`, `nullable_string`, `nullable_integer`) VALUES (1,'example@exa','[email protected]',1245,2.1,1,-321,NULL,NULL,'\\x92\0\0\0\0\0\0\0','abcde',NULL),
(2,'あいうえお','invalid@email',0,-23.4422,0,321,NULL,NULL,'\\x92\\x92\0\0\0',NULL,12),
(3,'+-l;a*&^%$','[email protected]',-1,21.2321,NULL,-231321,'2019-10-31','2019-10-31 16:27:21',NULL,'abc123',-123);
todo
- [ ] why it happens? make the regression test
question: is
--net-buffer-length
relates? https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#option_mysqldump_net-buffer-length - [ ] fix it
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
a2d5259
) 100.00% compared to head (211dd3d
) 100.00%.
Additional details and impacted files
@@ Coverage Diff @@
## main #92 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 409 409
=========================================
Hits 409 409
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Code Climate has analyzed commit 211dd3d7 and detected 0 issues on this pull request.
View more on Code Climate.