]> granicus.if.org Git - php/commitdiff
we declare the column as NOT NULL, so inserting NULL is not a good idea.
authorWez Furlong <wez@php.net>
Fri, 8 Jul 2005 15:20:18 +0000 (15:20 +0000)
committerWez Furlong <wez@php.net>
Fri, 8 Jul 2005 15:20:18 +0000 (15:20 +0000)
ext/pdo/tests/pdo_018.phpt

index 1e2290c400f762c607a4797e4e06fcb3a84d2fb9..52338a4d834843cda22766761f7553cc7d05aabb 100644 (file)
@@ -122,7 +122,7 @@ foreach($objs as $idx => $obj)
        }
        else
        {
-               $val = NULL;
+               $val = '';
        }
        $stmt->execute();       
 }