-
Notifications
You must be signed in to change notification settings - Fork 15
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
panic: interface conversion: sqlparser.Statement is nil, not *sqlparser.CreateTable #14
Comments
Would it be possible to share the contents from your mysqldump file that causes this to reproduce? Understand sharing a full dump file could definitely have some privacy concerns but if the specific line(s) where it's choking doesn't have any sensitive data I'd like to take a look. |
Closing due to inactivity. |
@mpchadwick I'm having the same problem. I've been able to isolate the error on a small subset of the mysqldump file that doesn't contain any sensitive data. could i share it with you as you previously said? |
@davidegiunchi - Yes you can definitely share it. I haven't worked on this project for a while, so no promises on the resolution, but if I have some time I'll try to take a look at the issue. |
Since is not private at all, i can share it here. with this small .sql file:
if you pipe it throught dbanon 0.7.1:
dbanon crash immediatly with this error:
it seems to me that the problem is originated by the CONSTRAINT line: if i remove it, dbanon doesn't crash |
Hello,
I am getting an error when I run dbanon. Do you know what this error could relate to? The dbanon.log file is empty.
I've tried running it on both a MySQL 5.6 and MariaDB 10.4 inside a docker container, same result for both.
The text was updated successfully, but these errors were encountered: