protected $mLBInfo = array();
protected $mCascadingDeletes = false;
protected $mCleanupTriggers = false;
+ protected $mStrictIPs = false;
#------------------------------------------------------------------------------
# Accessors
return $this->mCleanupTriggers;
}
+ /**
+ * Returns true if this database is strict about what can be put into an IP field.
+ * Specifically, it uses a NULL value instead of an empty string.
+ */
+ function strictIPs() {
+ return $this->mStrictIPs;
+ }
+
/**#@+
* Get function
*/
$this->mFailFunction = $failFunction;
$this->mCascadingDeletes = true;
$this->mCleanupTriggers = true;
+ $this->mStrictIPs = true;
$this->mFlags = $flags;
$this->open( $server, $user, $password, $dbName);