Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Flithor opened this issue Mar 1, 2021 · 0 comments

Comments

@Flithor
Copy link

Flithor commented Mar 1, 2021

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 Flithor changed the title Hmm... well... I don't recommend anyone to use this library... Hmm... well... I don't recommend anyone to use this library in work scene... Mar 1, 2021
@Flithor Flithor changed the title Hmm... well... I don't recommend anyone to use this library in work scene... Hmm... well... I don't recommend anyone to use this library in work scene... at last in present Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant