wpahiker
10-31-2006, 09:23 AM
I am writing information to a DBM file (actually, filling in the hash at the time) when I got the following error:
sdbm store returned -1, errno 22, key "Beaver High Adventure Base" at basedb.cgi line 28, <BASES> chunk 2.
Any idea what this means? Lines 28 contains:
$BASES {$Base} = qq($Council\t$BLastUpdate\t$BAddr\t$BCity\t$BState\t$BZip\t$BPhone\t$BFax\t$BWebsite\t$BEmail\t$BDir \t$MQCity\t$MQState\t$MQZip\t$BDesc\t$BRestr\t$BProgram);
What I am lacking is: what is errno 22? What is chunk 2?
I thought at first that the key was too long, but just before adding this record to the hash I added another record with an even longer key.
Mike
sdbm store returned -1, errno 22, key "Beaver High Adventure Base" at basedb.cgi line 28, <BASES> chunk 2.
Any idea what this means? Lines 28 contains:
$BASES {$Base} = qq($Council\t$BLastUpdate\t$BAddr\t$BCity\t$BState\t$BZip\t$BPhone\t$BFax\t$BWebsite\t$BEmail\t$BDir \t$MQCity\t$MQState\t$MQZip\t$BDesc\t$BRestr\t$BProgram);
What I am lacking is: what is errno 22? What is chunk 2?
I thought at first that the key was too long, but just before adding this record to the hash I added another record with an even longer key.
Mike