is_null is mentioned in various files and modules. !isset is well known to be faster than is_null and should be usedd with variables. This patch replaces all the occurrences of is_null in the database system.

Comments

munzirtaha’s picture

Oops! I missed one 'is_null' in the database layer.

Crell’s picture

Status: Needs review » Reviewed & tested by the community

The PHP.net documentation says this works, plus isset() is ever so slightly more robust against undefined values. Thanks!

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

munzirtaha’s picture

Assigned: Unassigned » munzirtaha

Status: Fixed » Closed (fixed)
Issue tags: -Performance

Automatically closed -- issue fixed for 2 weeks with no activity.