summaryrefslogtreecommitdiff
path: root/ext/pdo/tests
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-08 15:20:18 +0000
committerWez Furlong <wez@php.net>2005-07-08 15:20:18 +0000
commit8e30a80733b79513e7897bcacc40ce53871500e4 (patch)
treed11d47b2b50f6a84dd3b9f8ff8bcfdb4ca5b0b27 /ext/pdo/tests
parenteb7dc34bfb46ae4077c924e26d40e15a193767df (diff)
downloadphp-git-8e30a80733b79513e7897bcacc40ce53871500e4.tar.gz
we declare the column as NOT NULL, so inserting NULL is not a good idea.
Diffstat (limited to 'ext/pdo/tests')
-rw-r--r--ext/pdo/tests/pdo_018.phpt2
1 files changed, 1 insertions, 1 deletions
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();
}