Comments (10)
Looks good, thank you!
from myanon.
we have a rule
``key= fixed '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF'
64 chars, going into a varchar(64) column, but the last character is being truncated, which then effects all our other data. If we try and extend this, we get an error as > 64 characters. Really love a fix :) or push of new code if you have any
That should be simple, stay tuned! (I need a few days to find time)
from myanon.
Would be a life saver - ok maybe a tad OTT, but would really help me out of a pickle
from myanon.
This should be fixed now, can you pull and try again? Thanks!
from myanon.
Ok, that works.... however we have some other fixed data types (going into varchars) which are longer than 64 :) So we use a key per user to encrypt other data, so things like an address become quite long. Is there any reason this couldn't just be 1026 (for 1024) max? Is there a memory constraint? I'm not up to speed with c, so not sure how this runs internally etc.
from myanon.
Thanks for the feedback. There is no memory constraint, limits are arbitrary. Maybe you could upload a scenario (dump, config, and the result you would like) to see what I can fix? I am not sure to understand your issue (you can control each field length in the config file). I would be happy to help you!
from myanon.
tables = {
`banks` = {
`address` = fixed '53b5d7742e226ac82b347f885730f86135dd42622ad158855af509c6ffaed6d6c2ba76a4d1749da23f618f86ba921220'
}
}
and that's a short one
from myanon.
tables = { `banks` = { `address` = fixed '53b5d7742e226ac82b347f885730f86135dd42622ad158855af509c6ffaed6d6c2ba76a4d1749da23f618f86ba921220' } }
and that's a short one
Which limit do you need? 1024 (unquoted) is enough?
from myanon.
I would imaging 1024 should be enough, but as the string is encrypted you can see that 64 chars isn't enough in this case :)
from myanon.
I just added support for 1024 chars, can you pull and try again? Thanks ! (if you need more, no problem)
from myanon.
Related Issues (15)
- Adding column names results in syntax error HOT 3
- Can't parse "set" HOT 1
- 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
- Blob values are not quoted HOT 3
- 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.