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

removing ' #3

Open
bbarclay opened this issue May 26, 2021 · 1 comment
Open

removing ' #3

bbarclay opened this issue May 26, 2021 · 1 comment

Comments

@bbarclay
Copy link

No description provided.

@bbarclay
Copy link
Author

I can't figure out where this is happening, but when you remove 'werwe' the '' from a field, what is happening. We are optionally enclosed our columns with ' '
The reason is, that each export has quotes in it that are not escaped properly. thus with the escpaced values. It's leaving commas unescaped which breaks the import. Therefore in our dump we have ' and our import is optionally escaped by 'data's' Like so. If you get my drift. What is happening, is that your script is removing the ' '. Which then leaves our unescpaed commas open to break the script. The export mysqldump exported with optionally enclosed of ' data '. Which when removed breaks the sequence because it's being used to enclose the values. How can I modify the script to not remove single quots.

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