Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: BerkeleyDB values have limit?

by Anonymous Monk
on Dec 13, 2011 at 15:38 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2021-01-19 02:30 GMT
Find Nodes?
    Voting Booth?