masking icon indicating copy to clipboard operation
masking copied to clipboard

fix mysqldump error

Open kibitan opened this issue 1 year ago • 3 comments

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

kibitan avatar Sep 24 '23 18:09 kibitan

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.

codecov[bot] avatar Sep 24 '23 18:09 codecov[bot]

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Nov 19 '23 07:11 sonarqubecloud[bot]

Code Climate has analyzed commit 211dd3d7 and detected 0 issues on this pull request.

View more on Code Climate.

codeclimate[bot] avatar Nov 19 '23 07:11 codeclimate[bot]