From: Wez Furlong Date: Fri, 8 Jul 2005 15:20:18 +0000 (+0000) Subject: we declare the column as NOT NULL, so inserting NULL is not a good idea. X-Git-Tag: php-5.1.0b3~96 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e30a80733b79513e7897bcacc40ce53871500e4;p=php we declare the column as NOT NULL, so inserting NULL is not a good idea. --- diff --git a/ext/pdo/tests/pdo_018.phpt b/ext/pdo/tests/pdo_018.phpt index 1e2290c400..52338a4d83 100644 --- a/ext/pdo/tests/pdo_018.phpt +++ b/ext/pdo/tests/pdo_018.phpt @@ -122,7 +122,7 @@ foreach($objs as $idx => $obj) } else { - $val = NULL; + $val = ''; } $stmt->execute(); }