MySqlBackup.Net icon indicating copy to clipboard operation
MySqlBackup.Net copied to clipboard

Hmm... well... I don't recommend anyone to use this library in work scene... at last in present

Open Flithor opened this issue 4 years ago • 0 comments
trafficstars

Too much bug and very unstable. I review the code and found it will try to analyze the sql string and try to do something else. But analyze code is very rough. It's not consider multiline string, comment, begin-end block, etc. if in backup sql file contains any line looks like this:

SET @queryString = 'SELECT * FROM `table` -- WHERE `id`>9;

If any line is ends with ";". This library will try to excute this incomplete sql statement!

Flithor avatar Mar 01 '21 09:03 Flithor