Re: DataObject tweak ok with DB and MDB2

From: Date: Thu, 07 Apr 2005 08:40:25 +0000
Subject: Re: DataObject tweak ok with DB and MDB2
References: 1 2 3 4 5 6 7 8  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18609@lists.php.net to get a copy of this message
Dan Rossi wrote:
On 07/04/2005, at 6:23 PM, Lukas Smith wrote:
also note that DB converts NULL to EMPTY where MDB2 converts EMPTY to NULL with the same portability mode constant.
What does that mean ? Do you have a portability mode constant ?
DB_PORTABILITY_NULL_TO_EMPTY = MDB2_PORTABILITY_EMPTY_TO_NULL = 32 meaning that if you set the given portability mode (or all) DB and MDB2 will behave differently with empty/null values. also note that MDB2 converts EMPTY strings on insert as well. regards, Lukas

« previous php.pear.general (#18609) next »