cvs: php-src /ext/pdo/tests pdo_018.phpt
| From: | Wez Furlong | Date: | Fri, 08 Jul 2005 15:20:19 +0000 |
| Subject: | cvs: php-src /ext/pdo/tests pdo_018.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32806@lists.php.net to get a copy of this message | ||
wez Fri Jul 8 11:20:19 2005 EDT
Modified files:
/php-src/ext/pdo/tests pdo_018.phpt
Log:
we declare the column as NOT NULL, so inserting NULL is not a good idea.
http://cvs.php.net/diff.php/php-src/ext/pdo/tests/pdo_018.phpt?r1=1.6&r2=1.7&ty=u
Index: php-src/ext/pdo/tests/pdo_018.phpt
diff -u php-src/ext/pdo/tests/pdo_018.phpt:1.6 php-src/ext/pdo/tests/pdo_018.phpt:1.7
--- php-src/ext/pdo/tests/pdo_018.phpt:1.6 Thu Jul 7 14:49:58 2005
+++ php-src/ext/pdo/tests/pdo_018.phpt Fri Jul 8 11:20:18 2005
@@ -122,7 +122,7 @@
}
else
{
- $val = NULL;
+ $val = '';
}
$stmt->execute();
}