db bug with i386: sanity check
db bug with i386: sanity check
- Subject: db bug with i386: sanity check
- From: Stephane Sudre <email@hidden>
- Date: Tue, 21 Mar 2006 14:35:50 +0100
The more I look into this db thing, the more I believe there is a bug
in the db code.
So before filing a bug report, I may need a sanity check and hope
there's a doctor in the room.
---
Let's say you have a HASH db base created with the lorder to be 0 on a
PowerPC Mac OS X System. Inspection and update of the base works
perfectly OK on a lovely PowerPC Mac.
Let's say you inspect this base on an Intel Mac OS X System: it works
perfectly.
Let's say you replace an item in the base on an Intel Mac OS X System:
it corrupts the base.
Sanity check:
-------------
[ ] Do you need to byte swap the key data on a put operation?
a) Yes c) It depends on the lorder
b) No d) If you are using a fixed-size ASCII string for the key, no.
[ ] Do you need to byte swap the key length on a put operation?
a) Yes c) Toss a coin.
b) No d) It depends on the lorder.
[ ] Do you need to byte swap the data length on a put operation?
a) Yes c) It depends on the lorder
b) No d) What is a swap?
I tend to believe the answers are d / b / b.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden