Comments (3)
Hi,
Myanon tries to deduce if quotes are needed or not, depending on field type. Your example showed it took the wrong decision for blob types. I fixed it and I modified the "test1/lottypes" test to reflect this change.
However, I also added a manual option to control quoting, in order to support your workaround as well. You can see the new option on the "test1/the_blobs" test.
Everything should work now, can you try the latest code? I will then update the docs.
Regards,
Pierre
from myanon.
A workaround is to use hex value directly, e.g.
# ASCII value is "hello"
`blob1` = fixed '0x68656c6c6f'
since using an apostrophe '
is not required for this
from myanon.
Yes, that works fine, just needed to add unquoted
:) thank you!
from myanon.
Related Issues (15)
- Adding column names results in syntax error HOT 3
- Can't parse "set" HOT 1
- Fixed text truncated HOT 10
- Support for data-only dumps (--no-create-info) HOT 2
- Config errors HOT 8
- Randomise the seed HOT 3
- Does fixed even replace if null? HOT 5
- Official Docker image HOT 3
- Support for --insert-ignore HOT 3
- NULL values are not maintained for rows with both NULL and non-NULL values HOT 9
- Documentation HOT 1
- Feature request ability to use faker to generate more robust data HOT 4
- Generate fields with data from other fields HOT 19
- Using mysqldump with `--hex-blob` flag breaks myanon HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myanon.