-
Notifications
You must be signed in to change notification settings - Fork 160
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
SQL import syntax error #112
Comments
Loks like th issue is in Extensions.cs line 137-138
I'll try to sort it out. |
Having this issue as well exporting 1.12.1 DBC to SQL file.
The actual SQL syntax looks like this: Something is wrong about this string conversion that you found but what problem is it trying to solve in the first place? Does it have to do with MariaDB/DBC versions? |
I've submitted a patch, the problem that it's trying to solve is to escape the \ character but it does it after escaping the " character. |
INSERT INTO
db_Item-sparse_15595
VALUES (75114,1,16,8192,1.0388,1,1,0,0,0,-1,-1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1,-1,0,0,0,0,0,-1,-1,-1,-1,-1,4,"Deprecated Malakai\'s Medallion","","","","Upon this iron disk are stamped the words: \"Footman Malakai Stone\"",0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);Double '\' in front of ' " ' make syntax error with MySQL 8.0.27, it works with single \
The text was updated successfully, but these errors were encountered: