Test: /ext/pgsql/tests/bug47199.phpt - Version 5.6.26RC1        

Bug #47199 pg_delete fails on NULL
Submitted: 2009-01-23 11:46:35 Modified: 2010-12-09 19:08:06
From: andrew Assigned: felipe
Status: Closed Package: PostgreSQL related
PHP Version: 5.3.5 OS: Linux (Fedora)

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+
001- array(2) {
002- [0]=>
003- array(2) {
004- ["null_field"]=>
005- NULL
006- ["not_null_field"]=>
007- string(1) "1"
008- }
009- [1]=>
010- array(2) {
011- ["null_field"]=>
012- NULL
013- ["not_null_field"]=>
014- string(1) "2"
015- }
016- }
017- DELETE FROM "test_47199" WHERE "null_field" IS NULL AND "not_null_field"=2;
018- UPDATE "test_47199" SET "null_field"=NULL,"not_null_field"=0 WHERE "not_null_field"=1 AND "null_field" IS NULL;
019- array(1) {
020- [0]=>
021- array(2) {
022- ["null_field"]=>
023- NULL
024- ["not_null_field"]=>
025- string(1) "0"
026- }
027- }
028-
029- Done