Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: BerkeleyDB values have limit?

by Anonymous Monk
on Dec 13, 2011 at 15:38 UTC ( [id://943369]=note: print w/replies, xml ) Need Help??


in reply to BerkeleyDB values have limit?

The code you have posted does not demonstrate (prove) that value is truncated

You need to prove it

Moify Re: re-tie the previous db to store/retrieve 500kb value, check the length, check for equality

Replies are listed 'Best First'.
Re^2: BerkeleyDB values have limit?
by elgato (Novice) on Dec 13, 2011 at 17:30 UTC
    I checked for equality, utf string with about 430kb, after retrieve was about 420kb, utf symbols were ok, but not null size.

      And where is your code which proves this?

      The documentation discusses a common pitfalls with nulls.

        I have made it work like i need to, with ->FETCH, ->STORE, ->DELETE methods. even with: print length($a); $h{test} = $a; print length($h{test}); showed 0 length even if i untie && tie later.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://943369]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-04-24 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found