PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_QueryTool » Bug #5785

CHECK NOT NULL Columns

Details

Request #5785CHECK NOT NULL Columns
Submitted2005-10-26 03:55 UTC
Fromkiddwu at 163 dot com
Assignedquipo
StatusWont fix
PackageDB_QueryTool
PHP Version5.1.0
OSXP
Roadmaps(Not assigned)

Comments

[2005-10-26 03:55 UTC] kiddwu at 163 dot com

Description:
------------
may place in _checkColumns().

It's useful for INSERT/UPDATE NOT NULL columns.

[2005-10-27 02:48 UTC] kiddwu at 163 dot com

When INSERT/UPDATE NULL value to NOT NULL column, false returned.

So check it according to metadata[colname]['flags']. if it contains 'NOT NULL', remove $data[colname] OR use '' instead